Restructured web resources to better manage static files.
This commit is contained in:
parent
05c9d67ffc
commit
16bcc3c9f0
25 changed files with 70 additions and 59 deletions
0
game/gamesrc/web/__init__.py
Normal file
0
game/gamesrc/web/__init__.py
Normal file
5
game/gamesrc/web/static/README.md
Normal file
5
game/gamesrc/web/static/README.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
This folder is used by Django's staticfiles application for gathering all static files (CSS, JS, etc) into one place
|
||||
from the various sources that they might be gathered from.
|
||||
|
||||
Do not edit files in this directory. Instead, read up on Django's static file handling to learn how to create Django
|
||||
apps with their own static files.
|
||||
13
game/gamesrc/web/urls.py
Normal file
13
game/gamesrc/web/urls.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
from src.web.urls import urlpatterns
|
||||
#
|
||||
# File that determines what each URL points to. This uses _Python_ regular
|
||||
# expressions, not Perl's.
|
||||
#
|
||||
# See:
|
||||
# http://diveintopython.org/regular_expressions/street_addresses.html#re.matching.2.3
|
||||
#
|
||||
|
||||
# You can add URLs to your game's website by extending urlpatterns.
|
||||
#
|
||||
# These are Django URL patterns, so you should look up how to use these at
|
||||
# https://docs.djangoproject.com/en/1.6/topics/http/urls/
|
||||
Loading…
Add table
Add a link
Reference in a new issue