Manish
You mean wsgi
Manish
Yea
R
No
Manish
Then
R
I mean, nginx or apache or the web server u use
Manish
Yes nginx
R
You should configure it to serve ur staticfiles directory and run manage.py collectstatic
Manish
I tried this one also
R
You can directly access to some static files?
R
Lets say if u go: https://yourdomain.com/static/somestatic.css
R
You can access?
Michail
Anonymous
How to show progress bar in django?
Anonymous
I had one file which i wanted to import but i need a progress bar now
Anonymous
Yup
Anonymous
Those solutions is not working
cj
How to show progress bar in django?
for what and where while what?
Anonymous
Some of those says about
Anonymous
Celery
Anonymous
But it wont work in my condition
Mirco
Celery
And do you know what's celery and when to use it ?
Anonymous
One csv file
Anonymous
Yeah i know wht is celery and how to use it
Mirco
Yeah i know wht is celery and how to use it
Good , so you know if it's good for your use case or not
Anonymous
Yeah i know
Its
template does not exit somebody please help source: https://dpaste.de/b47K
Mirco
Yeah i know
What solutions did you try ?
Its
Give more details
error report https://dpaste.de/MSEa
Mirco
error report https://dpaste.de/MSEa
I've read , but if u don't tell us which view you're trying to reach , it's hard to help ya
Anonymous
Guys, beginner question. I am having bug with redirecting. When from home page you press register, it is showing "page not found at main/register.html" but I wrote exact same place where register.html is but it's not working. Can some1 help?
Mirco
i am trying to reach signin.html
You are rendering myapp1/signin.html but signin.html is inside templates/ not myapp1/
Anonymous
yes it is in templates
Anonymous
I copied and pasted it in myapp also but not working
Mirco
I copied and pasted it in myapp also but not working
Change render("myapp1/signin.html") to "signin.html"
Mirco
You already told Django where to find it so no need to specify templates/
Anonymous
+
Mirco
same error
Study again how to render templates and you will solve it 😊
Anonymous
homepage also in templates but it is working with main/homepage.html
Mirco
ok 😅
😁😁
Anonymous
I was studying Django from Sentdex youtube channel
Anonymous
paste source code in : https://dpaste.de
https://dpaste.de/u89h this is views.py
Anonymous
https://dpaste.de/pjyB this one urls.py
Anonymous
https://dpaste.de/4p9u homepage
Mirco
Your href are wrong put register/ or {% url 'register' %} into href and you will see the magic happens
Its
#admin is there any way to create users personal profile where he can upload a pic or file only that user can access like cloud storage type
Mirco
in homepage.html ?
Yep , your href=main/register.html are wrong
Mirco
is there any documentation available ?
https://blog.khophi.co/extending-django-user-model-userprofile-like-a-pro/
Mirco
thanks and file upload by user
File upload ? U mean profile image ?
Anonymous
Thank you admin that not worked but I found out. Anyway you helped me
OUHBOY
Hi guys I've got an issue my django app on heroku is not showing the images don't know why my code is fine where could the error be?
OUHBOY
https://sheikhblogapp.herokuapp.com/
OUHBOY
https://sheikhblogapp.herokuapp.com/
Like if you check up the app it's not loading the profile pictures
⟨ Simon |
https://sheikhblogapp.herokuapp.com/
https://i.sitischu.com/12a745ce16
⟨ Simon |
why didnt you check the console ?
OUHBOY
checked the console and on my image file the pictures are there but they ain't showing up on the app
Kartik
Any course to learn django
Kartik
?
Mirco
Any course to learn django
Read pinned message
Anonymous
Kartik
What messge
Mirco
What messge
Pinned one man
cj
What messge
probably the one that you closed without reading when you joined