@ -17,9 +17,6 @@ stop:
docker-compose stop
migrate:
docker-compose run webpython src/manage.py migrate contenttypes
docker-compose run web python src/manage.py migrate sites
docker-compose run web python src/manage.py migrate myauth
docker-compose run web python src/manage.py migrate
loaddata:
@ -4,6 +4,8 @@ import simplejson as json
from django.shortcuts import render, get_object_or_404, redirect
from django.http import HttpResponseBadRequest, HttpResponse
from django.core import serializers
# use django.apps.apps.get_model since Django 1.9
from django.db.models.loading import get_model
from django.views.decorators.csrf import csrf_protect
@ -10,6 +10,7 @@ import django.core.validators
class Migration(migrations.Migration):
dependencies = [
('sites', '0001_initial'),
('auth', '0006_require_contenttypes_0002'),
('customer', '0001_initial'),
]