This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Modal Markup: | |
<div class="modal modal-fixed-header"> | |
<div class="modal-header"> | |
HEADER CONTENT | |
</div> | |
<div class="modal-content"> | |
MAIN CONTENT | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
remove_foreign_keys.py | |
Removes all the foreign key constraints in a django project's MySQL database. | |
NO FOREIGN KEYS = NO FOREIGN KEY HEADACHES | |
(of course if you are using anything other than the django ORM its likely to cause other headaches) | |
Before running this script be sure your django settings module is available | |
to your environment. |