Mirco
! djangotut
Doragonsureiyā
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Mirco
Suggest rather then something
It's already a suggestion
Rajesh
It's already a suggestion
I mean i need something else
Doragonsureiyā
I mean i need something else
Step 1: Open a browser Step 2: Write down https://google.com or https://duck.com and press Enter Step 3: In the search box write down the same words you asked here Step 4: Read the firsts results
Mirco
All books of William Vincent are good for example
Rajesh
!search
I need blogspot like that
Mirco
Check William Vincent's blog or simple is better than complex They are full of good resources But the best one is the official doc
Gini
How to install django and create a django project in pycharm I am new to this
nived
you can refer YouTube videos
A
Hello everyone. can someone help with this question ?https://stackoverflow.com/questions/61929711/reformat-django-rest-framework-serializer-to-get-output
S-cue
Selling udemy account full of paid courses in IT , engineering and other technical related stuff. Over 200 courses with study materials. DM if interested.
Sh
During django migrations, it takes lot of time because my table has around 50 million rows..
Sh
Is there a way I can speed up these things..
Sh
i am using Postgres 9.6
Sh
with Django 1.11
Sh
Lets say u have a model User
Sh
user.get_related_info( )
Sh
will return the desired dictionary..
Sh
with serializers also u can get it..
Sh
but if its complicating certain things u can create a dict on ur own
Manish
did u call the save() ?
Yes I have called save but still its not saving data permanent
Gil
Yes I have called save but still its not saving data permanent
Something strange.... Need to depurate and verbose procedures. Try with djangodebutoolbar, in sql transactions, see what happens Try from db side, enable logger debug of executed queryes Try to put print(x) before x.save, or insepct x with debugger. all of this can be approuch...
Amen
Lost connection to MySQL server during query') i am getting this error when i migrate to google cloud PostgreSQL
sm
Is there any way to use django templates tag {% url %} in javascript
ecDesign
Is there any way to use django templates tag {% url %} in javascript
into a template.. with a script tag or you can create a block js in the layout
sm
into a template.. with a script tag or you can create a block js in the layout
I already created js file(app.js),i want to use url tag in js file to redirect on another page
sm
Here is my code App.js https://pastebin.com/fUAebAq4
Shailesh
Hallo friends I need some help for django rest framework I am creating on web app using django How to create dyanamic url in jinja in html when using ModelViewSet for Put request
Shailesh
I was tried Url :'{%url 'emp-details'%}' +id ,
vincent
I'm new to developing, I learnt vue and django, I'm creating a site, where should I save images?
Shailesh
Ajax
Ankush
Hello Everyone,nice to meet you all Im kinda new to django so was wondering if you guys could help.. Actually im creating test cases for django for apis,but like having some difficulties while running thetest case,i dony know how to provide credentials and token as the apis are unauthorized,so im kinda confused
Ankush
Will really appreciate if u guys could share some link or something
Pratik
In my postgresql database...I've stored first name and last name in single field like(Ronnie arora) So how can I print just first-name in django?
Pratik
Like my model or table name is owner and column name is name......and I'm tryint to print using {{owner.name}} But it gives whole name....I just want to print first word
Dambe
You can just split the string an retrieve the first element
Dambe
You can just split the string an retrieve the first element
But what if the user do this last_name first_name? And if he gets many names?
Dambe
I think it's better to use Django user model ou create a custom User model that inherit from AbstractUser or User
Pratik
Okay brother,thank you so much! I'll try that one:)
Anonymous
Hey
Anonymous
Anyone can help me with add to cart in django
Anonymous
Can anyone help me with add to cart in django
Anonymous
Please
ROG 💻
Good to all, how can I add more attributes to a select I have, example span class to be able to add an icon
ROG 💻
this is my code
ROG 💻
specie_id = ModelChoiceField(queryset=Pet.objects.all(), widget=forms.Select(attrs={ 'class': 'form-control' }))
Izbash
I'm trying to use django-seed. I made custom seed function, like in documentation. When I call execute method it do some stuff, but nothing appear in data base. What I'm missing?
Anonymous
Hey can someone please help me with add to cart in django
Roman
HI guys , what is the best way to extend fields of the user in django? Using AbstactUser or OneToOne fields ?
Roman
Or It's two different things?
Anonymous
hello guys i have a problem i cant run python manage.py runserver on my server it did not give me any response
Doragonsureiyā
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Kiran
Raad
Hello guys, I have a Hotel Management System that divided into two microservices. The main one is the Hotel Management functionality which is built on fastapi framework (REST API backed and react fronted ) where hotels owners can add rooms, building, make a reservation, etc. The other microservice is the Auth service where we authenticate the users and check the hotel subscriptions plan because it's based on SaaS model. My plan is to build the Auth service on Django getting the benefits of admin interface feature so I can easily add, edit, delete, activate, disable hotels, receive payment of the subscription, allow a hotel to access a specific feature and so on. Do you think this is a good idea? Anyone tried it before? Suggestions and advices. Thanks
Raad
My question basically is how is it possible to use Django with other frameworks as a microservice?
Raad
For shared auth u need to implement oauth2
That is the plan and thanks for suggesting it. I'm worrying about performance since fastapi running on ASGI Uvicorn server where Django uses WSGI
Raad
Django 3 let you choose ASGI
Full support of async and await?
Mirco
Full support of async and await?
Yup, that's the plan for 3.x
Muslim
Full support of async and await?
Don’t use asgi on Django until 3.1, only views are becoming async, orm is still sync
Raad
Wsgi or asgi will not be ur bottleneck
OK but I need to have Rest API for Django microservice. Can I use Django admin interface here?
Raad
Thanks everyone 👍
Gabriel
Hi everyone! I have a question? Exist a course or document free of e commerce with django ( sorry for my bad english)