Skip to content

Commit

Permalink
Make /search-values.json language independant (better for caching)
Browse files Browse the repository at this point in the history
  • Loading branch information
e2jk committed Sep 19, 2012
1 parent ea55e84 commit 3344cfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flosstalks/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
# Enable the admin:
url(r'^admin/', include(admin.site.urls)),
url(r'^i18n/', include('django.conf.urls.i18n')),
url(r'^search-values.json$', 'flosstalks_app.views.get_search_values'),
)

flosstalks_patterns = patterns('',
Expand Down Expand Up @@ -80,7 +81,6 @@
template_name='resource_detail.html'),
name='resource'),
url(r'^search$', 'flosstalks_app.views.search'),
url(r'^search-values.json$', 'flosstalks_app.views.get_search_values'),
url(r'^(?P<requested_value>.+)$', 'flosstalks_app.views.nice_url'),
)

Expand Down

0 comments on commit 3344cfe

Please sign in to comment.