LinuxBugs
I want to create a mobile app and web application(like admin panel and website)
If there is no authentication , then django templating can help you on both mobile and web application. If you're using drf, then please go through the renderer options link i have given. You can either render the API response as json ( REST API ) or you can render the response through your views , in the traditional way similar to how django does.
Anonymous
How can we add map location in template
Anonymous
Just type data-lat and data-long in tags?
Anonymous
Just type data-lat and data-long in tags?
If just wannavpoint a place in map iframe is ready for you in google maps, if you wanna use maps api, you have to pay for it i guess
Anonymous
Okay
Edwin
How to I enable desktop casts in my django webapp
Yep
How to model foreign keys? I always get the error: valueError: cannot assign "myValue": "myTableB.myField" must be a "myTableA-Name" instance
Holla
TypeError save() get unexpected keyword argument force That is when i ever try to create new user
Baku
i have created phone no login API and want to use same api on django template but dont know how
Just write on Django rest api, for website you can use (react, angular, vue)
Sweetie
I want to take user input for a co-ordinate x, y, w, h What's the best way to do this? Shall I make 4 column for x, y, z, h or there is a better way to take co-ordinates on django and store in single column May be a way to let user click and drag on a input area and pick all 4 cordinates from the selected area
FS
https://medium.com/@shekhar.opichius/configure-django-application-on-apache-webserver-on-ubuntu-ec2-37aa4233e4f0
Anonymous
How to check user is logged in with user id?
Anonymous
Can any one?
Wannabe
Anonymous
https://paste.ubuntu.com/p/YSg34HNK9k/ guy's this is my model but avatar field does'nt uploading an images
RS
I want to learn django rest Api Any suggestion please
Andrej
I want to learn django rest Api Any suggestion please
Implement a simple project and learn while doing something. That's the best way. Try to solve little problems or create an Api which could be useful for others or for your future projects.
S
What can be the view to change a status from pending to accept in database using a form action POST?
Rajesh
While i am updateing my profile pic username,email should change but profile didn't change. How can i solve that? please help me
Anonymous
Hi
Anonymous
I want create a project please help me
Rajesh
I want create a project please help me
Dennishivy youtube channel
Gil
What can be the view to change a status from pending to accept in database using a form action POST?
First achieve to show this record in view Then create manually form, and try to load record, change record, save record. Start all with function views, not class
Rajesh
What orm method are you using?
Could you specify it please?
Gil
Could you specify it please?
Specify you😜 paste the code with tools, or give the line that your are using to update
Anonymous
Could you specify it please?
Are you extending built in User model?
Anonymous
I want create music app with rest api, please help
Rajesh
yes
Gil
Seems ok, maybe the problem is in form serializer, form handmade?
Gil
I understand that you are using modelforms, Try debugging manually -data changes from db -print data from form / put breakpoint with debugger Simulate changes with one eye on that And you will find the problem
Gil
how can i sir?
What db are using, what ide?
Rajesh
What db are using, what ide?
no ide i am using sublimetext editor
Gil
no ide i am using sublimetext editor
I recommend you pycharm, debug will help a lot to learn. You can debug with console, but for advanced user. When a project is big, or you are continuously editing files, my recommendations is pycharm ( or visual studio) Search in google, there s a lot of tutorials
Baku
Pycharm professional edition
Baku
if you student you can get student license from JetBrains
Baku
also you can get student pack from Github
Gil
I want create music app with rest api, please help
Nice! You know what you want, now you need to know how to do the skeleton, not easy!
Anonymous
This is my assignment
Anonymous
So I don't know about this.
Baku
you can use trello or jira for split tasks by time
Khalil Ibnu Omar
Hi anyone works with django Oscar api ?
Khalil Ibnu Omar
It's same drf?
No it's a e-commerce package
Nathan
Anyone work with django for betting web app
Andrej
Andrej
Django Oscar is a great e-commerce framework. It is not so complicated as it looks like. After a while you will love it. It is worth to learn it.
S
Can anyone tell What are canonical tags for Facebook ?
S
Like if I want to share something to Facebook from my website, I can display what I want to ?
Achal
After installing django I tried project-admin startproject mysite on vs code. It gives the error message :- The term 'project-admin' is not recognized as the name of a cmdlet, function, script file, or operable program. Help me out this problem.
Achal
django-admin startproject mysite
It gives same error msg
Pratik
send screenshot of the error
Baku
python3 -m venv env
Achal
send screenshot of the error
Media is not allowed in this group
Pratik
Make sure django is installed in the environment you are on
Baku
Media is not allowed in this group
check your freeze. pip freeze
Achal
Ok
Pratik
can anyone tell me while using ajax calls for image uploads is it better to take data as base64 in json format to the backend or as the regular formdata?
Anonymous
I want to add contact_number field in my UseraCreationForm. But it's not working. Can anyone give me solution