Sebuhi
Macurrent
S.
Hi friends I have a inlineformset_factory
I wanna save items like "add new item"
when extras=1 and I post 3 item only 1 item save to model.
when extras=3 and I post 3 item 3 item save to model but on my form teplate render 3 form for this. But I wanna 1 form and when I click "add new item" template add 1 form.
How can I solve this. My english level is low. I hope you understant me clearly. Please help me.
S.
{% for field in form.visible_fields %}
<td>
{# Include the hidden fields in the form #}
{% if forloop.first %}
{% for hidden in form.hidden_fields %}
{{ hidden }}
{% endfor %}
{% endif %}
{{ field.errors.as_ul }}
{{ field }}
</td>
{% endfor %}
Doragonsureiyā
Macurrent
Sebuhi
Mirco
Mirco
Macurrent
What are some of the advantages of using react..could someone explain to me in a clear way...
Mirco
Macurrent
Mirco
Mirco
Macurrent
Yep
Do you need alot of knowledge in css grid, flask and html when using react
Mirco
Mirco
css/html even the basics
Mirco
Mirco
It's not a waste if u need them for your layout
Macurrent
Le Createur
Mirco
Héctor
what is engine ??
https://www.google.com/url?sa=t&source=web&rct=j&url=https://django-mongodb-engine.readthedocs.io/&ved=2ahUKEwjdxdyKhqbiAhUH01kKHcPLCckQFjABegQIAhAB&usg=AOvVaw2vwaYhg5vFIxrDRoXlZdcy&cshid=1558215775015
https://www.google.com/url?sa=t&source=web&rct=j&url=https://github.com/nesdis/djongo&ved=2ahUKEwi-t9KahqbiAhVNo1kKHbwUBa0QFjAKegQIAhAB&usg=AOvVaw2bfe-OhhH6LJs37AaYiEx7
Le Createur
Héctor
Which is better?
Le Createur
Which is better?
don' know. but you can check the number of fork/likes in github. do have an idea. no ??
Héctor
👍🏾
Anonymous
Hi to all,
I have a fuctions that calculte an index of somthing inside a class,
If any chance to call this methode from a tempate with javascript?
raven
Anonymous
Anonymous
Adzmely
Whatever it do, if you make it to work properly, it should work...if you want us to help u, u should show us your code paste bin etc...the thing that you want , should work and can be done ...
Macurrent
Yep
Are you in any english group in react you add me?
Mirco
highnes
def addquizmark(request):
if request.method == 'POST':
request.user.user_marks.mark=request.POST.get('fresult')
user.user_marks.save()
highnes
highnes
This gives me error RelatedObjectDoesNotExist
highnes
please help
highnes
class mark(models.Model):
user = models.OneToOneField(User,on_delete=models.CASCADE,related_name='user_marks')
grade = models.IntegerField(default=7)
mark = models.IntegerField(default=0)
highnes
its the models.py
Mirco
Use pastebin/hastebin with your code pls
Read the rules : @PythonRules
Anonymous
Try codebin
https://www.uphub.io/codebin
Anonymous
Hi everyone! I wanna share my project, and choose GPLv3 license. Is this license compartable with Django?
Mirco
Frontend tutorial ( ? )
Navruzbek
Hey folks, are there any tutorials for developing machining learning with Django framework
Mirco
Render the form in a template
Mirco
Still cannot understand what you wanna know , explain better pls
Mirco
Make a choice, use Django form or make your entire form into template and handle post data into the view
Mirco
Yw 😊
Anonymous
I am confused from where should I start django I am literally craving to get knowledge
Anonymous
Can u provide me with some udemy courses or any other it will be helpful thanks in advance
SatyendraN
You can start from djangogirl website
Anonymous
Someone here has worked w8th data-importer library
Anonymous
?
Anonymous
I need help with this
Anonymous
Help, please
Anonymous
José
hello, i have a project whereby i send a html email. the email includes a button that i want it to call a url in one of my apps in the project, what exactly am i supposed to do?
st9_8
st9_8
Anonymous
Hello, guys!
I'm making admin page on Django. I have 3 models - Role, User, Question. Any user has role. I want users with role A may be able to change questions and users with role B may not be able to change. How can I do that?
Mirco
JOSHUWA
Guys how to make a login form that execute a python script in server and show results in login form? With django
JOSHUWA
George
:)
Omia
Omia
simple is better than complex series is a great place to start
Sebuhi
Hello Python Community!
I would like to to create a connection between the device(Arduino) and web server by using the MQTT protocol. As tools, we will use RabbitMQ, Django, and Django-channels for web socket. The device should communicate to the server by means of message broker in order to pass data to interface and should be possible to get back subscription by in case of any change on the interface.
I know them theoretically and cannot apply practically to Django.
George
Mukesh khandelwal
can we access OUTLOOK messages from web application using DJANGO
Le Createur