Commit a383327d authored by Norberto Tadeo's avatar Norberto Tadeo 😔

Merge branch 'tadeo/forum' into 'master'

added some things to forum

See merge request !3
parents 5e194148 fb6fbb74
...@@ -5,10 +5,9 @@ from .models import Post ...@@ -5,10 +5,9 @@ from .models import Post
class ForumAdmin(admin.ModelAdmin): class ForumAdmin(admin.ModelAdmin):
model = Post model = Post
search_fields=('pub_date',) search_fields=('pub_date','post_title',)
list_display=('pub_date',) list_display=('pub_date','post_title',)
list_filter=('pub_date',) list_filter=('pub_date','post_title',)
admin.site.register(Post, ForumAdmin) admin.site.register(Post, ForumAdmin)
# Register your models here. # Register your models here.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment