diff options
| author | Tom Christie | 2013-12-13 16:32:34 +0000 | 
|---|---|---|
| committer | Tom Christie | 2013-12-13 16:32:34 +0000 | 
| commit | 9c41c007afc71c899306bcb02e40bdfc36b09146 (patch) | |
| tree | ca0da04aed0c1b96ddf14a801dc54b5a72a72461 /rest_framework/urlpatterns.py | |
| parent | ed931b90ae9e72f963673e6e188b1802a5a65360 (diff) | |
| parent | ca244ad614e2f6fb4fef1dc9987be996d2624303 (diff) | |
| download | django-rest-framework-9c41c007afc71c899306bcb02e40bdfc36b09146.tar.bz2 | |
Merge branch 'master' into 2.4.0
Conflicts:
	.travis.yml
	docs/api-guide/routers.md
	docs/topics/release-notes.md
	rest_framework/compat.py
Diffstat (limited to 'rest_framework/urlpatterns.py')
| -rw-r--r-- | rest_framework/urlpatterns.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/rest_framework/urlpatterns.py b/rest_framework/urlpatterns.py index a62530c7..038e9ee3 100644 --- a/rest_framework/urlpatterns.py +++ b/rest_framework/urlpatterns.py @@ -57,6 +57,6 @@ def format_suffix_patterns(urlpatterns, suffix_required=False, allowed=None):              allowed_pattern = '(%s)' % '|'.join(allowed)          suffix_pattern = r'\.(?P<%s>%s)$' % (suffix_kwarg, allowed_pattern)      else: -        suffix_pattern = r'\.(?P<%s>[a-z]+)$' % suffix_kwarg +        suffix_pattern = r'\.(?P<%s>[a-z0-9]+)$' % suffix_kwarg      return apply_suffix_patterns(urlpatterns, suffix_pattern, suffix_required) | 
