Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
helloworld
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
django
helloworld
Commits
baf2c4bb
Commit
baf2c4bb
authored
10 years ago
by
Leonardo J. Caballero G
Browse files
Options
Downloads
Patches
Plain Diff
Update Django version from 1.4 to 1.6.5
parent
4f6040df
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
helloworld/settings.py
+3
-0
3 additions, 0 deletions
helloworld/settings.py
helloworld/urls.py
+1
-1
1 addition, 1 deletion
helloworld/urls.py
setup.py
+1
-1
1 addition, 1 deletion
setup.py
with
5 additions
and
2 deletions
helloworld/settings.py
+
3
−
0
View file @
baf2c4bb
...
@@ -68,6 +68,9 @@ STATIC_URL = '/static/'
...
@@ -68,6 +68,9 @@ STATIC_URL = '/static/'
# http://stackoverflow.com/questions/8222887/where-are-django-admin-sites-static-media-files-and-how-to-configure
# http://stackoverflow.com/questions/8222887/where-are-django-admin-sites-static-media-files-and-how-to-configure
#ADMIN_MEDIA_PREFIX = '/static/admin/'
#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
# Additional locations of static files
STATICFILES_DIRS
=
(
STATICFILES_DIRS
=
(
# Put strings here, like "/home/html/static" or "C:/www/django/static".
# Put strings here, like "/home/html/static" or "C:/www/django/static".
...
...
This diff is collapsed.
Click to expand it.
helloworld/urls.py
+
1
−
1
View file @
baf2c4bb
# -*- coding: utf-8 -*-
# -*- coding: utf-8 -*-
from
django.conf.urls
.defaults
import
*
from
django.conf.urls
import
patterns
,
include
from
django.conf
import
settings
from
django.conf
import
settings
# Uncomment the next two lines to enable the admin:
# Uncomment the next two lines to enable the admin:
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
1
View file @
baf2c4bb
...
@@ -30,7 +30,7 @@ setup(
...
@@ -30,7 +30,7 @@ setup(
platforms
=
[
'
OS Independent
'
],
platforms
=
[
'
OS Independent
'
],
classifiers
=
CLASSIFIERS
,
classifiers
=
CLASSIFIERS
,
install_requires
=
[
install_requires
=
[
'
Django==1.
4
'
,
'
Django==1.
6.5
'
,
],
],
packages
=
find_packages
(
exclude
=
[
"
project
"
,
"
project.*
"
]),
packages
=
find_packages
(
exclude
=
[
"
project
"
,
"
project.*
"
]),
include_package_data
=
True
,
include_package_data
=
True
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment