Also happens with other modules (the memory one i believe).
line-profiler is installed correctly via pip, any thoughts?
stacktrace:
HackBook-Air:readrboard tbrock$ ./manage.py runserver 8080
Traceback (most recent call last):
File "./manage.py", line 11, in
execute_manager(settings)
File "/Library/Python/2.6/site-packages/django/core/management/init.py", line 438, in execute_manager
utility.execute()
File "/Library/Python/2.6/site-packages/django/core/management/init.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/Library/Python/2.6/site-packages/django/core/management/init.py", line 261, in fetch_command
klass = load_command_class(app_name, subcommand)
File "/Library/Python/2.6/site-packages/django/core/management/init.py", line 67, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/Library/Python/2.6/site-packages/django/utils/importlib.py", line 35, in import_module
import(name)
File "/Library/Python/2.6/site-packages/devserver/management/commands/runserver.py", line 12, in
from devserver.handlers import DevServerHandler
File "/Library/Python/2.6/site-packages/devserver/handlers.py", line 4, in
from devserver.middleware import DevServerMiddleware
File "/Library/Python/2.6/site-packages/devserver/middleware.py", line 1, in
from devserver.models import MODULES
File "/Library/Python/2.6/site-packages/devserver/models.py", line 37, in
load_modules()
File "/Library/Python/2.6/site-packages/devserver/models.py", line 31, in load_modules
instance = cls(GenericLogger(cls))
File "/Library/Python/2.6/site-packages/devserver/modules/profile.py", line 82, in new
warnings.warn('LineProfilerModule requires line_profiler to be installed.')
NameError: global name 'warnings' is not defined