Christof
ok thanks
The
Hello guys, help me please, with what i can save or insert into database video scripts ? Which method is best to use&
𝕂𝕠𝕞𝕣𝕠𝕟𝕓𝕖𝕜
Raghavender
What is desktop application? In python
Mirco
Artem
Hi guys! Does anyone know how to change datetime format for DateTimeField in Django REST? I've tried a lot of ways throughout of internet but none of them helped me. I would appreciate any help
Mirco
Artem
Artem
Artem
Mirco
Anonymous
Hi, I've a problem. I tried to make a menu bar in django project, adding one js function. However, when i push on menubar button, the entire site gets disappeared, why is it so?
نعيم
I'd like to pass mulitple urls to html template buttons in a for loop, each href link refers to its correspond page in the urlpatterns paths... Any leads would be appreciated!
<div class="btn-group">
<a href="{% url 'page1' %}" class="btn btn-primary my-2">View</a></div>
I managed to get the link of one page on all buttons when the above code is inside a for loop, now I want to get all pages instead.
Anonymous
Akshat
i am creating a todo task project so i have created a task html file but when i import it in admin it doesnt works
also the urls.py file that i have created in the app homi
gives me error
from django.urls import path
from homi import views
urlpatterns = [
path('', views.homi, name='homi'),
path('tasks', views.tasks, name='tasks')
]
error : Cannot find reference 'views' in '__init__.py'
from django.contrib import admin
from home.models import Task
admin.site.register(Task)
and Task gives me error unresolved reference
Maxwell
How does one implement a carousel that gets images from the database??
Anonymous
There's a function for that I really forgot that 😅
Anonymous
Anonymous
He has given there clearly
Maxwell
Ankit
Hi guys, can any one help me with the issue. Actually bootstrap modalform I am using in django but after sumit window is not getting close and going to reference page.
Anonymous
Why my js function works in console, but onclick event doesn't?
Rup
Credit= models.FlotField(blank=True, null=True)
Still facing the validation required error
Rup
Not getting it. I am allowing blank=True still it demands for value
Rup
Please help.
Anonymous
Harsh
Anonymous
Anonymous
Hey guys ...has anyone successfully pushed their project to heroku before? I always get these errors whenever I try to upload my projects
Anonymous
.
Jacek
What are the errors?
Anonymous
What are the errors?
Error: failed to push some refs to 'https://git.heroku.com/blogster-gangstar.git....
.
I believe this to be the error message
Jacek
You have a problem with git thus
Anonymous
Jacek
I think you are not allowed to push to master
.
Can anyone help. How to construct views in such way
/api/categories/:id/products/:id -> POST.
Maybe you have some code sample, then i can see it how to implement
Marcos
What does the hook file looking like?
Marcos
Marcos
In what view you will include is up to you and how your business logic needs it, regarding save I think it should be on ProductView when saving override form_valid method,
def form_save(self, form):
self.object = form.save(commit=False)
self.object.category = Category.objects.get(pk=self...............
self.object.save()
.......
return your reaponse
Anonymous
Anonymous
Gracias
Anonymous
Amigo
Marcos
De Nada
Akshat
aakash
Guys I am new to django, I have understood the basics and now wanna understand how to make user specific pages, can anyone reccomend any video or link for the same?
Zey
Yevhen
Yevhen
Really
It's the best resource for learning Django
Marcos
Examples on official documentation are far from being complicated
Poojitha
can anyone tell me how to display a url field in html template
Ganesh
Poojitha
no... models and using django admin
âshîsh
<a href='your_url_link'> click here </a>
Poojitha
{{r.url}} ? is it correct?
Poojitha
no i was taking from models.py
Poojitha
storing urls in db and then retrieving
Ganesh
Did you create URLField in your model?
Poojitha
yes
Anonymous
You're selling code!?
Anonymous
But removes the ability to multithread
Anonymous
🦁🦅
Abdul Shakoor
those who used poetry, can you tell me why I should use poetry?????