Permalink
Browse files

Now real link to admin and add page(In case some people running admin…

… not at /admin/ url)
  • Loading branch information...
1 parent 1aa8ab0 commit f4fc346e29a2d7ffb39e766bb4ee848c4e8d4230 @MechanisM MechanisM committed Jan 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 cms/templates/cms/new.html
@@ -48,7 +48,7 @@
<div class="box-right">
<h1>Welcome to the django CMS!<br />Here is what to do next:</h1>
<p>&nbsp;</p>
- <h2>Log into the <a href="/admin/">admin</a> interface and start <a href="/admin/cms/page/add/">adding</a> some pages!</h2>
+ <h2>Log into the <a href="{% url admin:index %}">admin</a> interface and start <a href="{% url admin:cms_page_add %}">adding</a> some pages!</h2>
<p class="info">Make sure you publish them.</p>
<p>&nbsp;</p>
<p class="padding-top">

2 comments on commit f4fc346

Contributor

fivethreeo replied Jun 2, 2012

Breaks when using multilingual urls. To test add 'cms.middleware.multilingual.MultilingualURLMiddleware' to settings.

Contributor

fivethreeo replied Jun 2, 2012

Um, sorry, was just a PEBKAC over here. Breaks nothing.

Please sign in to comment.