Yazan
ƳƠƲƧƠƑ
Yazan
I ask for some resources bro
ƳƠƲƧƠƑ
I ask for some resources bro
I think it's better not to use firebase
You can use Django channels to implementing the chat realtime system
Yazan
Yazan
Because i‘m new with django
ƳƠƲƧƠƑ
No it took some time
Yazan
hmmm thank you, do you have some recourses (github,YouTube)?
A
https://twitter.com/kattekaden/status/1739021725357207699
is djnago better than fast api
clouded
Mohammad
Hi everyone, I am implementing tag input in django... Does anyone know any useful documentation about saving and also deleting tags ?
Promiscuous Ferris
hey guys. so per the recommendation of rest framework's authetication docs, i have been using the simplejwt plugin for rest framework to handle authorizations.
but apparently it doesn't support signing up new users.
any solutions?
Doragonsureiyā
Promiscuous Ferris
Why am i even talking to a bot.
.
trying to change DB from SQLITE to POSTGRESQL
having this error
django.db.migrations.exceptions.MigrationSchemaMissing: Unable to create the django_migrations table (ОШИБКА: нет доступа к схеме public
LINE 1: CREATE TABLE "django_migrations" ("id" bigint NOT NULL PRIMA...
^
)
but i tried all solutoins. granted all privileges. what is this?
.
i tried to write engine name as postgresql and postgresql_psycopg2
didnt help
Maxim
Lords
Hello everyone can any one guide me how to use auto completed search
Lords
For searchbox
Aniket
Hey guys, I have a question regarding django_channels. That managed clustered redis service like AWS in memory db will give Cross slot keys error when used as channel_layer?
Aniket
Also what can I have to do to achieve 10k+ concurrent django socket connections in production?
@Hame2i
hi , what's top rows for learn django?
Pedram
Lucas🍃
holla.
uhm is there a way to pass args into a model in view.py like
def index(request):
bid = BIds.objects.filter(pk=id)
i know i can pass through like {index(request, id)} but it will affect my index url which is blank...
pls is there a way to do this.
because i have alot of functions in my views.py that i cant pass args into but i need those args
Muflone
Lucas🍃
Muflone
how pls..
do you know python?
Add optional arguments to the view and define additional url which allows you to call the index view with the passed arguments
Lucas🍃
Pandu
how do i serve static images which will be uploaded by users
Pandu
on production
Pandu
should i put debug true instead?
clouded
Pandu
i want to start freelance,
but i'm scared if they asked me to render their images, i'll get stuck lol
i should learn static files on production first
i watched videos of using google cloud buckets but didn't worked for me
Ahmad
Has anybody built a fully functioning blog website with Django, where you can upload images anywhere between text and the size will remain the same cuz I had tried to use django-ckeditor but it didn't work.
Muflone
.
can i use another schema instead of public?
.
i tried to create a new project. but it still says that i have no rights to write into public schema
.
project doesn't have any apps. it's only created by django. but it says "u have no rights"
Muflone
Do you have permissions to create new schema and tables in that?
Muflone
.
i granted ALL privileges on databse to my user
Muflone
Seems not
.
but i can not use public schema
Muflone
Public is called so because everyone has access to it
.
GRANT ALL PRIVILEGES ON DATABASE db_name TO my_user;
this was the command
Muflone
Check db name and user name then
Muflone
Your user is not authorized from postgres
Not a Django problem
Check the used data to access
.
ok, lemme try this via postgres user
.
yes. it worked. but why via another user nothing worked?
Muflone
You're using an unauthorized user
.
i granted him all privileges all along the database
Muflone
Of corse Django must use the same user and db you granted
.
Muflone
There's not manual page
settings.py has the db settings where you set your db and user
.
so, u think, even though my own user (not postgres) had all privileges, i wrote something incorrect in settings.py?
Muflone
I don't know what you used
Enlighting-man
.
it was resolve?
When i configured DATABASES in settings.py i used db name, iser and password from .env
I think i didnt use environment variables in python correctly
Enlighting-man
.
.
That means i was reading or storing data in .env incorrectly
Muflone
env files are not read automatically
.
Enlighting-man
Yes
In your case, in which file are you placing this statement: from dotenv import load_dotenv?
Enlighting-man
load_dotenv()
.
Enlighting-man
In the project root
There shouldn't be any issues in your python environment.
Enlighting-man
show us how the configuration is in your database settings