Doragonsureiyā
I can do it
This is neither a job board nor a bulletin board.
† n06h
im a beginner here ,who can tell me the best way starting to master django
Look for a book called Two Scoops of django. Get the hardcopy so you can write on it while you practice.
Charly
but my website work correctly in localhost
For deploying on a platform you need to use https://whitenoise.readthedocs.io/en/latest/
K
Hello I need help I have problem when i run application there is error file not found in console The application was working fine before suddenly coming this error i have ubuntu
John
im a beginner here ,who can tell me the best way starting to master django
If you don't have any experience with django, just read the book called 'django for beginners' by vincent william, its A great book showing you everything you need, from basic of how to create a project to intermediate concepts like custom user etc, so its greate place to start, additionally you can see the blog tutorial on youtube by Corey Mschafer
John
Thank you my friend I followed the same steps But when I download static files Via "python manage.py collectstatic It shows me an error And it doesn't work
Yeah, somethings don't work properly, i have encountered the same problem i couldn't find the solution.
John
I am building this app and it requires the functionality to let user submit multiple post request to same page, so my question is what would be the best way to user submit multiple form to be processed by one view(Class based view). For example ther is one page which lets user 1.Subscribe to a channel 2. Unsubscribe from a channel 3. Comment on the post 4. Like the post
GOLDEN MAN
I need help
Arshiya
I need help
Go ahead.
Doragonsureiyā
I need help
No one can help you until you explain your difficulties.
GOLDEN MAN
I would like to make a site similar to intertainer website
GOLDEN MAN
I want to do service for customers and merchants
GOLDEN MAN
Like buy one get one free
Charly
GOLDEN MAN
Models
Charly
Models
Please be specific on what you need help for or no one could help you
Shailender
Like buy one get one free
You must have a model called promocode you have use logic for that scenario
Muhammed
Auth package for rest api
Doragonsureiyā
Auth package for rest api
To get an answer to your question, it is worth to formulate it more clearly, perhaps add more details, perhaps add explanations.
Abdo
Is there an app to run Django using a phone?
If I'm not mistaken, you mean an app that you can install on your phone to help you install and run django then I recommend Pydroid 3
Muhammed
Authentication package for REST API
Shailender
Bekzod Juraev
Muhammed
Jwt
Maxim
Jwt
who asked you?
Mahi
Hi
Mahi
I m stuck how to connect the css file in django website
Mahi
Any body can help me please friends
Nikita Goncharov
I m stuck how to connect the css file in django website
1) Add STATIC_URL in setting.py 2) In template write: {% load static %} <img src="{% static 'my_app/example.jpg' %}" alt="My image"> Same with styles, but another tag
Nikita Goncharov
{% load static %} - at the top of html file
Mahi
I can put already in my files I can't run it
Mahi
I can everything in index.html file setting.py index.css file but waring say staticfiles are give a warning
Mahi
Yes
Charly
Yes
Show the error then
Mahi
I can do runserver waring is
Mahi
Yes
Mahi
Project or app
Nikita Goncharov
I do not get it
Charly
Mahi
Static folder is in myapp/rorder/static/css/index.html
Nikita Goncharov
Why .html file in static folder ?
Nikita Goncharov
Is rorder django app ?
Mahi
Market project /rorder /static /css /index.css /Templates Index.html
Mahi
Roder is my app
Mahi
I can do everything
Charly
I can do everything
But you refuse to share the warnings ¯\_(ツ)_/¯
Nikita Goncharov
I can do everything
Try do step by step with django docs, maybe even in clear project
† n06h
Market project /rorder /static /css /index.css /Templates Index.html
Place the static folder inside the root directory of the project
Mahi
Budy already in root directory app
† n06h
Make sure you link the css inside the base html
Mahi
Project/app/static/css/index.css file only
† n06h
Make sure you link the css inside the base html
Should look something like this <link rel="stylesheet" href="{% static 'css/style.css' %}">
† n06h
Project/static/css/index.css file There's a difference between app and project
† n06h
What, why?
Because that's the name of his main css file
Charly
Here
Ok, may be we should wait of to show his errors
† n06h
Ok, may be we should wait of to show his errors
It's not an error. He said his css files are not working or rather how to link it to his website
Charly
It's not an error. He said his css files are not working or rather how to link it to his website
so an error, but we dont know if he didin't link if he linked and failed or any other error because he refuse to share ny detail
Shailender
Sometimes this group is enough to laugh ..and make your day😂😂
matija
Sometimes this group is enough to laugh ..and make your day😂😂
also i dont know how these people don’t use gpt
Radhika Singh
Anyone can me guide for python developer...
Radhika Singh
Doragonsureiyā
Anyone can me guide for python developer...
This is not a Django specific question, please delete your offtopic message. If it's a Python related question go to @Python group, otherwise please move to @PythonOfftopic group and ask there.
SalahUddin
can i get a detail course on django?