rrs/urls.py: Disable permanent (301) redirection on main view.

Don't redirect permanently in main view because the first URL needs
to point to the current release, so use permanent = False to return
a 302..

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
This commit is contained in:
Aníbal Limón 2015-11-05 12:38:23 -06:00 committed by Paul Eggleton
parent 1bd89388e1
commit aab0a9ad3f

View File

@ -11,7 +11,8 @@ urlpatterns = patterns('',
Release.get_current().name,
Milestone.get_current(Release.get_current()).name,
)
)
),
'permanent' : False
},
name='frontpage'),
url(r'^recipes/(?P<release_name>.*)/(?P<milestone_name>.*)/$',