Top "Django-1.7" questions

Django 1.7 is the version of the Django framework, released September 2014.

django.db.utils.IntegrityError: (1062, "Duplicate entry '' for key 'slug'")

I'm trying to follow the tangowithdjango book and must add a slug to update the category table. However I'm getting …

python mysql django django-1.7
Django Heroku Error "Your models have changes that are not yet reflected in a migration"

I recently added a model to my app (UserProfile) and when I pushed the changes to Heroku, I think I …

python django heroku django-1.7 django-migrations
__init__() got an unexpected keyword argument 'mimetype'

I am using Django 1.7.4 and django_ajax_selects for AutoComplete. The lookup is failing and i get this error: __init__() …

django django-1.7 django-ajax-selects
Django: Generic views based 'as_view()' method

I was working on an application wherein I created a generic ListView. Now, while defining that view in my urls.…

python django python-2.7 django-1.7
Django: Attempt to write a read-only database

I have just created a Django project with python manage.py startapp smartrecruitment I then ran a db sync python …

python django apache django-1.7
Django creating a custom model field

I am trying to create a custom field in Django which will take a decimal currency value (example: £1.56) and save …

python django django-models django-forms django-1.7
Runtime error:App registry isn't ready yet

I am trying to create a script that populates a database with test users. I am new to Django and …

python django runtime-error django-1.7
Custom user in django raises ValueError

Even this simple example throws a ValueError: Dependency on app with no migrations: myApp during python manage.py syncdb myApp/…

python django django-1.7 django-custom-user
Getting model ContentType in migration - Django 1.7

I have a data migration that updates some permissions. I know there are some known issues with permissions in migrations …

django django-1.7 django-migrations
How to fake migrations for not to create a specific existing intermediary table

I have following models class VucutBolgesi(models.Model): site = models.ForeignKey(Site) bolge = models.CharField(verbose_name="Bölge", max_…

django django-1.7 django-migrations