ndarville / pony-forum

A modern alternative to ancient forum CMSes like vBulletin and PHPBB in Python on Django. (Alpha stage.) (NB: dotCloud have since removed their free Sandbox tier.)
http://pony-forum.com
26 stars 7 forks source link

Object_counts, removed admin, replaced with site configuration #85

Closed ndarville closed 11 years ago

ndarville commented 11 years ago

Implemented post_count and thread_count for models to optimize database significantly. Until Django 1.5, they are however tied to get_profile().

I also removed the admin interface, because it’s not meant to be used at this state, and it has zero utility for this app at the moment. A lot will have to be done, once the implementation of user groups and bans/probations etc. come into effect, but having an /admin/ go-to link seems like a big security no-no anyway.

It also seems much better that people manage all their required settings in site configuration in a familiar environment instead of the one-off admin interface.

This way, I also don’t have to account for create() and delete() operations in the admin interface where count incrementing does not occur.

I would also be remiss, if I did not include this:

countvoncountjpg