Jorge
Brutus
Jorge
Sure
Kay
Anonymous
Can anyone help with the mysql database
Anonymous
Implement ing in django
Doragonsureiyā
Implement ing in django
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
...
hello!
why can't we use mongodb as dbms on django?
why?
...
Can we use non-relational dbms in django?
cj
...
okay, thanks!
Iyanu
Nurhonov
does anyone had this problem:https://stackoverflow.com/questions/71943540/django-manytomany-validation-in-model-layer
Doragonsureiyā
Maram
Good evening, Can you explain this statement to me "" When you use a Django Template, it is compiled once (and only once) and stored for future use, as an optimization."", someone wrote it when he explain the concept of context on StackOverflow
Maram
but I didn't understand what he really meant exactly in that statement!!
Dhanik K.
class Cart(models.Model):
id = models.UUIDField(primary_key=True, default=uuid4)
created_at = models.DateTimeField(auto_now_add=True)
database: postgres
when i try to migrate gettting error
"cannot cast type bigint to uuid"
any solutions to this problem ?
Nurhonov
Sharma
I have problem in user_passes_tes and login_required
Sharma
Can anybody suggest me good resource to learn these concepts.
Anonymous
Anyone know about multipe form in django
Anonymous
Anybody use wizard form
Doragonsureiyā
Don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello, I need help on $z!"
Just ask directly! The better you are at explaining the problem, the more likely you are to get help.
Asking smart questions
Eslam
guys i cant fixed this relation "table" does not exist
and by migrate i have this Running migrations:
No migrations to apply.
Amirhosein
Does anyone needs junior Django developer?
Павел
Eslam
yes
Павел
And after creating the model and adding the application to settings.py, did you execute the following commands?
./manage.py makemigrations
./manage.py migrate
Eslam
yep
ask
hello
I want to use slug of object as a subdomain for DetailView
like in this site
https://install-download.net/ (choose one item and see url path)
How can I do it?
Ruzan
ask
Ruzan
U can use lookup kwargs as slug
Ruzan
lookup_kwargs = slug
ask
lookup_kwargs = slug
I didn't find info about it
will it create subdomain from object's slug?
ask
Professor
Hi All
Im beginner, from where I should start Django.
Maxim
ask
Is it deployment or development server? Your question is not detailed enough
I have a simple site with some pages
I want to create subdomains in Django admin and depend on subdomains change info on site. For example, in url example.com/page1 title is "Title 1", while in url floor.example.com/page1 title is "Title 2"
so I think that I should create subdomain model and page model, connect them by Foreign Key and depend on subdomain show necessary page
now I'm working locally
Dominik
Hello everyone,
I’m facing an issue which I just can’t get over. Everything is fine on my local, now I’m deploying the app but when I want to run the initial migrations I get this :
return self.cursor.execute(sql, params)
django.db.utils.ProgrammingError: relation "dashboard_acceptedcurrencies" does not exist
LINE 1: ...d", "dashboard_acceptedcurrencies"."updated" FROM "dashboard...
^
Your help is much appreciated!
Regards, Dominik
Flam
ask
Flam
Fan / Ac
Dominik
ask
Flam
Gbenga
No idea
ask
ask
Flam
Dhanik K.
Accidentally i deleted a empty table of a model class in postgresql , now when i reverted to the migration when that table was created, and run python manage.py migrate again, not able to retrieve that table again (getting error) .
How can i create that table???
p. s: using pgadmin 4
Adam
Please advise: I create a new user, everything is fine. But when I go into the admin and enter data, it displays that the data are incorrect. 3 users have already been created
Code in models.py (overriding the base user) - https://www.toptal.com/developers/hastebin/iqehipibem.py
Andrej
Adam
Fan / Ac
Ahmed
Can I retrieve data from realtime database without refreshing my website ?
Doragonsureiyā
Harsh
Ruzan
cj
he asked if he can... and, yes he can...
he didn't ask what to use or how to do that ¯\_(ツ)_/¯
Rishi
Is django easy or not for rest api
Rishi
I am beginner mern developer
But facing difficulties in writing api on nodejs
Aniket
How can I check duplicate data in database in Django
Doragonsureiyā
Rohan
Saddam
Did any body have cheat sheet or videos about sessions, cookies and session id
cj
Adam
Maybe who knows why the username is indicated instead of mail, and the email is indicated instead of the username?
Models.py - https://www.toptal.com/developers/hastebin/uzoxaluhiq.py