Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Django
(view source)
Revision as of 12:50, 8 June 2017
288 bytes added
,
12:50, 8 June 2017
no edit summary
Line 1:
Line 1:
+
= Django =
==== Requirements: ====
==== Requirements: ====
* Python
* Python
Line 56:
Line 57:
href="{% static 'cpc/css/tree.css' %}"
href="{% static 'cpc/css/tree.css' %}"
href="{% url 'civilarea_history_create' task.id %}"
href="{% url 'civilarea_history_create' task.id %}"
+
+
== Reset Migrations ==
+
+
1) Fake migrations back to 0
+
./manage.py migrate app zero --fake
+
+
2) Delete migrations files
+
git rm "app/migrations/*"
+
+
3) Create new migration file
+
./manage.py makemigrations app
+
+
4) Pretend to run the new migration
+
./manage.py migrate app --fake
Rafahsolis
Bureaucrats
,
Administrators
2,306
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version