#28004: Document how to add migrations to an app
-------------------------------------+-------------------------------------
Reporter: René | Owner: rene@…
Fleschenberg |
Type: | Status: assigned
Cleanup/optimization |
Component: | Version: 1.10
Documentation |
Severity: Normal | Keywords: docs migrations
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
{{{
00:20< moldy> papna: actual output would likely help us to help you :)
00:22< papna> moldy: http://dpaste.com/1D0KT6B
00:23< moldy> papna: ok, so it thinks all migrations are applied
00:24< moldy> papna: which migrations are applied is stored in your sql db
in the django_migrations table
00:24< papna> moldy: If I go into the database, the models from
relationship.models decidedly aren't there.
00:25< moldy> papna: does the relationship app contain a migrations folder
with an __init__.py in it?
00:25< papna> moldy: Some migrations for contenttypes, auth, admin, and
sessions are there
00:25< papna> moldy: It doesn't
00:25< moldy> papna: create it, then run makemigrations
00:26< papna> moldy: There we go.
}}}
I am not sure what exactly the problem is, but this looks like we should
improve our docs.
--
Ticket URL: <https://code.djangoproject.com/ticket/28004>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/056.40b3853b31bd1c3c0ee27b3f4f0b23c3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.