Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed some of the doc upgrade processes.

  • Loading branch information...
commit ab93dc8be39e641906b19aac14b474d86d5f7333 1 parent 11b5515
Jacob Kaplan-Moss jacobian authored
11 django_website/docs/fixtures/doc_releases.json
View
@@ -1,6 +1,17 @@
[
{
"model": "docs.documentrelease",
+ "pk": 1,
+ "fields": {
+ "lang": "en",
+ "version": "dev",
+ "scm": "svn",
+ "scm_url": "http://code.djangoproject.com/svn/django/trunk/docs",
+ "is_default": false
+ }
+ },
+ {
+ "model": "docs.documentrelease",
"pk": 2,
"fields": {
"lang": "en",
13 django_website/docs/fixtures/initial_data.json
View
@@ -1,13 +0,0 @@
-[
- {
- "model": "docs.documentrelease",
- "pk": 1,
- "fields": {
- "lang": "en",
- "version": "dev",
- "scm": "svn",
- "scm_url": "http://code.djangoproject.com/svn/django/trunk/docs",
- "is_default": false
- }
- }
-]
10 fabfile.py
View
@@ -71,6 +71,16 @@ def reset_community():
_managepy('reset aggregator --noinput')
_managepy('loaddata community_seed')
+def reset_docs():
+ """
+ Resets the doc releases.
+
+ This is a temporary command that does some damage and it should be removed
+ once the new server's up.
+ """
+ _managepy('reset docs --noinput')
+ _managepy('loaddata doc_releases')
+
def copy_db():
"""
Copy the production DB locally for testing.
Please sign in to comment.
Something went wrong with that request. Please try again.