Alex
Hamidreza
Anonymous
Hello, can anyone help me out with how to render a pdf in django with images on it? I have the images with their url?
Charly
Zoha
Hi, i have one manytomanyfield in my news app to category app and i want to get more than 1 category from user and save it, but idk how, is there anyone help me ?
Anonymous
Zoha
Ali
And in the views how can i store it ?
i assumed u don't use django forms,
if you do,this is not standard i guess,
but if you don't,
well, it's an array that you have in your view,you can iterate over it..
luci._
hello
luci._
How can I validate the time to create a model
luci._
an instance
Alex
Doragonsureiyā
How can I validate the time to create a model
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, you have to explain:
- what you're doing
- what you're expecting
- what you're using
- where you're running the script
- what Python version you're using
- what packages and their versions you're using
- and the most important thing: show the code YOU wrote (read rule 5️⃣ for that)
and more details, that way your chances to get help will increase
luci._
i dont have code, im doing a delivery system, but people shouldn't do an order after 11 o'clock. I have a order models and i want to validate the time
luci._
if it's more than 11
i want to hide the template
luci._
or other option, but the only way I can think of
datetime.now()
luci._
aaaah see this
luci._
sorry i cant send media :c
Alex
luci._
but thanks for the link
Mirco
Doragonsureiyā
sorry i cant send media :c
To share code or error tracebacks, be considerate and use an online pasting service - here is a list of suggested sites:
- https://del.dog
- https://dpaste.org
- https://linkode.org
- https://hastebin.com
- https://bin.kv2.dev
If you post a wall of text message (many lines), delete it quick or you may get a warn strike.
Alex
Mite
Any one with open source django chat application..who can give me the sourcecode...
Mirco
Mite
! search
I can't not find in Google
Alex
Mirco
Mite
Mirco
Yeah definitely
https://github.com/juanifioren/chat-example-with-channels
Mite
Mirco
And I used Google so it's not possible you was not able to find it 😅
Mite
Ing. Mario Tamayo
Is it possible to implement a shopping cart without authentication
Mirco
Ing. Mario Tamayo
I just finished a site using an app named django-shopping-cart and in 127.0.0.1 everything was fine but when i run the server in an actual ip address i get key error at cart when trying to acces request.session['cart'].
Ing. Mario Tamayo
all that i did was remove de login required decorator of the views
Doragonsureiyā
レザ
luci._
how can i do a asynchronism
in django 3 whitout celery? I have to send a reminder on slack
Rahkmanuly
luci._
thanks, i will read it
Deleted
Hey guys, how to get SSL CA certificate files for python web projects? Thanks
Vinod
Django_q library
It will need some message broker, without this any possibility?
Rahkmanuly
Aneesh
How to implement indendity server in django
Aneesh
Any one know about this
Aneesh
?
Faisal
Django restframework-sso
Unknown
Hi
When I run my code , browser show me : value Error , The view didn't return an HttpResponse object. It returned None instead .
Although I import redirect and use it with return statement.
Help me to find the problem please.
Charanpreet Singh
Hey , I wish to use Mongodb with django , it is my first time I am working with any database , does anyone has any good resources to start with the same ? Kindly share if you have any ! :3
Anonymous
Ad
Hello all,
I have a model that stores employee name and created date when a deal is successful. In the list_display() of django admin instead of showing all the objects, I want to display individual employee name and its count in current year.
Jack👨🏻💻
@admin.register(model_name)
class model_nameAdmin(admin.ModelAdmin):
list_display =(field names of your model arrange like tuple)
Jack👨🏻💻
add the above code in admin.py
Jack👨🏻💻
i think it will work
Viswa
File "C:\Users\91861\AppData\Local\Programs\Python\Python38\lib\site-packages\django\core\management\commands\runserver.py", line 64, in get_handler
return get_internal_wsgi_application()
File "C:\Users\91861\AppData\Local\Programs\Python\Python38\lib\site-packages\django\core\servers\basehttp.py", line 47, in get_internal_wsgi_application
raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: WSGI application 'constractionsite.wsgi.application' could not be loaded; Error importing module.
Viswa
getting this error
Viswa
anybody can help me
レザ
I want to implement forms like admin TabularInline forms in Django template. any body can help me with this?
Anonymous
Halo everyone I am in need of a study partner(s) on the journey of learning django i have a background knowledge of programming but willing to cooperate with individuals who are trailling on the same journey
Anonymous
Any serious individuals who want it as badly as me they should add me up..👌👍
Anonymous
Am sure its gonna be an amazing journey to mark
レザ
レザ
Can i ask what is admin's ID? i can't find him/her in members
Anonymous
different clients? telethon itself?
Anonymous