When we already have migrations for our models and want to reset it in Django 1.7, it might be a bit tricky. All you need is to disable all apps in INSTALLED_APPS except your app which want to be reseted
Example, app which will reseted call “credits”. In INSTALLED_APPS :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # Application definition INSTALLED_APPS = ( ‘grappelli’, ‘django.contrib.admin’, ‘django.contrib.auth’, ‘django.contrib.contenttypes’, ‘django.contrib.sessions’, ‘django.contrib.messages’, ‘django.contrib.staticfiles’, ‘accounts’, ‘friends’, ‘credits’, ‘memberships’, ‘rewards’, ) |
Then commented them into :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # Application definition INSTALLED_APPS = ( ‘grappelli’, ‘django.contrib.admin’, ‘django.contrib.auth’, ‘django.contrib.contenttypes’, ‘django.contrib.sessions’, ‘django.contrib.messages’, ‘django.contrib.staticfiles’, ‘accounts’, ‘friends’, ‘credits’, #’memberships’, #’rewards’, ) |