summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprathamesh2017-03-13 12:58:17 +0530
committerprathamesh2017-03-13 12:58:17 +0530
commit1a50fb3407550869cf988b307f24af62ad3e57e7 (patch)
tree7b5c4106f4d1c180474631ed96799a6b733496fa
parentce7238aef6d5080d8f7ea79b96c9569bf191f0b8 (diff)
downloadonline_test-1a50fb3407550869cf988b307f24af62ad3e57e7.tar.gz
online_test-1a50fb3407550869cf988b307f24af62ad3e57e7.tar.bz2
online_test-1a50fb3407550869cf988b307f24af62ad3e57e7.zip
Added migrations folder to the app.
This required because when we do migration for the first time, initial migrations will be created only if migrations folder is present in the installed app. Otherwise, running makemigrations will not detect the initial migrations for that app. Though we can exclusively specify the app name as the argument to the makemigrations command. But did this so that by default apply migrations. Note: Removed migrations from .gitignore
-rw-r--r--.gitignore1
-rw-r--r--yaksh/migrations/__init__.py0
2 files changed, 0 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 38a5ebb..e14b151 100644
--- a/.gitignore
+++ b/.gitignore
@@ -38,7 +38,6 @@ apache/*
*.swo
*.db-journal
*.db
-migrations
wsgi.log
*.sqlite3
data/
diff --git a/yaksh/migrations/__init__.py b/yaksh/migrations/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/yaksh/migrations/__init__.py