From baf2c4bb9a92c0f32d67d3db268416891ea834fd Mon Sep 17 00:00:00 2001
From: "Leonardo J. Caballero G" <leonardocaballero@gmail.com>
Date: Tue, 5 Aug 2014 18:45:09 -0430
Subject: [PATCH] Update Django version from 1.4 to 1.6.5

---
 helloworld/settings.py | 3 +++
 helloworld/urls.py     | 2 +-
 setup.py               | 2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/helloworld/settings.py b/helloworld/settings.py
index 79ecfd4..bcc946c 100644
--- a/helloworld/settings.py
+++ b/helloworld/settings.py
@@ -68,6 +68,9 @@ STATIC_URL = '/static/'
 # http://stackoverflow.com/questions/8222887/where-are-django-admin-sites-static-media-files-and-how-to-configure
 #ADMIN_MEDIA_PREFIX = '/static/admin/'
 
+# A list of strings representing the host/domain names that this Django site can serve.
+ALLOWED_HOSTS = ['127.0.0.1', 'localhost']
+
 # Additional locations of static files
 STATICFILES_DIRS = (
     # Put strings here, like "/home/html/static" or "C:/www/django/static".
diff --git a/helloworld/urls.py b/helloworld/urls.py
index f880d35..fcae7dd 100644
--- a/helloworld/urls.py
+++ b/helloworld/urls.py
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 
-from django.conf.urls.defaults import *
+from django.conf.urls import patterns, include
 from django.conf import settings
 
 # Uncomment the next two lines to enable the admin:
diff --git a/setup.py b/setup.py
index f964da2..84ee9cd 100644
--- a/setup.py
+++ b/setup.py
@@ -30,7 +30,7 @@ setup(
     platforms=['OS Independent'],
     classifiers=CLASSIFIERS,
     install_requires=[
-        'Django==1.4',
+        'Django==1.6.5',
     ],
     packages=find_packages(exclude=["project","project.*"]),
     include_package_data=True,
-- 
GitLab