Skip to content

Instantly share code, notes, and snippets.

@wiltzius
Created July 4, 2024 00:00
Show Gist options
  • Save wiltzius/fe9d40f721733d409bebd062e16725da to your computer and use it in GitHub Desktop.
Save wiltzius/fe9d40f721733d409bebd062e16725da to your computer and use it in GitHub Desktop.
From a4c0674bee715d552c966e5e67f80c308d1ca130 Mon Sep 17 00:00:00 2001
From: Tom <[email protected]>
Date: Wed, 3 Jul 2024 16:46:05 -0700
Subject: [PATCH 2/2] get to working page load
---
LemurAptana/LemurApp/urls.py | 2 +-
LemurAptana/settings.py | 2 +-
requirements.txt | 11 ++++++-----
3 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/LemurAptana/LemurApp/urls.py b/LemurAptana/LemurApp/urls.py
index fcb85a1..90649ca 100644
--- a/LemurAptana/LemurApp/urls.py
+++ b/LemurAptana/LemurApp/urls.py
@@ -41,5 +41,5 @@ urlpatterns = [ #patterns(
re_path(r'^api/', include(router.urls)),
re_path(r'^schema/$', get_schema_view(title='BTP API')),
re_path(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
- re_path(r'^docs/', include_docs_urls(title='My API service'))
+ re_path(r'^docs/', include_docs_urls(title='My API service'), name='api-docs')
]
diff --git a/LemurAptana/settings.py b/LemurAptana/settings.py
index 9b1be67..8af1f60 100644
--- a/LemurAptana/settings.py
+++ b/LemurAptana/settings.py
@@ -8,7 +8,7 @@ FORCE_SCRIPT_NAME = ''
DEBUG = True
TEMPLATE_DEBUG = DEBUG
-ALLOWED_HOSTS = ['192.168.192.85']
+ALLOWED_HOSTS = ['192.168.192.85', 'localhost']
ADMINS = (
('Tom Wiltzius', '[email protected]'),
diff --git a/requirements.txt b/requirements.txt
index 942b007..b7eff4f 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -3,8 +3,8 @@ uwsgi
pydash
raven
ipdb
-Django
-mysqlclient
+Django==5.0.6
+#mysqlclient
requests
beautifulsoup4==4.6.0
django-webpack-loader
@@ -13,8 +13,9 @@ pyasn1==0.1.9
pyOpenSSL
google-api-python-client==1.6.2
fuzzywuzzy==0.15.0
-coreapi==2.3.1
-djangorestframework
+coreapi==2.3.3
+djangorestframework==3.15.2
usaddress==0.5.10
-python-Levenshtein==0.12.0
+python-Levenshtein==0.25.1
django-debug-toolbar
+setuptools
--
2.39.3 (Apple Git-146)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment