from django.conf.urls import url
from django.contrib import admin

urlpatterns = [
    url(r'^admin/', admin.site.urls),
]

from django.conf.urls import url
from django.contrib import admin
from django.http import HttpResponse

urlpatterns = [
    url(r'^$', lambda request: HttpResponse('<h1>Memoir</h1>'), name = 'index'),
    url(r'^admin/', admin.site.urls),
]

Configure a simple index page
Configure a simple index page

For now, this is a place-holder.

  from django.conf.urls import url
  from django.contrib import admin
+ from django.http import HttpResponse
  
  urlpatterns = [
+     url(r'^$', lambda request: HttpResponse('<h1>Memoir</h1>'), name = 'index'),
      url(r'^admin/', admin.site.urls),
  ]
  
Configure a simple index page
## Code Before:
from django.conf.urls import url
from django.contrib import admin

urlpatterns = [
    url(r'^admin/', admin.site.urls),
]

## Instruction:
Configure a simple index page
## Code After:
from django.conf.urls import url
from django.contrib import admin
from django.http import HttpResponse

urlpatterns = [
    url(r'^$', lambda request: HttpResponse('<h1>Memoir</h1>'), name = 'index'),
    url(r'^admin/', admin.site.urls),
]
