Opened 10 years ago

Closed 10 years ago

#22361 closed Uncategorized (fixed)

ImportError: No module named suit

Reported by: radsepvj@… Owned by: nobody
Component: Uncategorized Version: 1.6
Severity: Normal Keywords: suit, django, python, importerror
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

pip freeze
Django==1.6.2
dj-database-url==0.3.0
dj-static==0.0.5
django-countries==2.0
django-suit==0.2.7
django-toolbelt==0.0.1

Any suggestions? I followed this link http://django-suit.readthedocs.org/en/develop/

I have added this code in settings.py after I install pip install django-suit and ./manage.py collectstatic.
from django.conf.global_settings import TEMPLATE_CONTEXT_PROCESSORS as TCP
TEMPLATE_CONTEXT_PROCESSORS = TCP + ( 'django.core.context_processors.request', )
I have added 'suit' in installed_apps as well.
Application definition
INSTALLED_APPS = ( 'suit',)
error heroku run ./manage.py syncdb Running ./manage.py syncdb attached to terminal... up, run.8285 Traceback (most recent call last): File "./manage.py", line 10, in execute_from_command_line(sys.argv) File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/init.py", line 399, in execute_from_command_line utility.execute() File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/init.py", line 392, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv self.execute(*args, options.dict) File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/base.py", line 280, in execute translation.activate('en-us') File "/app/.heroku/python/lib/python2.7/site-packages/django/utils/translation/init.py", line 130, in activate return trans.activate(language) File "/app/.heroku/python/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 188, in activate active.value = translation(language) File "/app/.heroku/python/lib/python2.7/site-packages/django/utils/translation/transreal.py", line 177, in translation default_translation = _fetch(settings.LANGUAGECODE) File "/app/.heroku/python/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 159, in fetch app = import_module(appname) File "/app/.heroku/python/lib/python2.7/site-packages/django/utils/importlib.py", line 40, in importmodule import(name) ImportError: No module named suit

Change History (2)

comment:1 by anonymous, 10 years ago

comment:2 by radsepvj@…, 10 years ago

Resolution: fixed
Status: newclosed

It is fixed. I add django-suit==0.2.7 in requirements.txt.

Note: See TracTickets for help on using tickets.
Back to Top