Monday, July 16, 2018

Re: how-to-fix-the-field-error-issue-in-django

i dont use class based views , but in function based views , my url would be like this 

urls.py

path(' ', views.list , name='list'),
path('<int:id>', views.detail , name='detail')

views.py

def list(request):
    ...


def detail(request, id)
    ...






On Mon, 16 Jul 2018, 13:37 gomathi subramanian, <royalgoms@gmail.com> wrote:
Hi Django people,

Kindly help me to resolve this issue.


Thanks,
Gomathi Subramanian

--
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+unsubscribe@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/4ded4ca3-e8eb-4e4a-9d2a-f563bdfdc6ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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+unsubscribe@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/CAHV4E-eGufd-NUX25y75esm8PW8W23mb72GCwqcwcFYS8QCrsw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment