pavan
how to divide file into 10 diff files using Chunk sizes in python
pavan
Anil
Does anyone tell me what is the use of dbrouters in django
M Latif
Hi friends i a problem with django
I have two table this two tables are join
But i can insert record and return type error _str_ none string
I don't know how i can solve this pls help me
Anil
Shafquet
class Meta:
        model = User
I didn't get can anybody explain it
Hossein.A
Shafquet
Hossein.A
While using UserCreationForm
Ok
Does not matter
This is says form class related to which model class...to use and listen to model fields
Ademola
hi guys. Please how do i use PermissionRequiredMixin in class base view. to grant permission to different user..e.g User of manager, employee and supervisor. They are to login in to different url after login. class ShowPage(LoginRequireMixin, PermissionRequiredMixin ListView).
Ademola
__deadsec__
Im getting a runtime error on installing debug toolbar how can i clear the error?
Doragonsureiyā
Im getting a runtime error on installing debug toolbar how can i clear the error?
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
__deadsec__
HI I just started django , I follow some tutorial and tried to install debug toolbar but its showing runtime error, python and django are updated, and followed the ofiicial document of the debug installer still im getting the error
https://linkode.org/#3kWnoL44qk5VpV4cILLQO6
Cynthia
Aleksandr
__deadsec__
Read line 7
i just googled it and find that to add django.contrib.sites but it didnt make any change
Heet Raval
How to solve django integrity error not null constraint failed????
Heet Raval
Pls anyone
Heet Raval
Help me it will be super helpful
Rajeev
Drf serializer.save() return null for the trigger prossessed field... How to get field value?
Breeze
pls i need help with this error, i have done everything necessary but it still persist...
OperationalError at /admin/
connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused
Is the server running on that host and accepting TCP/IP connections?
Prabhakaran
Aman
how can i fill a single {{form}} on two different pages e.g. ask email on first if email registered then password on next page
thanks in advance :-)
Shakthi
Heet Raval
Anonymous
Any learning guide to GraphQl with django
Shakthi
Aman
Heet Raval
Lavrentiy
Guys, I'm at a crossroads right now, do I need to read a book by Tony Gadis or Eric Mathis, or I can start learning Django right now? ( Before that I read the A byte of Python book )
Anonymous
I have a problem with my django app
Anonymous
But i dont know how to fix this
Aman
thanks alot now page is not refreshing and that is the real thing for which i was looking
G4st0n
Hello, need some help here im deploying my django App wich has now two folders, v1 and v2. The thing here is that v2 folder has some functionalities depending on v1 folder so, when i ran v2 app on local it goes one level up and everything is fine, but with Docker i get this
G4st0n
unknow or duplicate parameter WSGI Path
Hossein.A
Anonymous
I have a django app on pythonanywhere and when i try to post fotos is not working
(⌐■-■)
Is there any error message?
Anonymous
It says card image cap under my post , where should be the photo
Anonymous
Unfortunatelly i cant post any photo on this channel
Doragonsureiyā
Unfortunatelly i cant post any photo on this channel
Rule 5️⃣: To share code or error tracebacks, use an online pasting service like:
- https://dpaste.org
- https://linkode.org
- https://hastebin.com
- https://bin.kv2.dev
If you posted a wall of text, go back and delete it.
Anonymous
I try to post a photo as example
Anonymous
Ook
Anonymous
https://imgur.com/a/9ec0tzL
Anonymous
Here is the error
Anonymous
The photos arent working
Anonymous
I mean the photos on my django app
Bright
Please friends I'm a laravel developer and now I want to learn a new language
Bright
I have learnt python a little but my friend ask me to learn react, please any advise
Bright
Thanks so much
Fan / Ac
Ziad
Hi all how are you, I have in my case a google, facebook, and twitter authentications with django rest framework so is there any library to use it to integrate those aithentication into my code?
Ziad
If anybody have any experience with it please give me some hints
Ziad
Breeze
The port might be busy try another port
I have cross checked the port id and they are same...
Actually! my django app was deployed on heroku and my database is postgres...
maybe this info might help
Charly
Breeze
Breeze
yes
The first time i deployed, it worked fine
but i made some changes and pushed again and the admin went off....
Charly
yes
How are you doing that? If that's true then it shouldn't run on localhost
Breeze
Breeze
One more thing to point out...
When i run $ heroku logs - - tail on my heroku CLI, i get this error..
raise HaltServer(reason, self.WORKER_BOOT_ERROR)
gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
Charly
Breeze
I'm talking about the Postgres database
I have postgres installed locally...
let me make it simpler, the prostgres db which i use on local is not connected to the one i use on heroku...
So each time i deploy, i would have to migrate my tables via the CLI
Breeze
Richard
Hello
Richard
I want to know how to use a variable python in JavaScript