Djifferson
Look into the requirements files
Anonymous
I did it but no manage.py
Djifferson
Perhaps there’s some libs you gottab install first
Djifferson
It could be a Flask application
Anonymous
I installed bro
Anonymous
1 min i'll send link
Anonymous
https://django-star-ratings.readthedocs.io/en/latest/
Anonymous
https://github.com/wildfish/django-star-ratings/issues
Anonymous
This is github link
R
Is there any free API for Country/State/City data?
https://github.com/coderholic/django-cities this one is good and allows to import many geolocation data just with a django command but if you gonna use it, make sure the models suits you as swappable models feature was broken a month ago for django 2.1 and don’t seem it has been fixed. There’s also django-cities-light which does not import that much data, but have not used it though
Sencer
@pyneda thanks for suggestion. I'll consider.
Googlom
ive developed some app in windows? everything worked fine. Now trying to run it on linux machine, but static files not loading. Where is the problem?
Googlom
it appers after setting debug = False
ANAND
Hello, We are glad to announce that Mozilla is joining as community partner for Djangothon 2018 by HackerEarth happening on November 17 & 18, 2018 at Bangalore sponsored by Django Software Foundation. ⚡ ⚡ Win prizes worth Rs. 2.25 lakhs⚡⚡ https://www.hackerearth.com/sprints/djangothon-2018/ Special swag from Mozilla for significant contributions to Django guide in MDN(https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django) Are you a experienced developer and interested to mentor or give a talk? Write to ranjithraj@riseup.net to get link for CFP. Ranjith Raj, Mozilla Rep, India.
Suraj
Is there any one who tried Note Taking App in Django??😊 Because I want to contribute ☺️
Anonymous
which is the better free hosting servers or cheap hosting servers for hosting django works
Mahesh
Heroku
Anonymous
price??
Anonymous
How to run a function from views automatically after 30 seconds??
Anonymous
Thanku..
Anonymous
have a look at celery-beat
What about schedule??
Komang
http://docs.celeryproject.org/en/2.0-archived/getting-started/periodic-tasks.html
Rajjix
change method=“GET” to method=“POST”
Rajjix
share ur view
Mahdi
share ur view
👆👆👆👆
Andrii
in html template form method=‘post’
Andrii
view in this case doesn’t matter
Mirco
👆👆👆👆
Use tool like pastebin pls No screenshots
Mirco
I really cant
Remember it for next times 💪
Mahdi
Remember it for next times 💪
I cant because no internet to labtob 😔
Mahdi
view in this case doesn’t matter
😅😅😅 got it Two forms inside another and inner was post not outer
Rajjix
view in this case doesn’t matter
sometimes it does when he rerenders the post with user info as context
Ghorz
you can use your custom domain unlike pythonanywhere.com
Andrii
good and one more advice: create file(i.e handler.py) and every form handler hand in this file instead of using it in views where page is rendering it will be easier to debug
Andrii
that’s why I wrote my previous message)
Andrii
sometimes it does when he rerenders the post with user info as context
Rajjix
actually all that code can be replaced with 3 simple lines if you use a create view
Andrii
agree
Rajjix
And just validate ur forms in ur form class it’s just makes your life a lot easier when u understand how clean methods work
Andrii
maybe you know some good services to deploy crm system in web?
Andrii
but not heroku)
Rajjix
just get any vps a lot of them out there with great trial periods and deploy ur own stuff
Rajjix
I personally use google clouds and digital ocean
Andrii
I have heard about them Thanks man!
Rajjix
and buy a domain name for 10$ with ssl certificate from namecheap
Rajjix
20 min setups unlimited freedom no delays
Andrii
thanks!
Andrii
is it ok with gunicorn?
Andrii
and nginx/
Rajjix
yes gunicorn nginx for django, is great
Anders (izzno / gooood) 🇳🇴
Remember, a few hours of trial and error can save you several minutes of looking at the README.
George
Hi, @Inchidi i need some sort of image array in a model. Im using postgres
George
I found this https://stackoverflow.com/a/45142624
Leonardo
best way to use sass with django please?
R
Hi, @Inchidi i need some sort of image array in a model. Im using postgres
Had this requirement some time ago and couldn’t find how to do it in the same field unless I was just storing the paths and ended up doing it with a separate model to just store the images, let us know if you find some solution to save them in the same field :)
R
best way to use sass with django please?
By your question is not really clear what you want, but for developing a saas with django you could consider using postgres schemas through an app that I think was called django-tenants or smth like that
Leonardo
I want use sass instead css
Yashendra
Hello everyone.can we change the true and false to yes and no of booleanfield of models
cj
you mean that you want to display Yes/No in the rendered template using the True/False values from a BooleanField?
cj
you can use: {{ your_object.your_boolean_field|yesno }}
Anders (izzno / gooood) 🇳🇴
you can use: {{ your_object.your_boolean_field|yesno }}
That was nice, where can i find the docs for the build in pipes ?
Rajjix
I want use sass instead css
Learn react it’ll change your life
Rajjix
however check out gulp it may help you with compiling sass
cj
That was nice, where can i find the docs for the build in pipes ?
https://docs.djangoproject.com/en/2.1/ref/templates/builtins/#yesno
Sergei
Learn react it’ll change your life
Hi By the way, what should I study in django before trying to combine django and react?
Rajjix