4π
I just remove the whole server and installed everything again, that solved everything. Seems I got some old django ghost installation or something
Sorry and thanks!
30π
Youβre probably using older version of Django. staticfiles app has been available from version 1.3 only.
- [Django]-Django Footer and header on each page with {% extends }
- [Django]-__init__() got an unexpected keyword argument 'mimetype'
- [Django]-How does the get_or_create function in Django return two values?
6π
You most likely need to upgrade your version of django by using setuptools
sudo easy_install --upgrade django
- [Django]-Handle `post_save` signal in celery
- [Django]-Django/DRF β 405 Method not allowed on DELETE operation
- [Django]-How to get username from Django Rest Framework JWT token
3π
FYI β I just ran into this error. The default Django for the system is 1.2.1 and I am using Django 1.3 in a virtualenv. I was getting the error because I had forgotten to activate my virtualenv so it was trying to use the system Django.
- [Django]-How to go from django image field to PIL image and back?
- [Django]-Django.db.utils.IntegrityError: duplicate key value violates unique constraint "django_migrations_pkey"
- [Django]-What is the purpose of adding to INSTALLED_APPS in Django?
3π
Another way this error could occur; is that you call ./manage.py
even if your in the correct virtualenv. For some reason it uses the system python as supposed to the virtualenv one.
The correct syntax is:
python manage.py <command>
I hope this saves someone some time.
- [Django]-How to test "render to template" functions in django? (TDD)
- [Django]-ImportError: Failed to import test module:
- [Django]-How do I match the question mark character in a Django URL?