Mudanza de repo
This commit is contained in:
10
api/licence/admin.py
Normal file
10
api/licence/admin.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from django.contrib import admin
|
||||
from .models import Licencia
|
||||
# Register your models here.
|
||||
|
||||
class LicenciaAdmin(admin.ModelAdmin):
|
||||
list_display = ('id', 'nombre')
|
||||
search_fields = ('nombre',)
|
||||
list_filter = ('nombre',)
|
||||
|
||||
admin.site.register(Licencia, LicenciaAdmin)
|
||||
Reference in New Issue
Block a user