Skip to content

Commit

Permalink
CU-86c03gct8 update refresher project
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrahimroshdy committed Aug 26, 2024
1 parent 19b7b52 commit 5b06242
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
11 changes: 9 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ media

# If your build process includes running collectstatic, then you probably don't need or want to include staticfiles/
# in your Git repository. Update and uncomment the following line accordingly.
# <django-project-name>/staticfiles/
staticfiles/

### Django.Python Stack ###
# Byte-compiled / optimized / DLL files
Expand Down Expand Up @@ -172,4 +172,11 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

# End of https://www.toptal.com/developers/gitignore/api/django
# End of https://www.toptal.com/developers/gitignore/api/django

#PyCharm
.idea/


#Mac
.DS_Store
1 change: 1 addition & 0 deletions apps/speedtester/utils/abstract_speedtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from loguru import logger

# Setup django to be able to access the settings file
import os
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'refresher_config.settings')
django.setup()

Expand Down
1 change: 1 addition & 0 deletions apps/speedtester/utils/function_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ def process_speedtest_test():
client = refresher_speedtest.get_client()

return speedtest_res, best, servers, client

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions refresher_config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [os.path.join(BASE_DIR, 'templates')]
,
'DIRS': [os.path.join(BASE_DIR, 'templates')],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
Expand Down

0 comments on commit 5b06242

Please sign in to comment.