hi
--
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
Good Day,
I got this error how can I fixed it, plz help me out,
views.py
def edit_view(request, id , *args, **kwargs):
d1 = data.objects.get(id=id)
if request.method == 'POST':
form = dataForm(request.POST, instance=d1)
if form.is_valid():
form.save()
Dear all,
I start daphne like:
bin/daphne \
-b 127.0.0.1 -e
ssl:8001:privateKey=/.../cert.pem:certKey=/opt.../privkey.pem \
NewRweb.asgi:application
but daphne keeps listeinig on 0.0.0.0:
2021-09-13 13:39:45,785 daphne.cli INFO Starting server at
ssl:8001:privateKey=/.../cert.pem:ce
大家好
系統使用一段時間后,它滿足新的要求,需要添加一個新的表。如何使用它?
--
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
On 14/09/2021 12.20, Vikram J wrote:
I got this error how can I fixed it, plz help me out,
You edit path is missing an argument. Change this:
path('edit/', views.edit_view)
to something like this:
path('edit/', views.edit_view)
That ought to fix it.
Kind regards,
Kasper Laudrup
Hello
Sent from my iPhone
> On Sep 14, 2021, at 2:43 PM, Jonathan MBADOU wrote:
>
> hi
> --
> 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-user
6 matches
Mail list logo