Skip to content

Commit

Permalink
Remove unneeded frontend app (#713)
Browse files Browse the repository at this point in the history
  • Loading branch information
willemarcel authored Aug 28, 2024
1 parent 59281c7 commit 2991254
Show file tree
Hide file tree
Showing 16 changed files with 1 addition and 160 deletions.
1 change: 0 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ DJANGO_ANON_USER_THROTTLE_RATE ANON_USER_THROTTLE_RATE None
DJANGO_COMMON_USER_THROTTLE_RATE COMMON_USER_THROTTLE_RATE None 180/min
DJANGO_NON_STAFF_USER_THROTTLE_RATE NON_STAFF_USER_THROTTLE_RATE 3/min 3/min
OAUTH_REDIRECT_URI OAUTH_REDIRECT_URI http://localhost:8000/oauth-landing.html http://localhost:8000/oauth-landing.html
OSMCHA_FRONTEND_VERSION OSMCHA_FRONTEND_VERSION oh-pages oh-pages
DJANGO_ENABLE_CHANGESET_COMMENTS ENABLE_POST_CHANGESET_COMMENTS False False
DJANGO_OSM_COMMENTS_API_KEY OSM_COMMENTS_API_KEY '' ''
======================================= ================================= ========================================= ===========================================
Expand Down
6 changes: 0 additions & 6 deletions config/settings/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
'osmchadjango.users', # custom users app
'osmchadjango.changeset',
'osmchadjango.supervise',
'osmchadjango.frontend',
'osmchadjango.roulette_integration',
)

Expand Down Expand Up @@ -358,11 +357,6 @@
default='https://planet.openstreetmap.org/replication/changesets/'
)

# FRONTEND SETTINGS
# -----------------------------------------------------------------------------
# Version or any valid git branch tag of front-end code
OSMCHA_FRONTEND_VERSION = env('OSMCHA_FRONTEND_VERSION', default='oh-pages')

# MapRoulette API CONFIG
MAP_ROULETTE_API_KEY = env('MAP_ROULETTE_API_KEY', default=None)
MAP_ROULETTE_API_URL = env('MAP_ROULETTE_API_URL', default="https://maproulette.org/api/v2/")
Expand Down
3 changes: 0 additions & 3 deletions config/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,6 @@ def health_check(request):
include(api_urls)
),

# frontend urls
path('', include("osmchadjango.frontend.urls", namespace="frontend")),

] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

if settings.DEBUG:
Expand Down
Empty file removed osmchadjango/frontend/__init__.py
Empty file.
3 changes: 0 additions & 3 deletions osmchadjango/frontend/admin.py

This file was deleted.

7 changes: 0 additions & 7 deletions osmchadjango/frontend/apps.py

This file was deleted.

Empty file.
Empty file.
59 changes: 0 additions & 59 deletions osmchadjango/frontend/management/commands/update_frontend.py

This file was deleted.

Empty file.
5 changes: 0 additions & 5 deletions osmchadjango/frontend/models.py

This file was deleted.

1 change: 0 additions & 1 deletion osmchadjango/frontend/templates/frontend/index.html

This file was deleted.

3 changes: 0 additions & 3 deletions osmchadjango/frontend/tests.py

This file was deleted.

51 changes: 0 additions & 51 deletions osmchadjango/frontend/urls.py

This file was deleted.

17 changes: 0 additions & 17 deletions osmchadjango/frontend/views.py

This file was deleted.

5 changes: 1 addition & 4 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ unicode-slugify==0.1.3
django-autoslug==1.9.8

# Time zones support
pytz==2021.1
pytz==2024.1

# Redis support
django-redis==4.11.0
Expand All @@ -40,6 +40,3 @@ redis>=2.10.5
# Your custom requirements go here
PyYAML==6.0.2
osmcha==0.9.2

# git python is required by the frontend management command
GitPython==3.1.18

0 comments on commit 2991254

Please sign in to comment.