Opened 3 years ago

Closed 3 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


pip freeze

Any suggestions? I followed this link

I have added this code in after I install pip install django-suit and ./ 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 ./ syncdb Running ./ syncdb attached to terminal... up, run.8285 Traceback (most recent call last): File "./", line 10, in execute_from_command_line(sys.argv) File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/", line 399, in execute_from_command_line utility.execute() File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/", 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/", line 242, in run_from_argv self.execute(*args, options.dict) File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/", line 280, in execute translation.activate('en-us') File "/app/.heroku/python/lib/python2.7/site-packages/django/utils/translation/", line 130, in activate return trans.activate(language) File "/app/.heroku/python/lib/python2.7/site-packages/django/utils/translation/", line 188, in activate active.value = translation(language) File "/app/.heroku/python/lib/python2.7/site-packages/django/utils/translation/", line 177, in translation default_translation = _fetch(settings.LANGUAGECODE) File "/app/.heroku/python/lib/python2.7/site-packages/django/utils/translation/", line 159, in fetch app = import_module(appname) File "/app/.heroku/python/lib/python2.7/site-packages/django/utils/", line 40, in importmodule import(name) ImportError: No module named suit

Change History (2)

comment:1 Changed 3 years ago by anonymous

comment:2 Changed 3 years ago by radsepvj@…

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