mappa-ricezione-radio/rxmap/rxmapp/admin.py

15 lines
284 B
Python
Raw Normal View History

2020-03-07 23:57:14 +01:00
from django.contrib import admin, auth
2020-03-02 01:49:44 +01:00
2020-03-03 18:35:27 +01:00
from .models import TipoRadio, User, RapportoRicezione
2020-03-02 01:49:44 +01:00
# Register your models here.
2020-03-03 18:35:27 +01:00
admin.site.register(TipoRadio)
2020-03-07 23:57:14 +01:00
2020-03-08 01:01:55 +01:00
2020-03-07 23:57:14 +01:00
class UserAdmin(auth.admin.UserAdmin):
pass
2020-03-08 01:01:55 +01:00
2020-03-07 23:57:14 +01:00
admin.site.register(User, UserAdmin)
2020-03-03 18:35:27 +01:00
admin.site.register(RapportoRicezione)