mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	[2.0.x] Fixed #28966 -- Doc'd that the uuid URL path converter requires dashes
Backport of 038ea4f859 from master
			
			
This commit is contained in:
		| @@ -127,9 +127,10 @@ The following path converters are available by default: | ||||
|   plus the hyphen and underscore characters. For example, | ||||
|   ``building-your-1st-django-site``. | ||||
|  | ||||
| * ``uuid`` - Matches a formatted UUID (letters must be lowercase). For example, | ||||
|   ``075194d3-6885-417e-a8a8-6c931e272f00``. Returns a :class:`~uuid.UUID` | ||||
|   instance. | ||||
| * ``uuid`` - Matches a formatted UUID. To prevent multiple URLs from mapping to | ||||
|   the same page, dashes must be included and letters must be lowercase. For | ||||
|   example, ``075194d3-6885-417e-a8a8-6c931e272f00``. Returns a | ||||
|   :class:`~uuid.UUID` instance. | ||||
|  | ||||
| * ``path`` - Matches any non-empty string, including the path separator, | ||||
|   ``'/'``. This allows you to match against a complete URL path rather than | ||||
|   | ||||
		Reference in New Issue
	
	Block a user