Roman
Roman
do you think : " path("add/save/", add_save, name='add_save')," ?
Roman
There it's called add, not add_save
Request URL: http://127.0.0.1:8000/bboard/add/%7B%25%20url%20'add_save'%20%25) The current path, bboard/add/{% url 'add_save' %), didn't match any of these.
mhamed
Hi
Muflone
mhamed
I have a problem in django
mhamed
When I past the urls of image in my urls in django and when I save make error
Muflone
Muflone
{% url ... %}
Roman
Roman
{% url ... %}
But now i have this mistake :
Exception Type: NoReverseMatch at /bboard/add/save/
Exception Value: Reverse for 'by_rubric' with keyword arguments '{'rubriс_id': 1}' not found. 1 pattern(s) tried: ['bboard\\/(?P<rubric_id>[0-9]+)\\/$']
Muflone
Muflone
Show your forms.py
Anonymous
How can I call same model from model.py into different functions within same views.py file
Anonymous
Of a single app
Anonymous
I tried calling the first function into another function but couldn't achieve the desired result.
Anonymous
Is something needs to be done in html file or model file
Omar
Anonymous
Function
Александр
tell me how to pass in restAPI ImageField, if through the postmen form-data norms everything goes, then in raw Post gives 400 until you remove img
in json, the link looks like "image": "/static/img/No_photo.jpg",
Nikolay
Anonymous
Hi all, any python freelance work here?
Anonymous
Any one help me
Anonymous
What data type does URL pattern maps
Anonymous
Anonymous
What is the superclass of django form
Anonymous
Help me out guys
Anonymous
Nikolay
Anonymous
Anonymous
Allow type of url patterns
Nikolay
Yes bro
As I know, list or tuple, under the hood Django make them dicts, with name as key. But I’m not sure
Space
Hello fellas
Space
I have a form and a model, nothing is wrong there, but my html isnt showing form. despite me adding {% csrf_token %}
{{subscriber_form.as_p}}
Space
its a simple subscription form, which takes names and email
Space
What and where should I check to fix this?
Nikolay
Space
Change the name of my form then?
Nikolay
Change the name of my form then?
how do u send it? if something like this:
return render(request, 'template.html', {'subscriber_form': SubscriberForm}
subscriber_form.as_p is the right way, otherwise probably form sends in context as form
Space
hmm, let me check if this works
Space
I wonder if telegram allows screen sharing
Nikolay
Space
Nikolay its here https://dpaste.org/fThq
Space
so my empty form wont show on page, unless I give it get method, right?
Space
Sure
Anonymous
Thank you
Space
im still working on that issue
Anonymous
you only create the form on the post method, you should define the GET if and create the form in there too
Anonymous
and maybe checkout the class FormView
Space
form isnt being shown on the page like this pic below
Space
https://media.geeksforgeeks.org/wp-content/uploads/20191114130318/django-form-as-p-render.png
Nikolay
Space
Nothing,only submit button is shown
Anonymous
Hi in our company there is openings for Django/ python developer with 2 years experience work location is bangalore any one interested message me
Hardik
Can anyone tell me how to my host my website live . I am using django and currently using my local server
Mimi Khalid
Hi guys, Im Mimi and I'm new here. I am currently developing system that used django-viewflow pro as the engine for workflow. Does anybody here familiar with django viewflow? I need some help 😄
Anonymous
I want to learn Django And help
Doragonsureiyā
I want to learn Django And help
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
Anonymous
Thanks
Baku
How to get id of post request?
Doragonsureiyā
How to get id of post request?
Please provide a full explanation including all the details that you consider relevant. Your statement is too broad and there is no clear way to answer you. Include details such as libraries, platform, modules, etc. and also show your code using any pasting service.
Nayan
Hi can someone please help me with , how should i get URL Parameter to the class based view.
What i am trying to do is getting the parameter from URL , AND then want to filter itbin queryset and with the help of django tables 2 want to display all my data into table .
Nayan
I am getting error - got an unexpected keyword argument serial number
Nayan
My url pattern - url('results/(?P<serialnumber>.+)), views_class.results.as_views(), name='results',
Nikolay