I don't really know how to explain well my issue. What I'm trying to do is the following.
My admins linked my Django server address 192.168.2.1:8001 to a web address: devel.genesilico.pl/modomics to make public the website that otherwise would be visible only on our local network.
If I visit that address I see the main page of my site without the static files, and if I try to visit another page the address changes to:
devel.genesilico.pl/modifications
So the modomics prefix path is removed and it cannot find the page.
I thought that changing my URLs.py adding modomics in front of all of them would resolve this issue, but no. At this point, the DEBUG of Django shows me this (photo attached).And also in this case the prefix "modomics" is removed.
I don't know what to do. I don't know if this problem is given by Django or by the setup of the web address that my admins gave me.
Note that I'm testing this only for the app Modifications.
Here my main urls.py:
urlpatterns = [
url(r'^admin/', admin.site.urls),
url(r'^', include('core.urls')),
url(r'^', include('modifications.urls')),
url(r'^', include('sequences.urls')),
url(r'^', include('pathways.urls')),]
And here the urls.py for the app modifications:
urlpatterns = [
url(r'^modomics/modifications$', views.modlist, name='modlist'),
url(r'^modomics/modifications/(?P<mod_name>.+)/$', views.moddescription, name='moddescription'),
]