hide vanilla auth stuff
parent
8b7e360745
commit
620a91a657
|
@ -1,6 +1,12 @@
|
||||||
from django.contrib import admin
|
from django.contrib import admin
|
||||||
|
from django.contrib.auth.models import User
|
||||||
|
from django.contrib.auth.models import Group
|
||||||
|
|
||||||
from .models import Townie
|
from .models import Townie
|
||||||
|
|
||||||
|
admin.site.unregister(User)
|
||||||
|
admin.site.unregister(Group)
|
||||||
|
|
||||||
@admin.register(Townie)
|
@admin.register(Townie)
|
||||||
class TownieAdmin(admin.ModelAdmin):
|
class TownieAdmin(admin.ModelAdmin):
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in New Issue