Commits

Victor Kotseruba committed 767d631

app label, inner packages

  • Participants
  • Parent commits 199f7b7

Comments (0)

Files changed (6)

 setup(
     name='superwiki',
     version='0.1',
-    packages=['superwiki'],
+    packages=['superwiki',
+              'superwiki.migrations',
+              'superwiki.templatetags'],
+    package_data={
+        '': ['templates/wiki/*.html',
+             'templates/wiki/tags/*.html']
+    },
     install_requires=[
         'django',
         'south',

superwiki/migrations/0001_initial.py

         }
     }
     
-    complete_apps = ['wiki']
+    complete_apps = ['superwiki']

superwiki/migrations/0002_add_rev.py

         }
     }
     
-    complete_apps = ['wiki']
+    complete_apps = ['superwiki']

superwiki/migrations/0003_add_title.py

         }
     }
     
-    complete_apps = ['wiki']
+    complete_apps = ['superwiki']

superwiki/migrations/0004_add_linked_pages.py

         }
     }
     
-    complete_apps = ['wiki']
+    complete_apps = ['superwiki']

superwiki/models.py

     
     class Meta:
         db_table = 'wiki'
+        app_label = 'wiki'
         unique_together = ('object_id', 'content_type', 'url')
 
-
+        
 reversion.register(WikiPage)