python - Pages not showing in django CMS Admin interface -


i've been following django cms tutorial provided on website, , after solving 1 or 2 tricky problems, i'm stumped current system behaviour.

in pages section of admin interface, none of pages being displayed. interface looks this: http://imgur.com/3qguvnz

even after clicking add page button , filling in necessary fields, nothing displayed. following code displayed in html source of page, think may relevant 1 of pages:

<li id="page_2" class=" moveable"" rel="topnode"> <div class="cont ">     <div class="col1">             <a href="2/" class="title" title="edit page">none</a>             <a href="2/" class="changelink" title="edit page">edit</a>     </div>     <div class="col2">         <span id="move-target-2" class="move-target-container" >             <a href="#" class="move-target last-child" title="insert inside">↘</a>         </span>         <div class="col-softroot"><span class="icon softroot-icon" title="home"></span></div>         <div class="col-language">             <a href="2/?language=en" title="edit page in en ">en</a>         </div>         <div class="col-actions">             <a href="#" class="move" title="cut" id="move-link-2"><span>cut</span></a>             <a href="#" class="copy" title="copy" id="copy-link-2"><span>copy</span></a>                     <a href="./add/?target=2&amp;position=last-child" class="addlink" title="add child" id="add-link-2"><span>add</span></a>             <a href="2/delete/" title="delete" class="deletelink"><span>delete</span></a>         </div>         <div class="col-navigation">             <label>                 <img alt="false" src="/static/admin/img/icon-no.gif" />                 <input type="checkbox" class="navigation-checkbox" name="navigation-2"  value="0" />             </label>         </div>         <div class="col-published">             <label><img src="/static/admin/img/icon-yes.gif" alt="true" /></label>                 <input type="checkbox" class="publish-checkbox" name="status-2" checked="checked" value="1" title="unpublish"/>             <a href="./2/preview/?public=1" title="view on page" class="icon selector-add viewpage" id="view-page-2"><span>view</span></a>         </div>         <div class="col-published">2013-07-11</div>         <div class="col-view-perms"><span title="restrictions: none"><img src="/static/admin/img/icon-unknown.gif" alt="none" /></span></div>         <div class="col-lastchange">         </div>         <div class="col-creator">systems</div>     </div> </div> </li> 

as can see, various buttons "cut" , "edit page in en" contained within code, not displayed on page.

for sake of completeness, here relevant code urls.py file:

from django.conf.urls.defaults import *    django.contrib import admin    django.conf import settings     admin.autodiscover()     urlpatterns = patterns('',        (r'^admin/', include(admin.site.urls)),        url(r'^', include('cms.urls')), 

the pages i've created stored in database, problem case of them not being displayed.

 id | created_by | changed_by | parent_id |         creation_date         |         changed_date          |       publication_date        | publication_end_date | in_navigation | soft_root | reverse_id | navigation_extenders | published |    template     | site_id | login_required | limit_visibility_in_menu | level | lft | rght | tree_id | publisher_is_draft | publisher_public_id | publisher_state ----+------------+------------+-----------+-------------------------------+-------------------------------+-------------------------------+----------------------+---------------+-----------+------------+----------------------+-----------+-----------------+---------+----------------+--------------------------+-------+-----+------+---------+--------------------+---------------------+-----------------   1 | systems    | systems    |           | 2013-07-11 11:34:18.216835+01 | 2013-07-11 11:34:18.216866+01 |                               |                      | f             | f         |            |                      | f         | template_1.html |       1 | f              |                          |     0 |   1 |    2 |       1 | t                  |                     |               1   3 | systems    | systems    |           | 2013-07-11 11:42:45.476683+01 | 2013-07-11 11:42:45.47671+01  | 2013-07-11 11:42:19.135606+01 |                      | f             | f         |            |                      | t         | template_1.html |       1 | f              |                          |     0 |   1 |    2 |       3 | f                  |                   2 |               0   2 | systems    | systems    |           | 2013-07-11 11:42:24.136515+01 | 2013-07-11 11:42:45.515485+01 | 2013-07-11 11:42:19.135606+01 |                      | f             | f         |            |                      | t         | template_1.html |       1 | f              |                          |     0 |   1 |    2 |       2 | t                  |                   3 |               0 (3 rows) 

thanks. let me know if there's else can include find solution.

problem solved adding trailing slash admin_media_prefix reads:

admin_media_prefix - '/static/admin/' 

Comments