Harry gorilla
The django github code does not flow for me... For example, what happens if i go to django folder in the offcial github repo?
Harry gorilla
I just don't know how i can start reading those django github codes
Sr
Can anyone help me in completing the project
Sr
Django project
jūdê
In your settings.oh
jūdê
Do “import os “ in your settings.py
jūdê
It will run
jūdê
I don’t understand.
Kamronbek
In settings.py do the following as Jude said. import os
Ousmane
Good morning everybody I want intégrate my model in weather prévisiouns app with django. What are they procédur help me I’m new
༒ROHIT
I am unable to get Previous saved address of user in my template {{ address.(.......) }} What should be placed after address to get users pre saved address.. Need help with this
Ruchit
How to horizontally scale a postgresql schema seperated database (django-tenants)
Sandeep
Kk
Doragonsureiyā
Kk
To share code or error tracebacks, use a pasting service, like: - https://linkode.org - https://dpaste.org
ky
how to upload new postgres database file
ky
https://codewithkky.blogspot.com/2022/03/how-to-import-sql-file-in-postgres.html
ky
i am trying this command but not working
ky
psql -U "user_name" -d "database_name" < "sql_file_name"
༒ROHIT
Share your model and view
I just dm u..plz check if possible..
Sandeep
Np, its a post request
Sandeep
You can try it on http://165.232.188.116:7000/login/
Sandeep
https://linkode.org/#bFzsyQotPAzozyR9plQvy1
Sandeep
its code
Sandeep
https://linkode.org/#bpmAWpWawCOSm0dAOEbqj4
Sandeep
its error
Sandeep
its an html error
Doragonsureiyā
I just dm u..plz check if possible..
Read the rules before any activity: @PythonRules
Sandeep
??
Maxim
??
read the rules
Sandeep
K, what i have to do now?
Artem
Hello everyone There is a hoster on which you can create servers from under ubuntu. I have a project working with a postgres database. But the hoster does not have a convenient option for database administration, such as digital ocean. Can I create a bare ubuntu server with a database and access it?
Anand
Why the django project show only insatallation succussfull page, i wrote hello world programme in the project but its not work, only shows the installation succussfull page, why that link cant go to the hello world page, any one have similar problems?
ky
ho to reset django project
Anand
Okkk
Егор
ky
*how to reset django project because some code i change but not reflect
ky
no changes see
ky
give page not found error
ky
i am trying all of this but not working
Егор
*how to reset django project because some code i change but not reflect
Make sure you are saving your files first. If it’s not working still, look thru your urls.py file. If you didn’t add anything about your app there, you will get 404. When editing models, always do manage.py makemigrations && manage.py migrate
ky
Yes save it
ky
path('ledger/deletel/',views.deletel, name="delete_ledger"),
ky
def deletelt(request): Lc= LedgersTypes.objects.all() for l in Lc: try: print(l) l.delete() except: print("not deleted connection somwhere") return redirect("/gl/ledgerstypes/")
Д
and use three ` marks before and after it
Егор
Better use pastebin.com or something to share your code.
Егор
Also use PEP-8, please.
Adam
Hello everyone, while learning I want to target one site. I want to buy the design, completely layout the back and front and then sell it. For example an online store or news site, what do you think about this idea? Will it work or not?)
Hiku
I tried linking bootstrap 5 in django's static file and it worked but when I added my own style.css the file wasn't found. Does anyone know how to fix it?
Hiku
Maybe the static route in the template is not ok, is this project in production?
No, I'm learning django Thanks, I've found a solution by adding STATICFILES_DIRS
Rupali
Where i can learn django from stract to advance
Neeraj
Where i can learn django from stract to advance
Lot of youtube videos and Django self documents.
Doragonsureiyā
Where i can learn django from stract to advance
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
cr
How to add template tags in django template to check if user group is in list of group provided ?
༒ROHIT
I had generated the form... For addresses... And pre saved address as the option... right side on the same page I want to choose the option or either fill the form.. Both working fine.. But i am unable to proceed ahead after choosing one address without filling the form.. Please help me with this..
Sayidbek
https://todo-list-django-sayidbek.herokuapp.com/
Sayidbek
https://todo-list-django-sayidbek.herokuapp.com/
hello guys, what can i do, it is not working, any help appreciated?
Д
hello guys, what can i do, it is not working, any help appreciated?
This is like going to the doctor and saying "help me" without describing anything
Rutherford
https://todo-list-django-sayidbek.herokuapp.com/
Gotten a solution yet? If not explain what the log says
Numa
Hi everyone Im using django for a project with many database(about 500). So I can't write route for my database, then I use "using", but the question is how can I use class based view like update or create view?
Morteza
How to add template tags in django template to check if user group is in list of group provided ?
create a method that take the user as an argument and then check the user if in the specefic group or not return True or False
Anonymous
Hi fellas. What is the best option to choose between database languages? What would you advise? (MySQL, PostgreSQL etc.)
Sakshi
Hello, I just need some help in creating custom user models with Rest API for User Registration.
Sakshi
Can Someone help me out