Hi,
   * path('viewLit/edit/', include('editLit.urls')),*
    path('viewLit/', include('viewLit.urls')),
  *  path('edit/', include('editLit.urls'))*,

look at above in project level urls.py, give a try by commenting any one

On Wed, 27 Nov 2019 at 03:30, Patrick Carra <[email protected]> wrote:

> It's actually this I copy and pasted the wrong thing:
>
> <a href="/viewLit/edit/circuit/{{record.circuitid}}/" target="blank" class
> ="edit-item" title="Edit">Edit Circuit 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('circuit/<str:circuitid>',
> views.editLit.as_view(),name='editLit'),
>         [....]
>
> ]
>
> But it doesn't work it gives me the same error:
>
> *SELECT* ••• *FROM* "circuitinfotable" *WHERE* "circuitinfotable"."circuitid"
> = 'edit/circuit/STTK-100G-18040-01-WRBB'
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/a4e4c292-11cb-443f-8a2a-bcb91053f6f1%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/a4e4c292-11cb-443f-8a2a-bcb91053f6f1%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Thanks & Regards,

Raja Sekar Sampath
+91 9087434567.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAAS5AE7dSUbwB9bWsFENcB4gcXa_vDpybcbM3OLtye5O9nrc9w%40mail.gmail.com.

Reply via email to