user - Django: The best practice to implement CRUD outside the contrib.admin -


I am currently developing a blog project using the post model, which will be used by many authors.

I want to create an admin / control-panel interface where each author in the post can see the author's post list (hence he will not see posts created by other writers), edit, and many-them Remove

said that:

Django Administrator is not suitable for individual user profiles, each user will be able to view and edit, all other user profiles Suitable for an administrator who has to manage all users once.

This means that a new CRUD system should be created - out of the contrib.admin interface. So the question is, is there any way to apply the CRUD to any existing technique / contrib.admin system? Or, why do I need to study / use? How can I apply it well (minimal effort)?

Thank you in advance :)

This is easy to do by tweaking the Django administrator This is the only reason to leave contrib.admin so you want Google for some recent articles about customizing the administrator to throw your baby out of the bath before moving forward.

And in general terms:

  • (Note that there was an old technique used by a thread local hack.It is not necessary anymore because there are better ways to do this. One of the mention is that the article is old.)


  • Comments

    Popular posts from this blog

    c++ - Linux and clipboard -

    What is expire header and how to achive them in ASP.NET and PHP? -

    sql server - How can I determine which of my SQL 2005 statistics are unused? -