Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/voronind/django-slugfield
Django handy SlugField
https://github.com/voronind/django-slugfield
Last synced: 12 days ago
JSON representation
Django handy SlugField
- Host: GitHub
- URL: https://github.com/voronind/django-slugfield
- Owner: voronind
- Created: 2014-04-22T00:19:56.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-05-01T09:26:21.000Z (over 10 years ago)
- Last Synced: 2024-10-11T20:38:41.668Z (about 1 month ago)
- Language: Python
- Size: 180 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
=======================================
django-slugfield
=======================================Install
===================pip install django-slugfield
Usage
===================.. code-block:: python
from django import forms
from slugfield import SlugFormField
class ArticleForm(forms.Form):
name = forms.CharField(max_length=100)
slug = SlugFormField(populate_from='name')