Rohan
Ask your question and with 7k members, it's most probable someone will help if they've seem something like that
Anonymous
i get this error on heroku ValueError: Dependency on app with no migrations: users setting.py ------------------------------------------ AUTH_USER_MODEL = 'users.CustomUser' I try different solution but all of them doesnt worked
Ukrainian (Yaros) 🇨🇦
Intrepid
is anyone working on AWS cloud9
Intrepid
?
Root
Hi I have problem in deploying my app my app when running with gunicorn gives 500 when debug is false but runs when debug is true Does anyone have solution
Intrepid
Yes
How is it, I want to develop project
Kyrylo
Idк
Ariel
Someone has experience with selenium grid and Celery toghter with Django?
Stump Lowell
Please I need help I have a foreignkey that contains all my users and am trying to def a str method that return the object of that foreignkey Class Reserve(models.Model) Users= model.Foreignker(MyUser) def str(self) return(self.user) Error string return non-string type (type MyUser)
Muflone
Obviously know the basics only is not enough
Anonymous
Hello everyone ! Is there a way to add fields to form model from native admin panel ? can't find any info...
Xtreme
Hello ! Guys Is there anyone who know how I can integrate voice recording in Django
Mehmet
Hello ! Guys Is there anyone who know how I can integrate voice recording in Django
Why do you need to integrate voice recording into Django or any web framework in the world?
Mehmet
I think you mean recording with javascript and use django as media backend?
Xtreme
Yeah
Andrew
greetings. I have this schema: Item Attribute name AttributeValue value ItemAttribute item: ForeignKey to Item attribute: ForeignKey to Attribute ItemAttributeValue attribute: ForeignKey to ItemAttribute value: ForeignKey to AttributeValue Amount of Attributes is ~10, amount of AttributeValues is ~30. Each item has ~1-3 attributes, and each item attribute has ~10-20 values. I use django-nested-admin to display all values of all item attributes. In vanilla django-admin it works perfectly. But when i switched to django-jet, the loading time of item admin page increased from 3-5 seconds to 15-20. Has anyone faced the same problem?
Mehmet
That is what I mean oo
If you want to develop with a professional design pattern, media hosting should be handled mostly by third party CDN providers. You may create signed request object for the 3rd party CDN provider within Django. Unless you wish to use your host as media server, Django FileField would be enough to represent your recording data. All the rest (Recording media on webpage, uploading result file etc.) should be researched in JavaScript context.
Andrew
justdjango coding for enterpreneurs
Mus'ab
Hey ,where do I can learn how to deploy a Django web app? What are the best ways ?
Christian
Good morning guys, can anyone tell me what is the purpose of Localized_fields in ModelForms and localize = True in Django Forms?
Kito_Kessian
Hy guys am trying to deploy mu app on heroku and i hv included requirements.txt bt am farcing this error (Could not find a version that satisfies the requirements packages==0.1.0) (No matching distribution found for packages==0.1.0)
✙Yaroslav
trying to run docker build . I get an error If you prefer to avoid building psycopg2 from source, please install the PyPI 'psycopg2-binary' package instead. how to fix this?
Mohit
https://stackoverflow.com/questions/63416225/change-primary-key-field-using-django-migrations
Mohit
Need help changing database schema
Mohit
https://stackoverflow.com/questions/63408566/running-custom-migrations-to-change-database-schema
Mohit
I have two existing models inherited from PolymorphicModel from django-polymorphic and multiple sub models inhering from one of the models. I want one of the models to inherit from the other instead of from PolymorphicModel directly. I want to preserve existing data. Posted the stackoverflow links for a better understanding
Anonymous
Would you advice someone to stick with Django only when developing a website or to integrate with a frontend framework.If the latter,which frontend framework would you advice to integrate with django?
Anonymous
Hi guys {{ language.code }} objects come to small
Anonymous
tr en
Anonymous
How can ı chgange TR EN ?
Thomas Shelby
🤓
Anonymous
Use filters
how can ı do ?
Jai
upper¶ Converts a string into all uppercase. For example: {{ value|upper }} If value is "Joel is a slug", the output will be "JOEL IS A SLUG".
Jai
how can ı do ?
https://docs.djangoproject.com/en/3.0/ref/templates/builtins/
Дауран
Guys I have a question , so I want to create a blog website which consists of 2 or 3 pages like news and articles etc and so that I must create 2 or 3 app (startapp) for that or its enough 1 app ?
B419045_Rashmi Ranjan Das
Guys I have a question , so I want to create a blog website which consists of 2 or 3 pages like news and articles etc and so that I must create 2 or 3 app (startapp) for that or its enough 1 app ?
1 can be enough but for simplicity better create different apps. It will be easy for others as well as you to understand the code better
Sweetie
I have a project that uses django ORM standalone. When I run it with django 2.2 it works fine, uses around 20 connections. When I run it with django 3.0 or higher it opens too many db connections and that keeps increasing. After 10 minutes I have 600 postgress connections. How can I debug the issue. The code is compatible with both django versions as I have not used any django 3 specific features and my script runs fine but keep adding new connections to db.
Anonymous
I have this weird error during template rendering
Anonymous
I have this weird error during template rendering
TypeError at / 'function' object is not a mapping
Anonymous
TypeError at / 'function' object is not a mapping
I searched about it, and I'm not finding anything about it
rrrrr
I am eric and i am a beginner in django,Can you show me how to display models to the client to add data for themselves in django please
Doragonsureiyā
I am eric and i am a beginner in django,Can you show me how to display models to the client to add data for themselves in django please
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Mysterious Kid
Hey am new here
Mysterious Kid
And new to django ..
Mysterious Kid
I've installed django ...
Mysterious Kid
But Python can't detected it
Mysterious Kid
Help me out....
Binamra
Help me out....
which text editor you are using
Mysterious Kid
Using Sublime text
Binamra
have you tried to run it
Binamra
and what happens in sublime?
Mysterious Kid
Am trying to install django through cmd
Mysterious Kid
Installation was successful....
Mysterious Kid
But when i executed django-admin -- version
Mysterious Kid
It's says django-admin is not recognised
Binamra
But when i executed django-admin -- version
do not include space between — and version
Binamra
type this: Django-admin —version
Mysterious Kid
Still no change
Binamra
then type python -m django --version
Binamra
Still no change
which os you are using?
Mysterious Kid
Mysterious Kid
Binamra
maybe there was some problem while installing have you again try to install django
Mysterious Kid
I installed django 20.2.2
Mysterious Kid
And Python at 3.7
Binamra
I installed django 20.2.2
well latest Django version is 3.1