mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 07:11:08 -05:00
Add comprehensive API documentation for ThrillWiki integration and features
- Introduced Next.js integration guide for ThrillWiki API, detailing authentication, core domain APIs, data structures, and implementation patterns. - Documented the migration to Rich Choice Objects, highlighting changes for frontend developers and enhanced metadata availability. - Fixed the missing `get_by_slug` method in the Ride model, ensuring proper functionality of ride detail endpoints. - Created a test script to verify manufacturer syncing with ride models, ensuring data integrity across related models.
This commit is contained in:
@@ -10,7 +10,7 @@ def main():
|
||||
"""Run administrative tasks."""
|
||||
# Auto-detect environment based on command line arguments and environment variables
|
||||
settings_module = detect_settings_module()
|
||||
config("DJANGO_SETTINGS_MODULE", settings_module)
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", settings_module)
|
||||
|
||||
try:
|
||||
from django.core.management import execute_from_command_line
|
||||
@@ -21,7 +21,7 @@ def main():
|
||||
"Did you forget to activate a virtual environment?"
|
||||
)
|
||||
print("\nTo set up your development environment, try:")
|
||||
print(" python manage.py setup_dev")
|
||||
print(" uv run manage.py setup_dev")
|
||||
raise ImportError(
|
||||
"Couldn't import Django. Are you sure it's installed and "
|
||||
"available on your PYTHONPATH environment variable? Did you "
|
||||
|
||||
Reference in New Issue
Block a user