diff options
Diffstat (limited to 'app/pages/admin.py')
-rw-r--r-- | app/pages/admin.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/pages/admin.py b/app/pages/admin.py index bdcf884..66e4d8f 100644 --- a/app/pages/admin.py +++ b/app/pages/admin.py @@ -3,7 +3,7 @@ from django.contrib import admin from django.forms import Textarea from django.db import models - +''' class PageAdmin(admin.ModelAdmin): formfield_overrides = { models.TextField: {'widget': Textarea(attrs={'rows': 25, 'cols': 40})}, @@ -22,4 +22,5 @@ class PageAdmin(admin.ModelAdmin): }) ) -#admin.site.register(Page, PageAdmin) +admin.site.register(Page, PageAdmin) +''' |