Mohamed
Is there any pycharm group available
A group for text editor..... interesting 🤔
cj
A group for text editor..... interesting 🤔
PyCharm is an IDE, not just a text editor 🙄
Ejas
Which is the best IDE for Django?
Ejas
Can anyone please suggest?
arunkrishnan
Ejas
Thankyou
cj
Which is the best IDE for Django?
the one that fits your needs
Ejas
I think pycharm really helps. The terminal is useful
Ejas
But I think its a bit heavy that loading is heavy
cj
But I think its a bit heavy that loading is heavy
maybe you need a better PC 🙂 nvm, if you know how to use PyCharm, it's a good IDE, if you just use it as a text editor, maybe you need other tool
Ejas
Ya 👍
Anders (izzno / gooood) 🇳🇴
OMG! I want baskets not "a" basket she said... and it completely brakes EVERY inch of my code...
Perumal
How to embedded the Django in machine learning
Anders (izzno / gooood) 🇳🇴
Perumal
I have that the prediction code in python how to integrate the django
cj
integrate != embed
Perumal
Integration only
Anders (izzno / gooood) 🇳🇴
I have that the prediction code in python how to integrate the django
I'm sorry I'm not saying this to be rude, but because of your english grammer I am not cirtain what yout mean ...
Perumal
Any reference link?
Mirco
Any reference link?
Your prediction code returns just the percentage of matched classes ?
Perumal
No
Mirco
No
Anyway whatever it does, you can use your prediction code inside a view
Mirco
How to call the Django UI
? Explain better your goal
Perumal
For example One form in Django UI 1.upload a file 2.select algorithm . predict button..
Perumal
How to integrate the files in Django template
Mirco
Ok..
Your prediction code will go inside a view 😁
007
I have created some templates using extends base template. Now i have added css and used {% static 'css/style.css' %} in base.html but still it is not reflecting on web pages.
Perumal
Yeah got it..
Perumal
Thanks
Perumal
Loaded..
007
Yeah {% load staticfiles %}
Mirco
Yeah {% load staticfiles %}
Which Django version are you using ?
Mirco
It's not staticfiles , it's static Change with { % load static % }
007
Still not working
Mirco
Still not working
Share your code on pastebin so we can understand and help better
007
Ok
Perumal
I am using bootstrap in python Django ..
Perumal
Theme.min.css
Perumal
Is not working
Perumal
How to solve?
Mirco
Share your code or a traceback
Perumal
Ok
Mirco
https://dpaste.de/UOTm
Show urlspattern as well , you need to use static() when you are into dev mode
Mirco
Read here
Mirco
Read here
Read here and you will understand better what you're missing
007
Read here and you will understand better what you're missing
still not working :- https://dpaste.de/98Va
Mirco
https://dpaste.de/UOTm
You need to set STATIC_ROOT as well
Perumal
Fetch the data from mysql db to Django UI?
007
Yep
but i have mentioned :- STATICFILES_DIRS = [ os.path.join(BASE_DIR, "static") ]
Perumal
yes
How??
Mirco
Read docs pls
Mirco
but i have mentioned :- STATICFILES_DIRS = [ os.path.join(BASE_DIR, "static") ]
https://docs.djangoproject.com/en/2.1/ref/settings/#std:setting-STATIC_ROOT
007
Ok.. let me see that document
cj
How??
don't tell me you didn't read the docs 😮
Perumal
Ok ..
Perumal
Definitely read the docs..
cj
Definitely read the docs..
that's the first step, always.
Perumal
Okay..
007
what is staticfiles ?
cj
what is staticfiles ?
the static files of your project 🙂
007
the static files of your project 🙂
I'm little bit confused about STATIC_ROOT and STATICFILES_DIR
007
What value assign to STATIC_ROOT
Anders (izzno / gooood) 🇳🇴
Cart.objects.get(id=pk, user=request.user).items.all() I just spent one hour trying to figure out why this was not: Cart.objects.get(id=pk, user=request.user).items.objects.all() Whats the logic in this ? IF the question was unclear, Items is a ManyToMany relation with Cart
sravan
What value assign to STATIC_ROOT
I think STATIC_ROOT should be the path of the directory to which all the static files will be copied after u make manage.py collectstatic
Mirco
What value assign to STATIC_ROOT
Have you read the link I shared with you ?