google-code-export / django-forum

Automatically exported from code.google.com/p/django-forum
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Newforms-admin needs admin.py #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If you are using the latest rev. of Django with Newforms-admin, you will need 
an admin.py file in 
the forum/ dir. The simplest one would look like this:

from django.contrib import admin
from forum.models import Forum, Thread, Post

admin.site.register(Forum)
admin.site.register(Thread)
admin.site.register(Post)

However, I suspect there may be a better way to make this more portable. I'm 
glad to help make 
that happen once I learn a little more about newforms-admin.

Original issue reported on code.google.com by aez...@gmail.com on 24 Jul 2008 at 3:05

GoogleCodeExporter commented 9 years ago
This is already fixed, in latest SVN.

Original comment by rwpoul...@gmail.com on 28 Jul 2008 at 2:48