Commit 3dc9b420e6788e13a529535347d893654c709429
Committed by
GitHub
Exists in
master
and in
2 other branches
Merge pull request #559 from amadeusproject/refactoring
Adding mural visualizations to django admin
Showing
1 changed file
with
6 additions
and
0 deletions
Show diff stats
mural/admin.py
1 | from django.contrib import admin | 1 | from django.contrib import admin |
2 | 2 | ||
3 | +from .models import MuralVisualizations | ||
3 | # Register your models here. | 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 | \ No newline at end of file | 10 | \ No newline at end of file |