#23749: Document how to get the database alias in migrations
-------------------------------------+-------------------------------------
     Reporter:  alfredperlstein      |                    Owner:  nobody
         Type:                       |                   Status:  closed
  Cleanup/optimization               |
    Component:  Documentation        |                  Version:  1.7
     Severity:  Normal               |               Resolution:
                                     |  worksforme
     Keywords:  migrations dbrouter  |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by splbio):

 Can someone give me a pointer to how to edit the page

 https://docs.djangoproject.com/en/1.7/topics/migrations/#data-migrations

 -Or-

 https://docs.djangoproject.com/en/1.7/ref/schema-editor/

 ?

 To be perfectly honest the addition to the RunPython section
 
(https://github.com/django/django/blob/aa5ef0d4fc67a95ac2a5103810d0c87d8c547bac/docs/ref
 /migration-operations.txt#L316-L322) is not something that I would have
 been able to find via google, nor is it likely I would have been able to
 understand it.

 I'm perfectly willing to update the docs for the migration or
 schema_editor pages, I just need a pointer how to get started.  Is it a
 wiki I can log into?  Or is there a git repo I can clone?

 Please advise.

 thank you!

 -Alfred

--
Ticket URL: <https://code.djangoproject.com/ticket/23749#comment:9>
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/073.95fb13c807152ae03a95245a55be7396%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to