gs-blog | yet powerful blog for GetSimple | Plugin library
kandi X-RAY | gs-blog Summary
kandi X-RAY | gs-blog Summary
A simple and easy to use, yet powerful blog for GetSimple. With this plugin, you can create blog posts, sort posts by category, view posts in monthly archives, plus much more.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Save a post
- Generate RSS feed
- Save custom fields
- Get custom fields
- Search posts by keywords .
- Save rss feed
- Add tags to a blog
- Add a post
- Add an archive to the site
- Add a category to the site
gs-blog Key Features
gs-blog Examples and Code Snippets
Community Discussions
Trending Discussions on gs-blog
QUESTION
I’m learning Django, but it’s hanging on such a seemingly simple moment. I need to check and allow the user to edit only his posts, and if he clicks the link for editing someone else’s - render a specific page.
I can not form a condition for user verification, please help:
views.py
...ANSWER
Answered 2019-Nov-28 at 11:42Please note these points:
Don't relate TextPost to Profile model, relate it directly to the User model. It will be more easy for your project.
Always use "related_name" in OneToOneField or ForeignKeyField.
Always use context (or another named variable) to pass variable in template. in big projects, you will have to pass many variables.
models.py
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gs-blog
Download ZIP file with plugin from the GetSimple Extend Repository. http://get-simple.info/extend/plugin/getsimple-blog/810/
Unzip it into the "plugins" folder of your GetSimple installation.
Ensure your /Data and /Backups folder have write permissions.
Log in to your GetSimple administration panel.
Activate the plugin under the Plugins tab.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page