Commit a6449796c672dcd68eb8fcd246a53e314c93ecb7
1 parent
954eeaba
Exists in
master
and in
2 other branches
Adding mural visualizations to django admin
Showing
1 changed file
with
6 additions
and
0 deletions
Show diff stats
mural/admin.py
| 1 | 1 | from django.contrib import admin |
| 2 | 2 | |
| 3 | +from .models import MuralVisualizations | |
| 3 | 4 | # Register your models here. |
| 5 | + | |
| 6 | +class MuralAdmin(admin.ModelAdmin): | |
| 7 | + list_display = ['user', 'viewed', 'post', 'comment', 'date_viewed'] | |
| 8 | + | |
| 9 | +admin.site.register(MuralVisualizations, MuralAdmin) | |
| 4 | 10 | \ No newline at end of file | ... | ... |