past3d/pastebin/admin.py

13 lines
278 B
Python
Raw Normal View History

2013-10-01 16:38:42 +02:00
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from django.contrib import admin
2023-07-12 19:44:08 +02:00
from pastebin.models import Geometry
2013-10-01 16:38:42 +02:00
class GeometryAdmin(admin.ModelAdmin):
list_display = ['name', 'description', 'date', 'file', 'sourcefile']
2023-07-12 19:44:08 +02:00
2013-10-01 16:38:42 +02:00
admin.site.register(Geometry, GeometryAdmin)