django-1.9 Questions

2

Solved

I am bit curious to know why Django 1.9 replaced tuples () with lists [] in settings, URLs and other configuration files I just upgraded to Django 1.9 and noticed these changes. What is the logic ...
Shapiro asked 18/3, 2016 at 9:51

3

Solved

I am trying to add a haystack search to my base.html to include it globally on my site. It errors though when i submit a search I am getting: Django-Haystack: 'NoneType' object has no attribut...
Discarnate asked 18/1, 2016 at 10:27

1

Solved

I need to pass the value (based on category_id) for a ForeignKey to the ModelForm but it's not working. My field remains "--------" and proper value is not set from the drop-down field. Value for t...
Fernandofernas asked 5/2, 2016 at 14:40

2

Solved

I have a Django 1.8 application whose initial migration relies on django-interval-field like this: import interval.fields migrations.CreateModel( name='Item', fields=[ ... ('estimated_time', ...
Whaleback asked 30/1, 2016 at 1:17

1

Solved

I started a new project and am getting: django.core.exceptions.ImproperlyConfigured: Enable 'django.contrib.auth.context_processors.auth' in your TEMPLATES setting in order to use the admin applic...
Trickery asked 26/1, 2016 at 1:33

1

Solved

Hi I'm following the tutorial on the djangoproject site and I'm getting an error on my localhost saying: Unknown parameters: TEMPLATE_DEBUG My settings.py looks like this: TEMPLATES = [ { 'BA...
Swordtail asked 15/12, 2015 at 20:32

2

Solved

I recently upgraded my Django project to version 1.9. When I try to run migrate, I am getting the following two errors: Support for string view arguments to url() is deprecated and will be remov...
Youngs asked 5/12, 2015 at 17:11

1

Solved

I have a project currently working on Django 1.8. Since 1.9 just released, I thought I would update via pip install django==1.9. However, when running python manage.py test -v 3, I get this error: ...
Harley asked 2/12, 2015 at 10:16

2

Solved

When trying to run either runserver or shell using manage.py I get an ImportError exception. I'm using Django 1.9. ImportError: No module named 'django.utils.importlib'
Centre asked 24/9, 2015 at 12:38

© 2022 - 2024 — McMap. All rights reserved.