mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-21 13:11:08 -05:00
Add initial migration for moderation app and resolve seed command issues
- Created an empty migration file for the moderation app to enable migrations. - Documented the resolution of the seed command failure due to missing moderation tables. - Identified and fixed a VARCHAR(10) constraint violation in the User model during seed data generation. - Updated role assignment in the seed command to comply with the field length constraint.
This commit is contained in:
@@ -8,7 +8,7 @@ The Company model is aliased as Manufacturer to clarify its role as ride manufac
|
||||
while maintaining backward compatibility through the Company alias.
|
||||
"""
|
||||
|
||||
from .rides import Ride, RideModel, RollerCoasterStats
|
||||
from .rides import Ride, RideModel, RideModelVariant, RideModelPhoto, RideModelTechnicalSpec, RollerCoasterStats
|
||||
from .company import Company
|
||||
from .location import RideLocation
|
||||
from .reviews import RideReview
|
||||
@@ -19,6 +19,9 @@ __all__ = [
|
||||
# Primary models
|
||||
"Ride",
|
||||
"RideModel",
|
||||
"RideModelVariant",
|
||||
"RideModelPhoto",
|
||||
"RideModelTechnicalSpec",
|
||||
"RollerCoasterStats",
|
||||
"Company",
|
||||
"RideLocation",
|
||||
|
||||
Reference in New Issue
Block a user