diff options
| author | tom christie tom@tomchristie.com | 2011-01-27 21:19:25 +0000 |
|---|---|---|
| committer | tom christie tom@tomchristie.com | 2011-01-27 21:19:25 +0000 |
| commit | e9168b508b38b545406089c8592342e5eb70f9f9 (patch) | |
| tree | eca0ff410c21374a6e055be1c71bd671e640a4ed /flywheel/templates/emitter.html | |
| parent | 216baa551fdce6394aa640ee0806c79b38658daf (diff) | |
| download | django-rest-framework-e9168b508b38b545406089c8592342e5eb70f9f9.tar.bz2 | |
Login/Logout and FlyWheel API link in HTML emitter - Add templates, quote next value, only use login/logout if settings.LOGIN_URL and settings.LOGOUT_URL are in urlconf
Diffstat (limited to 'flywheel/templates/emitter.html')
| -rw-r--r-- | flywheel/templates/emitter.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/flywheel/templates/emitter.html b/flywheel/templates/emitter.html index 7078eafd..7959af17 100644 --- a/flywheel/templates/emitter.html +++ b/flywheel/templates/emitter.html @@ -36,11 +36,11 @@ {% if 'GET' in resource.allowed_methods %} <div class='action'> - <a href='{{ request.path }}'>GET</a> + <a href='{{ request.path }}' rel="nofollow">GET</a> <ul class="accepttypes"> {% for media_type in resource.emitted_media_types %} {% with resource.ACCEPT_QUERY_PARAM|add:"="|add:media_type as param %} - <li>[<a href='{{ request.path|add_query_param:param }}'>{{ media_type }}</a>]</li> + <li>[<a href='{{ request.path|add_query_param:param }} rel="nofollow"'>{{ media_type }}</a>]</li> {% endwith %} {% endfor %} </ul> |
