From 7bb4e303f853ad8515a81d3cf2061a6287df5ed4 Mon Sep 17 00:00:00 2001 From: Kyle K Date: Mon, 27 Mar 2017 23:51:31 -0500 Subject: css changes, make tiles more compact --- django_clscrap/urls.py | 5 +++-- myapp/templates/index.html | 11 +++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/django_clscrap/urls.py b/django_clscrap/urls.py index bc4c361..ac29122 100644 --- a/django_clscrap/urls.py +++ b/django_clscrap/urls.py @@ -15,10 +15,11 @@ Including another URLconf """ from django.conf.urls import include, url from django.contrib import admin -from django.http import HttpResponseRedirect +from django.http import HttpResponseRedirect, HttpResponse urlpatterns = [ - url(r'^$', lambda r: HttpResponseRedirect('app/')), # 302 redirect from / to app/index + #url(r'^$', lambda r: HttpResponseRedirect('app/')), # 302 redirect from / to app/index + url(r'^$', lambda r: HttpResponse('hello, world! visit app/ to view listing')), url(r'^admin/', admin.site.urls), url(r'^app/', include('myapp.urls')), url(r'^api/', include('myapp.urls')), diff --git a/myapp/templates/index.html b/myapp/templates/index.html index 1a1f618..f2b7216 100644 --- a/myapp/templates/index.html +++ b/myapp/templates/index.html @@ -4,23 +4,22 @@ Craigslist Scraper -

Craigslist Scrapper

+

Craigslist Scraper

get list of current WRX STi parts for sale in Chicago area
     url: {{ baseurl }}
     query: {{ keyword }}
 
-    author: fatalhalt
     https://github.com/fatalhalt/CLscrap
-
 
{% for i in data %} -- cgit v1.2.3