feat: major project restructure - move Django to backend dir and fix critical imports

- Restructure project: moved Django backend to backend/ directory
- Add frontend/ directory for future Next.js application
- Add shared/ directory for common resources
- Fix critical Django import errors:
  - Add missing sys.path modification for apps directory
  - Fix undefined CATEGORY_CHOICES imports in rides module
  - Fix media migration undefined references
  - Remove unused imports and f-strings without placeholders
- Install missing django-environ dependency
- Django server now runs without ModuleNotFoundError
- Update .gitignore and README for new structure
- Add pnpm workspace configuration for monorepo setup
This commit is contained in:
pacnpal
2025-08-23 18:37:55 -04:00
parent 652ea149bd
commit b0e0678590
996 changed files with 370 additions and 192768 deletions

View File

@@ -1,26 +0,0 @@
{% if suggestions %}
<div class="py-2">
{% for suggestion in suggestions %}
<button class="block w-full px-4 py-2 text-left text-gray-700 hover:bg-gray-100 dark:text-gray-300 dark:hover:bg-gray-700 focus:outline-hidden focus:bg-gray-100 dark:focus:bg-gray-700"
@click="selectSuggestion('{{ suggestion.text }}')"
@keydown.enter="selectSuggestion('{{ suggestion.text }}')"
@keydown.esc="showSuggestions = false"
data-text="{{ suggestion.text }}"
tabindex="0">
<div class="flex items-center">
{% if suggestion.type == 'park' %}
<i class="w-6 mr-2 text-gray-400 fa fa-map-marker-alt"></i>
{% elif suggestion.type == 'category' %}
<i class="w-6 mr-2 text-gray-400 fa fa-ticket-alt"></i>
{% else %}
<i class="w-6 mr-2 text-gray-400 fa fa-search"></i>
{% endif %}
<span>{{ suggestion.text }}</span>
{% if suggestion.subtext %}
<span class="ml-2 text-sm text-gray-500 dark:text-gray-400">{{ suggestion.subtext }}</span>
{% endif %}
</div>
</button>
{% endfor %}
</div>
{% endif %}