Skip to content
Browse files

Added backups folder to project so backups don't fail. Added pycs to …

….gitignore. Removed legacy hardcoded path in views.
  • Loading branch information...
1 parent 7e06ad2 commit 6c90203423842184b83f3813da9ddbacee0963c0 @aral committed
Showing with 3 additions and 2 deletions.
  1. +2 −1 .gitignore
  2. 0 backups/__init__.py
  3. +1 −1 views.py
View
3 .gitignore
@@ -1 +1,2 @@
-backups
+backups
+*.pyc
View
0 backups/__init__.py
No changes.
View
2 views.py
@@ -233,7 +233,7 @@ def index(request):
# TODO: We need to store host information for backups with the backup
# so we know where to go to re-download stuff if any fail.
- metadata_url = settings.REMOTE_URL + '/admin/backup/metadata/' + urlquote(make_timestamp_from_safe_file_name(folder_name)) + '/' + urlquote(settings.SECRET_KEY) + '/'
+ metadata_url = settings.REMOTE_URL + '/gaebar/metadata/' + urlquote(make_timestamp_from_safe_file_name(folder_name)) + '/' + urlquote(settings.SECRET_KEY) + '/'
# e.g., details = ['backup', '2008', '09', '21', 'at', '10', '15', '47', '931862']
details = folder_name.split('_')

0 comments on commit 6c90203

Please sign in to comment.
Something went wrong with that request. Please try again.