regularstuff / tildeblog

A learn-to-use Django team project
BSD 3-Clause "New" or "Revised" License
2 stars 3 forks source link

Add Post viewing and editing from django admin #16

Closed failedreality closed 4 months ago

failedreality commented 4 months ago

Need to enable the view to see the posts in the django admin. that way all admins have access to see the posts, edit or even delete if needed.

readytheory commented 4 months ago

I think this is also covered by issue 22 that Steve will merge in. On the render site I gave roles to admins. Let me know if I am missing the point though

failedreality commented 4 months ago

This wont cover it unless you are adding in a section on the urls.py to tie it all together. At least thats the way it is on another django site im working on.

readytheory commented 4 months ago

Thanks. I don't know what is normal usage of admin. I do know django's admin panel comes with "Staff" by default. Are you suggesting we should create an endpoint that let's "staff" (or some role we define) easily view/edit posts?

failedreality commented 4 months ago

Let me get this working and I wil show you and then we can move forward on next steps after that

failedreality commented 4 months ago

At the same time I am adding this I will also make a change to the model (which will NOT require a migration) so that all objects that are stored will show the specific title (for posts) and name (for tags) instead of a generic object(01)

I have the concept working and will finalize and request a pull for review.

regularstuff commented 4 months ago

changes merged

failedreality commented 4 months ago

I think we can close this out now the merge has been completed.