mirror of
https://github.com/fspc/workstand.git
synced 2025-04-04 10:03:22 -04:00
* Load webpack only in debug. * Second stab at buildfile. * Move button. * Add new line. * Linting. * Spelling mistake. * Clean up. * Use babel-polyfill. * Updated Configuration Files for Fresh Install
12 lines
300 B
Python
12 lines
300 B
Python
from django.contrib import admin
|
|
from .models import Membership, Payment, Visit
|
|
|
|
# Register your models here.
|
|
admin.site.register([Membership, Payment])
|
|
|
|
|
|
@admin.register(Visit)
|
|
class VisitAdmin(admin.ModelAdmin):
|
|
ordering = ('created_at',)
|
|
list_display = ('member', 'purpose', 'created_at')
|