double check migrations
Issue #41
resolved
- courses:
0012_auto__del_location__chg_field_course_location.py
- courses:
0013_auto__add_field_course_test_course.py
- locations:
0001_initial.py
- locations:
0002_copy_locations.py
I'm not sure if these migrations will work, since I removed the Location model in the courses app
from littleball.apps.courses.models import Location
And in 0002_copy_locations.py
, the Location model is being copied...:
for location in Location.objects.all():
new_location = orm.Location(pk=location.pk, name=location.name,
address=location.address, postal_code=location.postal_code, place=location.place)
new_location.save()
Comments (2)
-
reporter -
reporter - changed status to resolved
- Log in to comment
Migrations fixed I guess.
proefles[LOCATIE]
(vb. proefles Anzegem@sporthal Torrebos) nog aangepast worden. locatie wordt[LOCATIE]
en proefles aangevinkt.proefles[LOCATIE]
worden verwijderd