Federico
Show the code
Literally these 4 lines:
from django.contrib.auth.models import AbstractBaseUser, AbstractUser
from django.db import models
class GymUser(AbstractUser):
gym_name = models.CharField(max_length=64, null=True, blank=True)
Federico
Muflone
...
Have you added your app to your apps dictionary in settings.py?
Muflone
Is GymApp in your enabled apps?
Federico
Muflone
Have you cleared your db?
Federico
INSTALLED_APPS = [
...
# APPS
'GymApp',
'bullettinboard',
# 'mealplans',
# 'reservations',
# 'workout',
]
...
Thats right
Federico
It creates no migration folder in my main folder
...
Muflone
It seems correct
There must be some path wrong in your setup.
Share the project somewhere
Muflone
No thanks
TBSITS
As a beginner in Django, what book can I read to make me more productive please
Muflone
Anonymous
Mitsubishi
What is not working?
- I don’t understand how to make 1 form mandatory
- Validation run 2 times
https://linkode.org/#R9o9ua9NTHaom9LBoDDph2
Federico
Is Django common in work enviroments?
Mirco
Ravikumar
how to do Dynamic Dual List Box with manytomany feild
IRFAN
I am flutter developer..........I want switch another......Is django or node js ....
Which one get job faster
Mirco
Ромко
Ромко
What is the best way to create responsive lending website ?
x-yro
Hello, which image should I choose for docker to run celery and redis?Will the Ubuntu image work? I am using Windows 10
x-yro
Doragonsureiyā
This question is related to Django
Adding the word Django to your Off-Topic question doesn't magically turn it to a Django related question, so move to @PythonOfftopic group and ask there.
mehrab
mehrab
Danny
Abel
Guys how can i connect my front end port to my backend port using MERN
Noura
Hello everyone
I have a problem
I received an audio file to view
It is working
But when l try to upload it or save it in api
It is uploaded as local link or path
When l click on it l got error
However, when l try to upload it via admin
The url saved not locally because l created media root folder
Noura
How can l fix the problem
ROG 💻
Hello everyone, from an already functional project that I have in Django + Postgres for good practices, how can I access an Oracle DB that my client owns and make queries and return as JsonResponse in my app? The idea is to use ODBC
The Inspired
Guys how can i connect my front end port to my backend port using MERN
Your React app would be running on a port, say 5173.
Your express would be running on another port, say 8000.
You have to make api calls to localhost:8000 from your frontend.
That's how you "connect" your frontend to backend.
Also you have to configure CORS so that your frontend is actually able to make the request
The Inspired
The Inspired
https://docs.djangoproject.com/en/4.2/ref/databases/#oracle-notes
cj
cj
you can have connections to many databases without problems
cj
cj
ROG 💻
I didn't understand anything that you wrote
What I need is to consult data from an Oracle DB, I do not need to do migrations or anything, it is only to execute queries to be able to show it in a django app which is all on Postrgres DB
cj
Sea
How to configure django channels on production
Charly
Charly
https://channels.readthedocs.io/en/stable/deploying.html
بلال
Does someone know how to implement this multi step form. The form should be that the next question is based on the answer before
https://www.drinktrade.com/subscription-signup
hmmmmmm
Guys, I have included "django.middleware.locale.LocaleMiddleware" and it should do a redirect to locale, which is defined in the request headers and everything works locally. nginx gunicorn does not work on the combat machine, what could be the matter?
that is, when I go to the site address I catch a 500 error, and if I manually enter /ru/ into the yurl, then everything is fine
if you enabled debug true, then everything is fine
apparently it is necessary to dig in nginx, I don’t understand where
حمید
Hello friends
How can I display the even days of the week of a period of time, for example a month, along with the date of that day
Haha
Hello all I am a beginner but I try to import include function but it's not defined
Muflone
Haha
I have an image of the problem but I can't send it here 😭
Muflone
this is not fun
Muflone
you have to show the code, not the images
Haha
Ok
Haha
I will write it
Haha
from django.urls import path, include
But include function it's not defined and I can't use it
Muflone
show the exact error
Shear
Hello guys, how do I hide a html tag on base.html from other.html, ie I want to hide a div tag that is on base.html from about.html
ERMIA
ERMIA
Sea
Muflone
Toor7
Hello guys
I build micro-service using django and apollo federation as gateway, what is the best way to implement authentication??
Shefali
Difference between remember me and cokkies
Doragonsureiyā
Shefali
Cookies in session management
Kene