Zidek / django-basic-apps

Automatically exported from code.google.com/p/django-basic-apps
0 stars 0 forks source link

How to limit scope of blog authors #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We have a site with more than 3000 registered users, and the site is using
this blog app. However, only six of us, who are in a group called 'Blog
Editors' are allowed to blog.

On the blog post page, can you suggest the best way to limit the contents
of the Author picklist to only display members of our group? Better yet, it
would be great if this blog app had this functionality (blogging limited to
a group) built in - I'm sure this is not an uncommon scenario. 

But for now, suggestions on tweaking it would be great. 

Thanks,
Scot

Original issue reported on code.google.com by scotfhac...@gmail.com on 20 Oct 2008 at 11:22

GoogleCodeExporter commented 9 years ago
Even limiting the list to is_staff would work nicely.

Also, would be great if authorship would default to the current user, which is 
by far
the majority case.

Sorry I filed this accidentally as a defect rather than a feature request.

Original comment by scotfhac...@gmail.com on 20 Oct 2008 at 11:40

GoogleCodeExporter commented 9 years ago
I'll look into this.

Original comment by npbor...@gmail.com on 17 Nov 2008 at 6:17

GoogleCodeExporter commented 9 years ago
Also potentially useful here: Ajax lookups for ForeignKeys:

http://jannisleidel.com/2008/11/autocomplete-form-widget-foreignkey-model-fields
/

Original comment by shacke...@gmail.com on 24 Nov 2008 at 7:39