]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/forms/admin.py
q may not be there
[osqa.git] / forum / forms / admin.py
index a1d7b72d6be72d53eee14ccbc143894739b6a6de..1ff2e8549d9b145a7e3bdd5e2b495464d144f111 100644 (file)
@@ -58,9 +58,8 @@ class UrlFieldWidget(forms.TextInput):
 
         return """
                 <input class="url_field" type="text" name="%(name)s" value="%(value)s" />
-                <a class="url_field_anchor" target="_blank" href="%(app_url)s%(script_alias)s"></a>
-            """  % {'name': name, 'value': value, 'app_url': settings.APP_URL,
-                    'script_alias': settings.FORUM_SCRIPT_ALIAS}
+                <a class="url_field_anchor" target="_blank" href="%(app_url)s"></a>
+            """  % {'name': name, 'value': value, 'app_url': settings.APP_URL}
 
 
 class PageForm(forms.Form):
@@ -105,4 +104,4 @@ class CreateUserForm(SimpleRegistrationForm, SetPasswordForm):
         self.fields['email'].label = _('email address')
 
 
-    
\ No newline at end of file
+