Cristhian
No course ?
Cristhian
Look but I only find old versions
Pingo
AWS and VPS
For vps do you suggest any hosting company? Can we host unlimited sites/apps? Sorry about all these questions. Thank you in advance!
cj
For vps do you suggest any hosting company? Can we host unlimited sites/apps? Sorry about all these questions. Thank you in advance!
any one, the amount of apps you can host will depend on the resources you're gonna buy
Doragonsureiyā
Look but I only find old versions
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Cristhian
Thanks a lot bros Keep learning
Pingo
Digital ocean
Thank you
$iductive
Anonymous
Hi how can we remove permission denied errors in django
Damron
Hi how can we remove permission denied errors in django
in admin page select user and change permissions
Anonymous
How
Damron
go to the http://localhost/admin
Damron
but 1st have you created superuser user?
Damron
if not yet in console write python manage.py createsuperuser
Anonymous
actually I was working with docx module
Anonymous
So as to get ms word from
Anonymous
django template
Damron
microsoft, got it
Damron
what the entire error message?
Anonymous
Permission denied
Anonymous
error 13
Manik
While manage.py migrate for Oracle , Facing error 'Missing Always keyword '
m0nte cr1st0
Hello. Can you help with filtering in drf pls? https://stackoverflow.com/questions/59768050/filter-data-on-related-object-in-django-rest-framework
Rohan
Alter your views.py, instead of all(), use a .filter() with start and end date
m0nte cr1st0
understand
m0nte cr1st0
@PulsatingQuasar does not work(
Rohan
And how do I know what didn't work?
Rohan
🤨
Rohan
You need to override queryset
Rohan
With your queryset based on start and end date
m0nte cr1st0
With your queryset based on start and end date
maybe need to use filter_backends and filter_queryset?
Rohan
maybe need to use filter_backends and filter_queryset?
https://stackoverflow.com/questions/21182725/django-rest-framework-filtering-against-query-param
m0nte cr1st0
venkatesh
start = start_date end = end_date objects = Obj.objects.filter(date__gte=start) objects = objects.filter(date__lte=end)
venkatesh
might be helpfull..
m0nte cr1st0
The problem is that I need to filter the related model
m0nte cr1st0
UserStatisticSerializer based on User. And I need to filter a related model - Statistic
Nitikesh
Is there a way to completely reset local server on the same port so that settings of one project should not affect the settings of others
Jimmies San
use a different port
this is black magic!!!! 😱😱😱
Cristian
hello
Loving
Hello guys i m going to start django, can anyone tell me how to start it for beginners?
Loving
I'm new to it
Doragonsureiyā
Hello guys i m going to start django, can anyone tell me how to start it for beginners?
Check out PythonRes, a channel for Python resources (links to help you out).
Cristian
if i added a new type_choice in the models.IntegerField(choices=type_choice) how can this correctly be migrated ? After i've makemigrations it's a AlterField. Thanks !
Mrbot
hello connection I wanted to ask how i connect my docker container with with database server
Mrbot
i tried ssh connection with docker container
Mrbot
but somewhat is failed
Mrbot
i can get access with the server by creating tunnel but failed to connect with container
Mrbot
any help would be appriciated
Mirco
!offtopic
Doragonsureiyā
looks like you need an offtopic group, please continue this conversation at @pythonofftopic
Mrbot
Aroop
How to create multiple user type login using class based view
Aroop
Plzz
Aroop
Help
Jimmies San
How to create multiple user type login using class based view
https://simpleisbetterthancomplex.com/tutorial/2018/01/18/how-to-implement-multiple-user-types-with-django.html
Aroop
Another way
Jimmies San
use google.
Jimmies San
or pay someone.
Aroop
Is possible to customizing in build LoginView
PV
Is possible to customizing in build LoginView
Ofcourse, you can create your own login view, or use a package like redux
PV
0auth etc
Aroop
Redux means
PV
Django registration redux
PV
A python package
PV
Read their documentation
Nitikesh
use a different port
Ok thanks Permanent= FALSE also works