tildetown-admin/ttadmin/users/admin.py

13 lines
279 B
Python
Raw Normal View History

2016-11-20 05:34:38 +00:00
from django.contrib import admin
2017-01-14 06:22:28 +00:00
from django.contrib.auth.models import User
from django.contrib.auth.models import Group
2016-11-20 05:34:38 +00:00
from .models import Townie
2017-01-14 06:22:28 +00:00
admin.site.unregister(User)
admin.site.unregister(Group)
2016-11-20 05:34:38 +00:00
@admin.register(Townie)
class TownieAdmin(admin.ModelAdmin):
pass