I write cloud panel write python/django. My problem is, urls.py doesn't 
access next forward directory. I use apache. when it is go to next forward, 
this page is showing: 


<https://postimg.org/image/b1t9s26b9/>


my urls.py inside:

<https://lh3.googleusercontent.com/-5DzIit0XaKE/Wpp1RGd-_wI/AAAAAAAACMs/MAD1OxGKWbIImRVPsNqgccyVVEoI1W_cQCLcBGAs/s1600/7.png>


from django.conf.urls import patterns, include, urlfrom django.contrib import 
adminfrom django.views.generic.base import TemplateView

admin.autodiscover()

urlpatterns = [
    url(r'^admin/', include(admin.site.urls)),
    url(r'^$','explorer.views.home',name='home'),
    url(r'^servers/$','explorer.views.servers'),
    url(r'^addserver/$','explorer.views.addserver'),
    url(r'^removeserver/$','explorer.views.removeserver'),
    
url(r'^manage/(?P<server>[\w]+)/(?P<path>[\w]+)/$','manager.views.filemanager'),
    
url(r'^navback/(?P<server>[\w]+)/(?P<path>[\*\w]+)/$','manager.views.navbackward'),
    
url(r'^naviforward(?P<server>[\w]+)/(?P<path>[\*\w]+)/(?P<dir>[\w]+)/$','manager.views.navforward'),
    
url(r'^edit/(?P<server>[\w]+)/(?P<path>[\*\w]+)/(?P<file>[\.\w]+)$','manager.views.editdata'),
    
url(r'^saveandsend/(?P<server>[\w]+)/(?P<path>[\*\w]+)/(?P<file>[\.\w]+)$','manager.views.senddata'),
    
url(r'^upload/(?P<server>[\w]+)/(?P<path>[\*\w]+)/$','manager.views.uploadfile'),
    
url(r'^delete/(?P<server>[\w]+)/(?P<path>[\*\w]+)/(?P<file>[\.\w]+)$','manager.views.deletefile'),
]

my views.py inside:

<https://lh3.googleusercontent.com/-rYY3AwaJK0E/Wpp1JutZebI/AAAAAAAACMo/lTf3hFxQQoUWIkpwlCxxaa5BGDcO-ckZQCLcBGAs/s1600/2.png>


https://postimg.org/image/s2c60qr2d/


views.py inside for ssh connection and sftp connection : 


<https://postimg.org/image/635rdjhxx/>

https://postimg.org/image/635rdjhxx/


my routing to html file inside:

<div class="col-md-4">   {% if path != orginalpath %} 
  <a href="http://127.0.0.1:8000/navback/{{ server }}/{{ modpath }}/">
<span class="glyphicon glyphicon-arrow-left" style="color: #ac2925;height: 
30px"></span></a>
 {% endif %} {% for d in dirs %} 
<ul> 
   <li> 
        <span class="glyphicon glyphicon-folder-close" style="color: 
#eea236"></span>
        <a href="http://127.0.0.1:8000/naviforward/{{ server }}/{{ modpath 
}}/{{ d }}/">{{ d }}</a> 
   </li>
</ul> 
{% endfor %} 
</div> 


if you're access to project and image you can be look in link:


<https://postimg.org/gallery/3iakj1t7a/>

https://postimg.org/gallery/3iakj1t7a/


<https://gitlab.com/rection/Cloud-Panel-Django.git>

https://gitlab.com/rection/Cloud-Panel-Django.git


How to be solution my problem? 


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d0d88a09-272b-494d-a1eb-a25cd77a5ffd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to