~doflah/ubuntu-api-website/autosuggest

« back to all changes in this revision

Viewing changes to developer_network/web/views.py

  • Committer: Michael Hall
  • Date: 2014-03-13 18:21:28 UTC
  • Revision ID: mhall119@ubuntu.com-20140313182128-dxorq6u9ihcxecjb
Don't attempt to resolve version aliases on edit screens

Show diffs side-by-side

added added

removed removed

Lines of Context:
348
348
 
349
349
 
350
350
def element_edit(request, topic_name, release_version, element_id=0):
351
 
    release_version = _check_release_version(release_version)
352
351
 
353
352
    if element_id:
354
353
        element = get_object_or_404(Element, section__topic_version__slug=release_version, section__topic_version__topic__slug=topic_name, id=element_id)