Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
gionniboy authored May 18, 2018
1 parent 84b530a commit ba1f3a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/slugfield.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
How to use slug field with django for more readability?
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Slug is a part of a URL which identifies a particular page on a website in a form readable by users. For making it work django od=ffers us a slugfield. It can be implimented as under.
Slug is a part of a URL which identifies a particular page on a website in a form readable by users. For making it work django offers us a slugfield. It can be implimented as under.
We already had a model :code:`Article` we will be adding slugfield to it to make it user readable. ::

from django.utils.text import slugify
Expand All @@ -25,4 +25,4 @@ We already had a model :code:`Article` we will be adding slugfield to it to make

Slug is useful because:
| it's human friendly (eg. /blog/ instead of /1/).
| it's good SEO to create consistency in title, heading and URL.
| it's good SEO to create consistency in title, heading and URL.

0 comments on commit ba1f3a5

Please sign in to comment.