Charly
Wait in this screen chat untill i write the code
I have other things to do I won't be here waiting. And copy paste was invented decades ago
Shayan
I have other things to do I won't be here waiting. And copy paste was invented decades ago
Please be kind , i don't have any problem with you that you speak badly tome
Charly
Charly
Please be kind , i don't have any problem with you that you speak badly tome
I'm not taking badly to you. But you can't say to me to wait here. Be patient as everyone this not a paid service
Shayan
I'm not taking badly to you. But you can't say to me to wait here. Be patient as everyone this not a paid service
My english is not very godd i don't have any information about talking behavior to somone. Forgive me 🙏
Charly
Why?
Lacks a comma, the names for settings are usually in uppercase
Charly
My english is not very godd i don't have any information about talking behavior to somone. Forgive me 🙏
Then don't get offended because you think I'm talking to you badly
Charly
Staticfiles_dirs = [ Base_Dir /"mystatticfiles ]
Also this is not enough, we don't know what you have in the template and what's the error you say it just looks different but not how.
Charly
ok thankyouuuu bro
Copy and paste the code don't rewrite it because you won't show us the real code that way
Doragonsureiyā
ok thankyouuuu bro
Rule 5️⃣: Never post walls of text or screen photos. Use paste bins like https://dpaste.org, https://hastebin.com, https://bin.kv2.dev or your favorite one!
park seo joon
Any errors?
That's the biggest problem it's not displaying error
Charly
That's the biggest problem it's not displaying error
Then why you say you can't create objects?
clouded
That's the biggest problem it's not displaying error
What do you see instead? If debugging enabled?
park seo joon
Then why you say you can't create objects?
Like I said I have a post where a only a registered user can create a post so if I tried creating a post object from the server side it's not working but I can create it with Django orm or from admin panel so I was asking if I'm working with with huge files if database can make it happens like that?
park seo joon
What do you see instead? If debugging enabled?
My debugging is enable I have alot of files in the project. Though this was my first huge project it's not displaying any error just not creating a post object from the server side. I catch it, clear browser and every other things
park seo joon
Sorry what it has todo thw huge files? you can create from admin or orm directly because you may created the rule on the view
You mean if I'm working with huge files it happens like that but if the app is hosted it will work normal?
Charly
I still don't understand, what do you mean you can't create objects on the backend but yes with the ORM and admin?
park seo joon
Do you know how to use the developer tools of your browser?
Yeah I checked the console but there is no issue that's why I'm confused
clouded
Yeah I checked the console but there is no issue that's why I'm confused
Console is for JavaScript. What about the network tab?
Un Poco Loco
No, I mean huge files can't generate any error
You are admin right? Why don’t you allow him to send you voice I think it’s better to understand each other using voice messages than text
Charly
You are admin right? Why don’t you allow him to send you voice I think it’s better to understand each other using voice messages than text
That's an awful idea, you don't even know if he speak English enough! To have a conversation like that. And written communication is way more specific
Un Poco Loco
Yeah I checked the console but there is no issue that's why I'm confused
Bro why don’t you dm them I think what you are is not clear for them.
Charly
Bro why don’t you dm them I think what you are is not clear for them.
Sending unsolicited DMs is forbidden, stop giving bad advice
Un Poco Loco
Is it for you?
Not for me I am just showing empathy man
park seo joon
I still don't understand, what do you mean you can't create objects on the backend but yes with the ORM and admin?
I mean if I runserver and go to my browser just like I have to create a post it's not working but if I use Django orm from my terminal it works I will see the post is created and I can also view the post also admin panel but not from the browser
Charly
Not for me I am just showing empathy man
Then don't suggest him to break the rules, have some empathy
Un Poco Loco
That's an awful idea, you don't even know if he speak English enough! To have a conversation like that. And written communication is way more specific
No, it’s not awful It’s just recommendations from my side I am sorry if I made a mistake He may speak more than he wrote who knows. Sorry guys I thought it was a time saving
park seo joon
"is not working", be more specific
You know after I runserver I can access my project look on browser, and do anything as long I have validate everything like for instance I'm creating an article after validating the models but this it's not creating a post
Un Poco Loco
Then don't suggest him to break the rules, have some empathy
If it’s against the rule he has to try more until he reached common ground tho Thank you guys for your help
Charly
Show the code of the view
Doragonsureiyā
If it’s against the rule he has to try more until he reached common ground tho Thank you guys for your help
Rule 5️⃣: Never post walls of text or screen photos. Use paste bins like https://dpaste.org, https://hastebin.com, https://bin.kv2.dev or your favorite one!
park seo joon
https://dpaste.org/
Charly
I don't know how to use this
You open the link, you paste the code there, you click the button to create the paste, you share the link here
park seo joon
https://hastebin.com/share/ibuzenexet.less
park seo joon
https://hastebin.com/share/ibuzenexet.less
Did you mean something like this
Charly
yes
Charly
https://hastebin.com/share/ibuzenexet.less
So you see the "'Post uploaded successfully." message ?
park seo joon
https://hastebin.com/share/hepifukipi.python
park seo joon
Charly
Ikki
It is posible work with flutter?
Charly
It is posible work with flutter?
You can work with whatever you want, what it has to do with the group topic?
park seo joon
The code is supposed to validate a post and save it right, but even when the user enter the inputs and click save the save button is not saving the input
park seo joon
But you see the same page? you get redirected? Did you added a proper form?
I use a form at first place but it's not even display the the input even after I specified the fields to be display so I use template input to validate the models
Charly
If you dont use a form of cours this won;t work
park seo joon
https://hastebin.com/share/fecuyadipu.xml
park seo joon
If you dont use a form of cours this won;t work
It's works there are a lot of approach in validate user input unlike my signin signup I use input to validate it for better interface
Charly
https://hastebin.com/share/fecuyadipu.xml
So what exactly happens when you click upload? Are you putting a big file there?
Charly
Can you show also the console output?
park seo joon
Input is what a user provide and there are a lot of approach in validating them. You can use a normal form or a modelform or template input those are the ones I know and I have tried the form and modelform but it didn't work
park seo joon
Charly
What approach can I use
I dont know what you want to validate, but that has nothing to do with your issue yet
Charly
Focus on solving this, then you canmove forward
Maroua
hello everyone i want some help with login and logout i created a button of login once i click and write the user infos it has to take me to the home page and the login button change into logout , it goes to the home page but the button doesnt change and if it did , when i logout and login again it doesnt change .. how can i fix this ??
park seo joon
I'm trying to create a post just like how article is created
Charly
I wrote query for the post
The code you shared only has a Post.objects.create()
Charly
I'm trying to create a post just like how article is created
I dont know what article are you talking about