django-1.8 Questions

1

Solved

So I've been tinkering with upgrading to the new version of Django (1.8). I'm currently on version 1.7 and I am struggling to get my production server to listen to the new settings in 1.8. As of 1...
Salter asked 15/4, 2015 at 14:17

0

I've been following the official tutorial exactly. It's located here: https://docs.djangoproject.com/en/1.8/intro/tutorial03/ It's been going well, but suddenly I'm getting this error: Reverse f...
Directional asked 28/6, 2015 at 19:35

2

Solved

I'm a bit dumbfounded here, hopefully someone out there understands this issue! This is the context: {'form': <LoginForm bound=False, valid=Unknown, fields=(password;remember;login)>, 'red...
Gayden asked 27/3, 2015 at 12:37

1

Solved

Something went wrong on my migrations, I added a new datetimefield to a model then I used makemigrations and migrate. python manage.py makemigrations python manage.py migrate But after this the ...
Crematory asked 3/6, 2015 at 17:30

2

Solved

Here is my view: def data(request, symbol): context_dict = {} NASDAQ = "http://www.nasdaq.com/symbol/{}/financials?query=income-statement".format(symbol) import urllib.request from bs4 impor...
Woll asked 3/6, 2015 at 4:51

2

Difficulty using the new DurationField in Django 1.8 I'm having a bit of trouble with Django's new DurationField for models. I want the user to be able to choose if the duration of an event on m...
Misprint asked 2/4, 2015 at 17:56

1

I have a problem with migrations on heroku. I have just upgraded version of django from 1.8.1 to 1.8.2 in my project on heroku, because of some missing migrations: https://github.com/django/djan...
Domeniga asked 21/5, 2015 at 19:2

2

Solved

In one of my django tests, I use django.utils.importlib.import_module similarly to how it is used here. On upgrading to django 1.8, I get a deprecation warning test_views.py:20: RemovedInDjango19...
Weaver asked 28/4, 2015 at 23:56

1

Solved

I have upgraded from Django 1.6.5 (with south migrations) to Django 1.8. I have followed the instructions here: https://docs.djangoproject.com/en/1.8/topics/migrations/#upgrading-from-south So, I ...
Sungsungari asked 28/4, 2015 at 7:57

2

Solved

I want to pass default value into DurationField from django 1.8. According to documentation it should be datetime.timedelta from datetime import timedelta pause = DurationField(default=timedelta(m...
Nostril asked 16/4, 2015 at 10:24

1

Solved

I am using this code in my admin.py from django.db.models import get_models, get_app for model in get_models(get_app('myapp')): admin.site.register(model) But i get warning that get_models is ...
Chauffeur asked 20/4, 2015 at 3:41

© 2022 - 2024 — McMap. All rights reserved.