Sunday, September 28, 2014

Change GFK to FK

Hi, is posible to change GenericForeingnKey to ForeignKey without losing data?

any link to explain the trick?

I have an old application with GFK but now I want to FK moment but I will not lose data

this is example my models old and below the new models


Cheers    

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAM-7rO0HPMFAOReqOZ0ym%2B1r8QBh_1Z5hA%2BGhYNp8sWUa95gjg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment