Мark
To learn with practice
Xeon
Tutorials like building project
Do you have something particular you would like to share?
Doragonsureiyā
Do you have something particular you would like to share?
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
wowlikon.py
how i can create object before migrate? (i have 2 models in second i have foreign key field with default value is 1 model object) How i can fix it?
wowlikon.py
Who can send sqlite3 installer for windows. (For 'python manage.py dbshell')?
Maxim
Who can send sqlite3 installer for windows. (For 'python manage.py dbshell')?
use search engines and only official sites to get programs the craziest thing you can think of is asking strangers on the internet
Anton
Hello all! I writing an integration tests for my Django APP. Using Django Client to do requests. But when page is 404 it writing to console: Not found: %url%. How it possible to prevent writing this message? Thanks
Koen de
Hello all! I writing an integration tests for my Django APP. Using Django Client to do requests. But when page is 404 it writing to console: Not found: %url%. How it possible to prevent writing this message? Thanks
I do not test against actual/realtime API’s or websites. In those cases I “mock” the request/response. Just search for “Django mock HTTPRequest” or take a look at this example https://www.20tab.com/en/blog/test-python-mocking/
wowlikon.py
Why is autoincrement not reset when an objects is removed from a model?
Maxim
Not a django problem
not a problem at all
RK
Can anyone explain Angular as frontend and backend as Django Rest frame work and Postgres as Db .. deployment process in AWS or different platforms like Go dady r Google cloud
RK
I did one project in my company I don't how to Deployment
G4st0n
I did one project in my company I don't how to Deployment
I think this is not a related django problem
No
I need one help
Doragonsureiyā
I need one help
Not until you explain your difficulties.
No
Some of my clients want wallet features in their e-commerce website
No
I don't know how to make it
No
Can you hlp me
Georgiy
No
https://cedcommerce.com/blog/wallet-feature-for-ecommerce-websites-why-is-it-necessary/amp/
No
This site explain the wallet feature
Mihir
https://forum.djangoproject.com/t/user-authentication/14955/7
Mihir
Can someone help me with authentication issues???
SomeBody
How can I change the choices fields in the admin panel? I want to display only some fields
Grace
I am working on Django Docker and i am facing this bug django docker ModuleNotFoundError: No module named 'dotenv' relating to the django-dotenv in the manage.py where i imported dotenv
Giacomo
Can someone help me? i have a django web app connected to a database. I need to import Csv table (containing products and their attributes) to the database. How i should do this? Should i create the Product class in models and than write a script that for each line of the csv calls Product.object.save(product)? Are there better solutions?
Giacomo
Should i work at db layer level or the "django level" ?
Anonymous
Can someone guide me on how to study
G4st0n
Clearly container is saying no module python found for dotenv
Grace
yeaa, the django-dotenv is in the requirements.txt
G4st0n
Add to requiremente and rebuild container
Luis
Whats the right way to create a connection table model? I have an article class and a comments class
Luis
I would also like to use the Users class to sign article if the user is an editor. Can I define a user group on admin and use that for editor?
rtg
Hi! Question:
rtg
I have data in geojson file. I want to save all data into a database. How can I do?
rtg
(geojson file -> postgresql database)
rtg
i use Postgis, but I haven't found any example that does this job.
Rodion
Hey guys. I am currently doing a pet project on DRF and I need an authorization system. Advise a good lib for authorization in drf or do you usually write your own system?
G4st0n
I have data in geojson file. I want to save all data into a database. How can I do?
https://gis.stackexchange.com/questions/172092/import-geojson-into-postgis
G4st0n
piece of cake
G4st0n
i use Postgis, but I haven't found any example that does this job.
https://naysan.ca/2022/01/04/import-geojson-to-postgis-command-line/
G4st0n
but anyway this is not very related to django
G4st0n
why do u people come to a specific framework channel to ask about dba stuff
G4st0n
?
rtg
Thanks G4st0n!
rtg
importing data from django is not a django issue? 🤔
Maxim
importing data from django is not a django issue? 🤔
no you don't expect a car dealership or manufacturer employee to drive it after you've bought it, do you?
Mohammed
Hello, I just want to ask about progressive web apps in django. Are they like desktop apps with local databases and totally independent from a server in the internet?
Frozen
I have a field Called Status in my Model.. which is Boolean Field... In Front End they are named as Active and Inactive... so how can I change if status is True i have to display Active.... and if Status is False it should display Inactive
Anton
Hello all! If it possible please help me. I have problems with translations. I can't understand 1 thing. While DEBUG=True and i requests to my site... For example to main page (Just '/' url) all works perfect but when set DEBUG=False, it returns 404. I understand it requires language code in url (For home page url: '/en/'). Auto redirection works only in DEBUG mode. How i can define use default language from django config? Or do automatic redirections to correct url?
Divyrajsinh
python - I can't use Tiny Mce in django properly - Stack Overflow https://stackoverflow.com/questions/73099533/i-cant-use-tiny-mce-in-django-properly
Erkaboy
Hi guys. I have got question about channels. When users connect to socket they join a room. I can send message all users in the same room. So Can I send message to users who are in different rooms?
Erkaboy
What are you talking about?
When a user connects to the WebSocket I want to send data to all connected consumers.
Anshu
{{ my_object.content |safe }}
Anshu
But how
This is the answer
Divyrajsinh
Priyanka
Hi team,i want to create put request for nested serializer..i have 3 models..how can I create put request for many to many fields using DRF..and my get and post request work well..
Sergey
hi folks! Do anyone of know if here's posibilty to work with qs in create method of drf serializer instrad of instance? If It can be so how?
Samuel
Have anyone deployed Celery to Heroku using Django? If you have, there is a high memory consumption on Heroku for the tasks. Is there a way to reduce this memory consumption?
Uday
i want to get spacetypes where is_custom is false and where is_custom is true but user should be requested user ive written below code but this seems to give me empty qs spacetypes = SpaceType.objects.filter( Q(is_custom = False) & Q(is_custom = True, user=user) )
Anonymous
I want an input like: "classroom-<number>" How can i define it by regex? (number must be one digit or more)
Avadhoot
Can anyone share me api tutorial for e-commerce. I want to make only api that I can integrate with flutter app
~ N
Hello how can i get [read] post comments for the post
~ N
The relationship is one to many right ? One post have many comments, one comment belongs to one post
~ N
Hello how can i get [read] post comments for the post
Should i use the post id ? And if so can u write an explanation or some code please