Moved admin add defninitions to correct location

This commit is contained in:
Raynaldo Rivera
2014-10-12 12:29:00 -07:00
parent 0256feeceb
commit 24947bb485
6 changed files with 8 additions and 9 deletions

View File

@@ -1,3 +1,5 @@
from django.contrib import admin
from models import SyncGroupCache
# Register your models here.
admin.site.register(SyncGroupCache)

View File

@@ -6,5 +6,3 @@ from django.contrib.auth.models import User
class SyncGroupCache(models.Model):
groupname = models.CharField(max_length=254)
user = models.ForeignKey(User)
admin.site.register(SyncGroupCache)