fcs
what is the best book for learning django
fcs
😂😂😂official doc is cool,but i am looking for others
fcs
thank u all😊😊😊
Dark Monster
Where can i learn frontend integration for django
Anonymous
Need your help and direction e.g, Author has a foreign key in book model class. In template, I’m trying to iterate over a field in author class, which has a foreign key in books. It worked fine when I did book.author But I want to get the first name field in author
Altaf
any one knows about django-helpdesk??
Altaf
how can i use in myproject!!
Altaf
*it in
Sander
how can i use in myproject!!
https://django-helpdesk.readthedocs.io/en/0.2.x/
Anonymous
book.author.first_name
Many thanks for the help
Karan
Is there a way to implement private chat in django? I want to implement it in my project.
Karan
yup but you need django-channels2 for real time chatting
It's documentation is available right?
Altaf
https://django-helpdesk.readthedocs.io/en/0.2.x/
will it work in django 2.0 @SBq99
Sander
will it work in django 2.0 @SBq99
Please read the whole thing. It says: Django 1.11 or newer
Anonymous
I have Django project. When it start I need to save periodically some data to file. I can get this data only when the program starts. Now I start thread with this function and pass args to function threading.Thread(target=save_data, args=(dp, conv_handler)).start() But this thread don't die when main process dies. I heard that de-facto solution for such tasks is CeleryBeat, but can't figure out how to pass args to function that runs in celery worker. How can I solve such problem?
Gaurav
simple as we pas args in functions
Anonymous
how do I start worker in this case?
Anonymous
and when it will be started?
Anonymous
when I call it in my code?
Gaurav
are you using celery beat?
Gaurav
if then you can define your periodic task in the settings file
Anonymous
I want to use this
Anonymous
if then you can define your periodic task in the settings file
well, then I can't pass args there in runtime, huh?
Gaurav
well, then I can't pass args there in runtime, huh?
is these args are provided by the front-end? or are those defined?
Gaurav
install django_celery_beat using pip
Anonymous
I get this args in runtime, after I start main process python manage.py runserver
Anonymous
I red this so answer and want to try it https://stackoverflow.com/questions/41124591/setting-up-periodic-tasks-in-celery-celerybeat-dynamically-using-add-periodic
Gaurav
I need to know your requirement for this so I can help you better
Gaurav
what you want to do
Anonymous
Ok, I'll give details in pm
Sunnat
RemoveError: 'requests' is a dependency of conda and cannot be removed from conda's operating environment.
Sai
Hi
Sai
For https any changes required in Django?
Sai
In setting.py file
Mirco
For https any changes required in Django?
yup, on official docs you will find all u need
Anonymous
django.db.utils.OperationalError: no such table: auth_user
Yash
Hey any one have best place to learn django ?
Sai
yup, on official docs you will find all u need
Hi @pyflare thanks for your instant reply. So my site is working with https but the thing is that I'm getting SSL_PROTOCOL_ERROR
Yash
I am beginners i want to learn django
Mirco
Hi @pyflare thanks for your instant reply. So my site is working with https but the thing is that I'm getting SSL_PROTOCOL_ERROR
read here and u need to setup also your web server ( nginx/apache ) I don't know what you're using
Sai
I'm using AWS ec2 machine
Mirco
I'm using AWS ec2 machine
I didn't mean the machine what stack have u built ? Are u using web server to proxy request to your django app or not ?
Sai
Vuejs for frontend and Django for backend
Sai
DB - postgres
Anonymous
which DB is best for django PostgreSQL or SQL lite
Gaurav
Vuejs for frontend and Django for backend
are you running your app using nginx?
Mr. Rude
What do you want to build though?
Mirco
which DB is best for django PostgreSQL or SQL lite
Even Django suggests PostgresSQL 😊
Anonymous
i am new here
Sai
When do you have this one ?
When I request to call apis
Mr. Rude
how?
If you want to have relational db or nosql
Gaurav
@pyflare i think Saikiran is facing issue with cors
Mr. Rude
Not sure what you're building so can't suggest
Mr. Rude
which DB is best for django PostgreSQL or SQL lite
If those two are your final options, go with PostgreSQL
Anonymous
Thanks bro
Mirco
@pyflare i think Saikiran is facing issue with cors
I don't know, we need the traceback to understand better there could be n-thousands reasons
Mirco
Not a cors. It may be configuration in setting.py
send traceback of your error to help us understand your issue
Anonymous
how can i check tables in sql lite3
Mirco
how can i check tables in sql lite3
Use postgres man if u wanna deploy something to the world
Anonymous
ok
Anonymous
Use postgres man if u wanna deploy something to the world
i am using linux can i install postgres sql