from django.conf.urls import patterns, include, url
from MyHub.home.views import home_page
from MyHub.resume.views import resume_page
from MyHub.projects.views import projects_page
from MyHub.contact.views import contact_page
from MyHub.views import loader_page
from django.contrib import admin
from django.conf import settings
from django.conf.urls.static import static
admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'MyHub.views.home', name='home'),
    # url(r'^blog/', include('blog.urls')),

    url(r'^$', loader_page, name='loader'),
    url(r'^home/$', home_page, name='index'),
    url(r'^resume/$', resume_page, name='resume'),
    url(r'^projects/$', projects_page, name='projects'),
    url(r'^contact/$', contact_page, name='contact'),
    url(r'^admin/', include(admin.site.urls)),
) + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)

from django.conf.urls import patterns, include, url
from MyHub.home.views import home_page
from MyHub.resume.views import resume_page
from MyHub.projects.views import projects_page
from MyHub.contact.views import contact_page
from MyHub.views import loader_page
from django.contrib import admin
from django.conf import settings
from django.conf.urls.static import static
admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'MyHub.views.home', name='home'),
    # url(r'^blog/', include('blog.urls')),

    url(r'^$', home_page, name='loader'),
    # url(r'^home/$', home_page, name='index'),
    # url(r'^resume/$', resume_page, name='resume'),
    # url(r'^projects/$', projects_page, name='projects'),
    # url(r'^contact/$', contact_page, name='contact'),
    # url(r'^admin/', include(admin.site.urls)),
) + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)

Change default URL to display home content. Temporary fix.
Change default URL to display home content. Temporary fix.

  from django.conf.urls import patterns, include, url
  from MyHub.home.views import home_page
  from MyHub.resume.views import resume_page
  from MyHub.projects.views import projects_page
  from MyHub.contact.views import contact_page
  from MyHub.views import loader_page
  from django.contrib import admin
  from django.conf import settings
  from django.conf.urls.static import static
  admin.autodiscover()
  
  urlpatterns = patterns('',
      # Examples:
      # url(r'^$', 'MyHub.views.home', name='home'),
      # url(r'^blog/', include('blog.urls')),
  
-     url(r'^$', loader_page, name='loader'),
+     url(r'^$', home_page, name='loader'),
-     url(r'^home/$', home_page, name='index'),
+     # url(r'^home/$', home_page, name='index'),
-     url(r'^resume/$', resume_page, name='resume'),
+     # url(r'^resume/$', resume_page, name='resume'),
-     url(r'^projects/$', projects_page, name='projects'),
+     # url(r'^projects/$', projects_page, name='projects'),
-     url(r'^contact/$', contact_page, name='contact'),
+     # url(r'^contact/$', contact_page, name='contact'),
-     url(r'^admin/', include(admin.site.urls)),
+     # url(r'^admin/', include(admin.site.urls)),
  ) + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
  
Change default URL to display home content. Temporary fix.
## Code Before:
from django.conf.urls import patterns, include, url
from MyHub.home.views import home_page
from MyHub.resume.views import resume_page
from MyHub.projects.views import projects_page
from MyHub.contact.views import contact_page
from MyHub.views import loader_page
from django.contrib import admin
from django.conf import settings
from django.conf.urls.static import static
admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'MyHub.views.home', name='home'),
    # url(r'^blog/', include('blog.urls')),

    url(r'^$', loader_page, name='loader'),
    url(r'^home/$', home_page, name='index'),
    url(r'^resume/$', resume_page, name='resume'),
    url(r'^projects/$', projects_page, name='projects'),
    url(r'^contact/$', contact_page, name='contact'),
    url(r'^admin/', include(admin.site.urls)),
) + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)

## Instruction:
Change default URL to display home content. Temporary fix.
## Code After:
from django.conf.urls import patterns, include, url
from MyHub.home.views import home_page
from MyHub.resume.views import resume_page
from MyHub.projects.views import projects_page
from MyHub.contact.views import contact_page
from MyHub.views import loader_page
from django.contrib import admin
from django.conf import settings
from django.conf.urls.static import static
admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'MyHub.views.home', name='home'),
    # url(r'^blog/', include('blog.urls')),

    url(r'^$', home_page, name='loader'),
    # url(r'^home/$', home_page, name='index'),
    # url(r'^resume/$', resume_page, name='resume'),
    # url(r'^projects/$', projects_page, name='projects'),
    # url(r'^contact/$', contact_page, name='contact'),
    # url(r'^admin/', include(admin.site.urls)),
) + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
