Self hosted FLOSS fitness/workout, nutrition and weight tracker
Initialise south migrations
Roland Geider45d90cb32e83
diff --git a/wger/core/migrations/0001_initial.py b/wger/core/migrations/0001_initial.pynew file mode 100644index 000000000..67c2928a3--- /dev/null+++ b/wger/core/migrations/0001_initial.py@@ -0,0 +1,20 @@+# -*- coding: utf-8 -*-+from south.utils import datetime_utils as datetime+from south.db import db+from south.v2 import SchemaMigration+from django.db import models+++class Migration(SchemaMigration):++ def forwards(self, orm):+ pass++ def backwards(self, orm):+ pass++ models = {++ }++ complete_apps = ['core']\ No newline at end of filediff --git a/wger/core/migrations/__init__.py b/wger/core/migrations/__init__.pynew file mode 100644index 000000000..e69de29bbdiff --git a/wger/core/models.py b/wger/core/models.pyindex 71a836239..5ec532924 100644--- a/wger/core/models.py+++ b/wger/core/models.py@@ -1,3 +1,19 @@+# -*- coding: utf-8 -*-++# This file is part of wger Workout Manager.+#+# wger Workout Manager is free software: you can redistribute it and/or modify+# it under the terms of the GNU Affero General Public License as published by+# the Free Software Foundation, either version 3 of the License, or+# (at your option) any later version.+#+# wger Workout Manager is distributed in the hope that it will be useful,+# but WITHOUT ANY WARRANTY; without even the implied warranty of+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+# GNU General Public License for more details.+#+# You should have received a copy of the GNU Affero General Public License+from django.db import models# Create your models here.diff --git a/wger/settings_global.py b/wger/settings_global.pyindex 0e2c443ff..3aea1fa72 100644--- a/wger/settings_global.py+++ b/wger/settings_global.py@@ -194,6 +194,7 @@ INSTALLED_APPS = (# 'django.contrib.admindocs',# Apps from workout manager+ 'wger.core','wger.manager','wger.weight','wger.exercises',diff --git a/wger/urls.py b/wger/urls.pyindex 72c252a47..0829e6b41 100644--- a/wger/urls.py+++ b/wger/urls.py@@ -65,6 +65,7 @@ sitemaps = {'exercises': ExercisesSitemap,#urlpatterns = i18n_patterns('',url(r'^admin/', include(admin.site.urls)),+ url(r'^', include('wger.core.urls', namespace='core', app_name='core')),url(r'^', include('wger.manager.urls')),url(r'exercise/', include('wger.exercises.urls')),url(r'weight/', include('wger.weight.urls')),