Top "Django-1.8" questions

Django 1.8 is a version of the Django framework, released April 2015.

What should I use instead of syncdb in Django 1.9?

Take a look at this: $ pypy ./manage.py syncdb /usr/lib64/pypy-2.4.0/site-packages/django/core/management/commands/syncdb.py:24: RemovedInDjango19…

python django django-1.8
Not able to create super user with Django manage.py

Trying to create a super user for my database: manage.py createsuperuser Getting a sad recursive message: Superuser creation skipped …

python django python-3.x django-admin django-1.8
How to redo a migration on django 1.8 after using --fake

Something went wrong on my migrations, I added a new datetimefield to a model then I used makemigrations and migrate. …

django django-migrations django-1.8
"Models aren't loaded yet" error while populating in Django 1.8 or later

I am using this code to populate my database: import os def populate(): python_cat = add_cat('Python') add_page(…

python django django-1.8
auth_user error with Django 1.8 and syncdb / migrate

When upgrading to Django 1.8 (with zc.buildout) and running syncdb or migrate, I get this message: django.db.utils.ProgrammingError: …

python django buildout django-syncdb django-1.8
Django app works fine, but getting a TEMPLATE_* warning message

When I use runserver, it gives this warning message: (1_8.W001) The standalone TEMPLATE_* settings were deprecated in Django 1.8 and the …

python django django-1.8
Error creating new content types. Please make sure contenttypes is migrated before trying to migrate apps individually

I am trying to migrate from Django 1.6 to Django 1.8. I was using South for managing migrations in Django 1.6. I have …

django migration django-south django-1.8
Formatting floats with decimal dots and limited decimal part in Django templates

I know I can limit the number of decimals in a float by using the filter floatformat:2 which output a …

python django python-3.x django-templates django-1.8
Selecting specific fields using select_related in Django

I have two models Article and Blog related using a foreign key. I want to select only blog name while …

django python-2.7 django-queryset django-1.8 django-select-related
Django - 'datetime.date' object has no attribute 'tzinfo'

Here is my code that I use to make the datetime timezone aware. I tried to use the recommended approach …

python-2.7 datetime timezone django-1.8