mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #16501 -- Added an allow_unicode parameter to SlugField.
Thanks Flavio Curella and Berker Peksag for the initial patch.
This commit is contained in:
committed by
Tim Graham
parent
adffff79a3
commit
f8cc464452
@@ -716,6 +716,7 @@ class MainPrepopulated(models.Model):
|
||||
('option two', 'Option Two')))
|
||||
slug1 = models.SlugField(blank=True)
|
||||
slug2 = models.SlugField(blank=True)
|
||||
slug3 = models.SlugField(blank=True, allow_unicode=True)
|
||||
|
||||
|
||||
class RelatedPrepopulated(models.Model):
|
||||
|
||||
Reference in New Issue
Block a user