Changes between Initial Version and Version 1 of Ticket #21927, comment 5


Ignore:
Timestamp:
May 29, 2014, 1:40:24 AM (10 years ago)
Author:
Ben Davis

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21927, comment 5

    initial v1  
    5555<span style="color:green">In [3]:</span> from usefulapp import get_thing_url
    5656<span style="color:green">In [4]:</span> get_thing_url(current_app='somethings')
    57 <span style="color:red">Out[2]:</span> '/some-things/one-thing/'
     57<span style="color:red">Out[4]:</span> '/some-things/one-thing/'
    5858</pre></div>
    5959}}}
     
    8686#!html
    8787<div class="code"><pre style="background: white; color:black; padding: 10px">
    88 <span style="color:green">In [2]:</span> reverse('usefulapp:usefullapp_one_thing')
     88<span style="color:green">In [3]:</span> reverse('usefulapp:usefullapp_one_thing')
    8989...
    9090<span style="color:red; font-weight: bold">NoReverseMatch</span>: u'passreset' is not a registered namespace
Back to Top