Commit 3e4242fc by Tom Christie

django.contrib.staticfiles no longer needs to be in INSTALLED_APPS

parent eefd5b05
...@@ -60,18 +60,7 @@ Add `'rest_framework'` to your `INSTALLED_APPS` setting. ...@@ -60,18 +60,7 @@ Add `'rest_framework'` to your `INSTALLED_APPS` setting.
'rest_framework', 'rest_framework',
) )
## Browseable API requirements If you're intending to use the browseable API you'll probably also want to add REST framework's login and logout views. Add the following to your root `urls.py` file.
If you're intending to use the browseable API you'll also want to also ensure you include `'django.contrib.staticfiles'` in your `INSTALLED_APPS` setting.
INSTALLED_APPS = (
...
'django.contrib.staticfiles',
'rest_framework',
)
You'll proabably also want to add REST framework's login and logout views.
Add the following to your root `urls.py` file.
urlpatterns = patterns('', urlpatterns = patterns('',
... ...
......
...@@ -59,18 +59,7 @@ Add `'rest_framework'` to your `INSTALLED_APPS` setting. ...@@ -59,18 +59,7 @@ Add `'rest_framework'` to your `INSTALLED_APPS` setting.
'rest_framework', 'rest_framework',
) )
### Browseable API requirements If you're intending to use the browseable API you'll probably also want to add REST framework's login and logout views. Add the following to your root `urls.py` file.
If you're intending to use the browseable API you'll also want to also ensure you include `'django.contrib.staticfiles'` in your `INSTALLED_APPS` setting.
INSTALLED_APPS = (
...
'django.contrib.staticfiles',
'rest_framework',
)
You'll proabably also want to add REST framework's login and logout views.
Add the following to your root `urls.py` file.
urlpatterns = patterns('', urlpatterns = patterns('',
... ...
......
...@@ -10,20 +10,18 @@ Minor version numbers (0.0.x) are used for changes that are API compatible. You ...@@ -10,20 +10,18 @@ Minor version numbers (0.0.x) are used for changes that are API compatible. You
Medium version numbers (0.x.0) may include minor API changes. You should read the release notes carefully before upgrading between medium point releases. Medium version numbers (0.x.0) may include minor API changes. You should read the release notes carefully before upgrading between medium point releases.
## 2.2.x series Major version numbers (x.0.0) are reserved for project milestones. No major point releases are currently planned.
### 2.2.0 ---
**Date**: 27th Dec 2012 ## 2.1.x series
* Support configurable `STATICFILES_STORAGE` storage. ### 2.1.13
* Bugfix: Related fields now respect the required flag, and may be required=False.
**API-incompatible changes**: From 2.2.0 Onwards you must make sure to include `'django.contrib.staticfiles'` in your `INSTALLED_APPS`. This is in line with Django's 1.4's recommended usage of [the `'staticfiles'` template tag][staticfiles14] instead of Django 1.3's recommended usage of [the `'static'` template tag][staticfiles13]. **Date**: 28th Dec 2012
--- * Support configurable `STATICFILES_STORAGE` storage.
* Bugfix: Related fields now respect the required flag, and may be required=False.
## 2.1.x series
### 2.1.12 ### 2.1.12
......
...@@ -91,7 +91,6 @@ INSTALLED_APPS = ( ...@@ -91,7 +91,6 @@ INSTALLED_APPS = (
'django.contrib.sessions', 'django.contrib.sessions',
'django.contrib.sites', 'django.contrib.sites',
'django.contrib.messages', 'django.contrib.messages',
'django.contrib.staticfiles',
# Uncomment the next line to enable the admin: # Uncomment the next line to enable the admin:
# 'django.contrib.admin', # 'django.contrib.admin',
# Uncomment the next line to enable admin documentation: # Uncomment the next line to enable admin documentation:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment