Wanted to test setting up spirit in a fresh django app to mess around with it to see if it would work in an existing project.
root@boot2docker:~/testforum# ./manage.py migrate
Traceback (most recent call last):
File "./manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 377, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 288, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 337, in execute
self.check()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 371, in check
all_issues = checks.run_checks(app_configs=app_configs, tags=tags)
File "/usr/local/lib/python2.7/dist-packages/django/core/checks/registry.py", line 59, in run_checks
new_errors = check(app_configs=app_configs)
File "/usr/local/lib/python2.7/dist-packages/django/contrib/auth/checks.py", line 12, in check_user_model
cls = apps.get_model(settings.AUTH_USER_MODEL)
File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 202, in get_model
return self.get_app_config(app_label).get_model(model_name.lower())
File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 150, in get_app_config
raise LookupError("No installed app with label '%s'." % app_label)
LookupError: No installed app with label 'spirit'.
#django-admin startproject testforum
#pip install django-spirit
- Added url(r'^', include('spirit.urls')), to urls.py
- Added from spirit.settings import * to the top of settings.py file
#./manage.py migrate
Django==1.7
Pillow==2.6.2
Whoosh==2.5.7
argparse==1.2.1
chardet==2.0.1
colorama==0.2.5
django-debug-toolbar==1.3.0
django-djconfig==0.3.2
django-haystack==2.3.1
django-infinite-scroll-pagination==0.1.3
django-spirit==0.2.1
html5lib==0.999
mistune==0.3.1
pytz==2015.2
requests==2.2.1
six==1.5.2
sqlparse==0.1.15
urllib3==1.7.1
wheel==0.24.0
wsgiref==0.1.2
I can clone the repository and get the example to work, so I am unsure as to why it wont work in a fresh app. The only documentation I could find was the readme, so I would appreciate some help (or point me to any other documentation if it exist)