Aroop
Override abstractbaseuser and specify username-field as email
Create an username field email or phone number like instagram signup page
Anonymous
Create an username field email or phone number like instagram signup page
Yeah same , create custom user model by overriding abstractbaseuser
Anonymous
Create an username field email or phone number like instagram signup page
Check out this https://medium.com/analytics-vidhya/django-custom-authentication-with-email-cc7e3919f11c
Anonymous
Can anybody suggest a tutorial for making rest api for android studio application
Anonymous
🙏
Anonymous
Can anybody suggest a tutorial for making rest api for android studio application
Depends on wat u want to make , start frm django rest framework docs and then on youtube u can find many tutorials for drf.
Anonymous
I want to start with getting current location points from android app and sending it to django
Anonymous
I want to start with getting current location points from android app and sending it to django
Ok u just need to have models similar to tht and implement apis using drf .
Anonymous
U might also need to have authentication setup for user , look for djoser package for drf authentication
Anonymous
I am willing to pay if someone can help me complete my projects backend till the end of November
Anonymous
Im unable to as we dont have mutuals on telegram
Anonymous
Can i message you on Facebook?
Anonymous
Just messaged dm'ed you
Anonymous
Ok
Anonymous
😂😂
usEr1024
İ did
Okay check the apps overview on heroku
Anonymous
can someone please explain to me how does django identify different sites using SITE_ID in settings.py ? so to put it clearly does every site need it's own django project with it's own settings.py file ?
Anonymous
documentation: https://docs.djangoproject.com/en/3.1/ref/contrib/sites/
Ken
Hi guys, has anyone come across this error before? : UnicodeEncodeError: 'utf-8' codec can't encode characters in position 16-17: surrogates not allowed (ElasticBeanstalk::ExternalInvocationError)
Ken
This happens when deploying to ElasticBeanstalk and collect static is activated. For some reason it's unable to collect static during deployment and I end up getting this error.
Ken
Hi guys, has anyone come across this error before? : UnicodeEncodeError: 'utf-8' codec can't encode characters in position 16-17: surrogates not allowed (ElasticBeanstalk::ExternalInvocationError)
This happens when deploying to ElasticBeanstalk and collect static is activated. For some reason it's unable to collect static during deployment and I end up getting this error.
Anonymous
How to install django
Vedant
Pip install django
Anonymous
Pip install django
And what to do next
Anonymous
*Sudo
Anonymous
After this
Mirco
Mirco
you have to create the virtualenv
Anonymous
Check this https://stackoverflow.com/questions/25468676/django-sites-model-what-is-and-why-is-site-id-1
oh man, thank you very much. honestly they should make it very clear in the documentation that you don't need multiple settings.py files.
Arezoo
Hi .do you know panel for see the task in celery that connect to django project
Mirco
Hi .do you know panel for see the task in celery that connect to django project
And django-celery has its section into the Admin panel
Arezoo
Flower
Can i install in production server and see the status of tasks from my local?
Mirco
You just need to setup Nginx or Apache authentication to avoid unauthorized users to access the panel
Arezoo
🙏🙏
Sahil
How to make a send mail using class based view Dja go 3.1
Anonymous
How to make a send mail using class based view Dja go 3.1
https://daniel.feldroy.com/simple-django-email-form.html
Sahil
https://docs.djangoproject.com/en/3.1/topics/class-based-views/generic-editing/
Sahil
Like this
Ujjwal
Any good blog to use payment system to use in my eccomerce website ?
Ujjwal
I want payment gateway in my ecommerce
Anonymous
Any good blog to use payment system to use in my eccomerce website ?
Would suggest u to use paytm's payment gateway , they provide hell lot of apis and sdk integrations . Tht would make things easy for u
Anonymous
Ok any recommended blog ??
Go to paytm website , search for paytm payments gateway integration
Endless Life
Is there any way to build payment gateway for credit/debit card payment
Ujjwal
Go to paytm website , search for paytm payments gateway integration
Is it free to use ??or they charge to use their payment gateway
Anonymous
Is it free to use ??or they charge to use their payment gateway
I think its free but after certain requests it may charge , i'm not sure exactly .check it once
Endless Life
Anonymous
Yes
Check the answer of greg colton in this thread https://www.quora.com/What-are-the-major-costs-involved-in-building-a-new-payment-gateway
Anonymous
Hope u get some knowledge out of it...:)
Hass
How can i make model in new django app
cj
How can i make model in new django app
use models module 🤷🏻‍♂️
Alex
How can i make model in new django app
https://docs.djangoproject.com/en/3.1/intro/tutorial01/
Hass
I have several apps in my project so i want to create a model for my new app
Alex
I have several apps in my project so i want to create a model for my new app
oh, my bad - you need the second chapter then https://docs.djangoproject.com/en/3.1/intro/tutorial02/
Hass
Do i need to specify the app name in making migration because I created models in new app but after creating it says no migration
Alex
Do i need to specify the app name in making migration because I created models in new app but after creating it says no migration
after creating a model you makemigrations. If you agreed with the generated migrations you apply them by migrate
Hass
no need to specify app name
But how it says no migration detected no change
Hass
Ya
cj
Ya
is there a migrations folder in the app's folder?
cj
if not, create it
Hass
Ok
Hass
Created
cj
Created
with an __init__.py file inside it right? now run makemigrations again
Hass
No