You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
How to make custom url in the Django,I want to extract title from the HTML template and then get it displayed in url
Desmond Nyamador
unread,
Jan 30, 2020, 9:49:01 AM1/30/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
Hi Mick, I suggest you create a slug field in your model which will be used to filter your model rather than an id.If an object get saved with a title of foo bar, the slug field would handle the slugification of that title to "foo-bar"