Charly
Charly
Matin
Better if you just share the errors
I've got
forbidden (origin checking failed - does not match any trusted origins.)
but it had nothing to do with the version.
Sᵤdᵢₚ'ₛ Wₒᵣₗd
One question please can anybody help me to deploy flask project please
Charly
Matin
Nima
Matin
Kartik
When i strt my server it is showing the error not found
The requested resource was not found on this server
Yathish
Mcjatelo
Hello I want to start learning Django ,kindly can I get a kickstart documentation
Mcjatelo
Max
Hello everyone!
I have a silly question: i want to organise key value storage without deploying separate container (Redis/memcache etc.) I tried using localmemcache as a substitute, but that was a silly idea because of a lifetime of an entity. Is there another way to organise data so that it can be accessed from any part of my Django app?
Abedin
Hey guys
Im new to Django but i have some background in machine learning with python
I actually want to start learning Django and have no idea how to start or what course is more useful for me
I would really appreciate it if you guys could help me find a course to start
Sikirat
Doragonsureiyā
Doragonsureiyā
Koen de
WOLFxASSASSIN
I tried integrating ckeditor to my django project
It worked fine in Development mode
But when I pushed it to production, it didn't work
I have made installed ckeditor 5,
Made changes in settings.py ( under installed apps and added ckeditor conifgs)
Then Made changes in models.py
️امیر
Xiao
sorry
Xiao
Hi everyone, I have a question about managing a project with Django in a team setting.
We know that for database management in Django, we should use the models. However, some of my colleagues, who aren't familiar with Django, say they want to directly manipulate the database, like SQL Server or PostgreSQL, outside of Django, which is beyond my control. I'm not sure if this will cause issues with Django later on due to incompatibilities.
In short, my question is this: let's say we have one team responsible for database management and another team for Django and web development. If at any point we need to make changes to the database, such as:
Renaming a column
Adding or removing columns
Managing data
Even changing data types, etc.
What are the best practices for handling this? What steps should we take? I don't know much about this, but I feel it's easier with Django. However, if changes are made outside of Django's control, is there any way to make Django adapt to these changes and remain compatible? Can we configure Django to update itself to handle these external changes?
Charly
Hi everyone, I have a question about managing a project with Django in a team setting.
We know that for database management in Django, we should use the models. However, some of my colleagues, who aren't familiar with Django, say they want to directly manipulate the database, like SQL Server or PostgreSQL, outside of Django, which is beyond my control. I'm not sure if this will cause issues with Django later on due to incompatibilities.
In short, my question is this: let's say we have one team responsible for database management and another team for Django and web development. If at any point we need to make changes to the database, such as:
Renaming a column
Adding or removing columns
Managing data
Even changing data types, etc.
What are the best practices for handling this? What steps should we take? I don't know much about this, but I feel it's easier with Django. However, if changes are made outside of Django's control, is there any way to make Django adapt to these changes and remain compatible? Can we configure Django to update itself to handle these external changes?
Yes it will cause many issues. Team should agree on what to use you can't choose to use django and eveyone else not using it.
Xiao
Charly
Xiao
Xiao
why!?
Davi3
Hi everyone, I'd like to ask a question on a django setup
I have this on my settings.py
# DATABASES = {
# 'default': env.db(default="postgresql://postgres:postgres@127.0.0.1:5433/customer_orders_db")
# }
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': env('POSTGRES_DB'),
'USER': env('POSTGRES_USER'),
'PASSWORD': env('POSTGRES_PASSWORD'),
'HOST': env('POSTGRES_HOST', default='localhost'),
'PORT': env('POSTGRES_PORT', default='5432'),
}
}
On running this via docker and running tests the former results in an error due to lack of connection to the database how can I resolve this
Charly
why!?
Because it is insane to work on an envorionment when everyone makes changes without a consensus on a database. Your tables may not be even well designed to be used by django, for example
Charly
Xiao
Charly
Charly
Charly
Xiao
Or they are in charge of the database and you don't use an ORM
If, for example, we use raw SQL, we won't have access to the admin panel and forms, right? In this case, wouldn't it be better to create a model for things like the contact form and admin panel as much as possible, and use SQL for managing other tasks?
Is this method not recommended either?
Charly
Charly
Xiao
sounds terrible
IDK!
This was the idea from the Django team in the other group!
Charly
Charly
for me it sounds terrible, use django as intended or don't use it, thats my suggestion
Davi3
by providing the env vars with the right values
How about the env.db as I saw an error indicating the django application running on docker via this works but the latter doesn't as host isn't defined as 127.0.0.1 but 'localhost' sorry if this seems a bit of an amateur question
Charly
Xiao
Siddhi
Can anyone guide me for creating a simple project using linting, linting tools and sonarlint in Django????
I tried to search for resources but i am unable to get on YouTube.
clouded
Kasem
Hello everyone,
In my project I have 3 actors (super admin,store owner, customer (normal user))
I want to implement user registration I have two choices:
1. Make super Admin create account for store owner without allow super admin write password instead that system will send link to store owner to set his password and this link is valid for one time.
Or 2. Store owner can create his account with all required info and super admin cannot create accout for store owner.
Which approach is better and why(Django rest framework)?
Ha 💙
How can I revoke access token by logging out?
Marco dev
I'm having problems with memory overflow, when the system starts it gradually consumes more and more memory until it crashes the web server process.
Khaled
Marco dev
Marco dev
My only guess is that the logs are slowly consuming memory, but that seems like such a trivial thing.
Deepak
Siddhi
Deepak
KAKASHI
Hello friends
Where can I get resource of a blog page file or code just a good blog page
Charly
Emmanuel
Emmanuel
🏅♐Mark
I have a question
🏅♐Mark
What things need to know a python django developer?
🏅♐Mark
Charly
🏅♐Mark
To be able to develop Django apps
I mean a python django backend developer need to know html,css, javascript well?
Or need to focus only on database,api,docker etc?
Charly
🏅♐Mark
Kasem
Hello everyone,
In my project I have 3 actors (super admin,store owner, customer (normal user))
I want to implement user registration I have two choices:
1. Make super Admin create account for store owner without allow super admin write password instead that system will send link to store owner to set his password and this link is valid for one time.
Or 2. Store owner can create his account with all required info and super admin cannot create accout for store owner.
Which approach is better and why(Django rest framework)?
Yosefua
How you start and configure your django project?
* check that python is installed
* always create a project level virtual environment
* activate your virtual environment
* install Django
* check the installation packages using pip list
* now create your Django project "django-admin startproject projectname"
* finally run your project "py manage.py runserver"
KAKASHI
KAKASHI
Charly
Emre
Is there any good documentation or tutorials for django admin template customization i mean not just listing fields also includes overriding templates of admin
Techbium