This is the link ?
 <a href="/viewLit/edit/jira/{{record.circuitid}}" class="edit-item" target=
"blank" title="Edit">Edit Jira Info</a><br>


My project level urls.py is:

from django.contrib import admin
from django.urls import path, include
from django.conf.urls import url
import debug_toolbar

urlpatterns = [
    path('admin/', admin.site.urls),
    path('', include('homepage.urls')),
    path('searchlit/', include('searchLit.urls')),
    path('viewLit/edit/', include('editLit.urls')),
    path('viewLit/', include('viewLit.urls')),
    path('edit/', include('editLit.urls')),
    path(r'^__debug__/', include(debug_toolbar.urls)),
]

So, *editLit.urls* will be:

[...]
urlpatterns = [
        [...]
     path('jira/<str:circuitid>', views.editLit.as_view(),name='editLit'),
        [....]

]




Missatge de Patrick Carra <pcarra...@gmail.com> del dia dt., 26 de nov.
2019 a les 22:35:

> Correct me if i'm wrong but I think you meant:
>
> urlpatterns= [
>      path('circuit/<str:circuitid>',
> views.editLit.as_view(),name='editLit'),
> ]
>
> I did make that change but the results were the same.
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/53dd1d57-4465-4af3-9b9e-183a2f9b6913%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/53dd1d57-4465-4af3-9b9e-183a2f9b6913%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAK-JoTTi%3D1swLbefyCRFAWmdGN8gbHmajKrmVPYSTqvsGzttmQ%40mail.gmail.com.

Reply via email to