Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use integrated appstats module in App Engine 1.3.1.

  • Loading branch information...
commit e9804b76b4901369e61d8bea689b603f13a1b55a 1 parent fa1bfe1
@jcrocholl authored
Showing with 5 additions and 6 deletions.
  1. +0 −1  .gitignore
  2. +3 −3 app.yaml
  3. +1 −1  deploy.py
  4. +1 −1  settings.py
View
1  .gitignore
@@ -1,7 +1,6 @@
.DS_Store
*.pyc
*.ppm
-appstats
common
trash
.passwd
View
6 app.yaml
@@ -11,6 +11,9 @@ handlers:
secure: optional
login: admin
+- url: /stats.*
+ script: $PYTHON_LIB/google/appengine/ext/appstats/ui.py
+
- url: /media
static_dir: _generated_media
secure: optional
@@ -26,9 +29,6 @@ handlers:
static_files: static/images/favicon.ico
upload: static/images/favicon.ico
-- url: /stats.*
- script: appstats/ui.py
-
- url: /.*
script: common/appenginepatch/main.py
secure: optional
View
2  deploy.py
@@ -44,7 +44,7 @@ def main():
options.version = args[0]
else:
parser.error("Too many command line arguments.")
- exclude = ['.git', 'appstats', 'common', 'popular.py',
+ exclude = ['.git', 'common', 'popular.py',
'english.py', 'french.py', 'spanish.py', 'german.py']
attempt('pep8 --repeat --exclude %s .' % ','.join(exclude))
attempt('.git/hooks/pre-commit')
View
2  settings.py
@@ -63,7 +63,7 @@
)
MIDDLEWARE_CLASSES = (
- 'appstats.recording.AppStatsDjangoMiddleware',
+ 'google.appengine.ext.appstats.recording.AppStatsDjangoMiddleware',
'tools.middleware.DomainRedirectMiddleware',
'ragendja.middleware.ErrorMiddleware',
#'django.contrib.sessions.middleware.SessionMiddleware',
Please sign in to comment.
Something went wrong with that request. Please try again.