"""CHCWebsite URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.9/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.conf.urls import url, include
    2. Add a URL to urlpatterns:  url(r'^blog/', include('blog.urls'))
"""
from django.conf.urls import *
from django.contrib import admin
from django.conf import settings
from django.conf.urls.static import static
from django.views.generic.base import TemplateView


urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^', include('home.urls'), name="index"),
    url(r'^lectures/', include('lectures.urls'), name="lectures"),
    url(r'^writeups/', include('writeups.urls'), name="writeups"),
    url(r'^guides/', include('guides.urls'), name="guides"),
    # url(r'^contact/', include('contact.urls')),
    # url(r'^sponsorship$', TemplateView.as_view(template_name='sponsorship.html'), name="sponsorship"),
    url(r'^faq/', include('faq.urls')),
    url(r'^tools$', TemplateView.as_view(template_name='tools.html'), name="tools"),

]

admin.site.site_header = 'Cornell Hacking Club Admin Page'
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

# if settings.DEBUG:
#     urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
#

c390360b45a0d44126fe0ae1ca30c9ec50411a99
<mask token>

<mask token>
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

<mask token>
urlpatterns = [url('^admin/', admin.site.urls), url('^', include(
    'home.urls'), name='index'), url('^lectures/', include('lectures.urls'),
    name='lectures'), url('^writeups/', include('writeups.urls'), name=
    'writeups'), url('^guides/', include('guides.urls'), name='guides'),
    url('^faq/', include('faq.urls')), url('^tools$', TemplateView.as_view(
    template_name='tools.html'), name='tools')]
admin.site.site_header = 'Cornell Hacking Club Admin Page'
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

<mask token>
from django.conf.urls import *
from django.contrib import admin
from django.conf import settings
from django.conf.urls.static import static
from django.views.generic.base import TemplateView
urlpatterns = [url('^admin/', admin.site.urls), url('^', include(
    'home.urls'), name='index'), url('^lectures/', include('lectures.urls'),
    name='lectures'), url('^writeups/', include('writeups.urls'), name=
    'writeups'), url('^guides/', include('guides.urls'), name='guides'),
    url('^faq/', include('faq.urls')), url('^tools$', TemplateView.as_view(
    template_name='tools.html'), name='tools')]
admin.site.site_header = 'Cornell Hacking Club Admin Page'
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

"""CHCWebsite URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.9/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.conf.urls import url, include
    2. Add a URL to urlpatterns:  url(r'^blog/', include('blog.urls'))
"""
from django.conf.urls import *
from django.contrib import admin
from django.conf import settings
from django.conf.urls.static import static
from django.views.generic.base import TemplateView


urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^', include('home.urls'), name="index"),
    url(r'^lectures/', include('lectures.urls'), name="lectures"),
    url(r'^writeups/', include('writeups.urls'), name="writeups"),
    url(r'^guides/', include('guides.urls'), name="guides"),
    # url(r'^contact/', include('contact.urls')),
    # url(r'^sponsorship$', TemplateView.as_view(template_name='sponsorship.html'), name="sponsorship"),
    url(r'^faq/', include('faq.urls')),
    url(r'^tools$', TemplateView.as_view(template_name='tools.html'), name="tools"),

]

admin.site.site_header = 'Cornell Hacking Club Admin Page'
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

# if settings.DEBUG:
#     urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
#
