Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

spektra/django-hoops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

426 Commits

Repository files navigation

django-hoops

A web-app for "hoops" (a basketball league) made with Django, Bootstrap & Postgres.

Environment variables go in a file called '.env' in the main directory (not for production).

# [DISCORD OAUTH2]
DISCORD_AUTH_URL = "get_your_own"
CLIENT_ID = "get_your_own"
CLIENT_SECRET = "get_your_own"
GRANT_TYPE = "authorization_code"
REDIRECT_URI = "http://localhost:8000/login/discord/redirect" 
SCOPE = "identify guilds"
# [DISCORD GUILDS]
HOOPS_GUILD_ID = "discord_server_id"
# [SECRET KEYS]
DJANGO_SECRET_KEY = "make_your_own"
# [OTHERS]
DEVELOPMENT_MODE = "True"
DATABASE_URL = "sqlite:///db.sqlite3"
DEBUG = "True"
MOTD = "MOTD: The Pittsburgh Force are the worst team in the league."

About

A web-app for "hoops" (a basketball league) made with Django, Bootstrap & Postgres.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

  • Python 54.4%
  • HTML 44.1%
  • JavaScript 1.3%
  • CSS 0.2%

AltStyle によって変換されたページ (->オリジナル) /