Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't know maybe DB issue #2

Open
sanskarkakde14 opened this issue Feb 19, 2024 · 0 comments
Open

Don't know maybe DB issue #2

sanskarkakde14 opened this issue Feb 19, 2024 · 0 comments

Comments

@sanskarkakde14
Copy link

ERRORS:
rsaDemo.userModel.user: (fields.E304) Reverse accessor for 'rsaDemo.userModel.user' clashes with reverse accessor for 'rsaDemo.userModel.user_ptr'.
HINT: Add or change a related_name argument to the definition for 'rsaDemo.userModel.user' or 'rsaDemo.userModel.user_ptr'.
rsaDemo.userModel.user: (fields.E305) Reverse query name for 'rsaDemo.userModel.user' clashes with reverse query name for 'rsaDemo.userModel.user_ptr'.
HINT: Add or change a related_name argument to the definition for 'rsaDemo.userModel.user' or 'rsaDemo.userModel.user_ptr'.
rsaDemo.userModel.user_ptr: (fields.E304) Reverse accessor for 'rsaDemo.userModel.user_ptr' clashes with reverse accessor for 'rsaDemo.userModel.user'.
HINT: Add or change a related_name argument to the definition for 'rsaDemo.userModel.user_ptr' or 'rsaDemo.userModel.user'.
rsaDemo.userModel.user_ptr: (fields.E305) Reverse query name for 'rsaDemo.userModel.user_ptr' clashes with reverse query name for 'rsaDemo.userModel.user'.
HINT: Add or change a related_name argument to the definition for 'rsaDemo.userModel.user_ptr' or 'rsaDemo.userModel.user'.

WARNINGS:
rsaDemo.createsModel: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
HINT: Configure the DEFAULT_AUTO_FIELD setting or the RsademoConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.
rsaDemo.roomHasMessages: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'.
HINT: Configure the DEFAULT_AUTO_FIELD setting or the RsademoConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant