mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 12:49:01 +02:00
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:
parent
1bd89388e1
commit
aab0a9ad3f
|
@ -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>.*)/$',
|
||||
|
|
Loading…
Reference in New Issue
Block a user