Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-analytics-dashboard
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-analytics-dashboard
Commits
463f95d5
Commit
463f95d5
authored
Sep 04, 2014
by
Clinton Blackburn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Upgraded to Django 1.7"
parent
fb63e46f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
20 additions
and
8 deletions
+20
-8
Makefile
+2
-2
README.md
+1
-1
analytics_dashboard/analytics_dashboard/migrations/0001_initial.py
+0
-0
analytics_dashboard/analytics_dashboard/settings/base.py
+13
-2
analytics_dashboard/courses/tests/test_middleware.py
+1
-1
requirements/base.txt
+2
-1
requirements/local.txt
+1
-1
No files found.
Makefile
View file @
463f95d5
...
...
@@ -11,8 +11,8 @@ test.requirements: requirements
develop
:
test.requirements
pip install
-q
-r
requirements/local.txt
--exists-action
w
migrate
:
cd
analytics_dashboard
&&
./manage.py migrate
syncdb
:
cd
analytics_dashboard
&&
./manage.py
syncdb
--
migrate
clean
:
find
.
-name
'*.pyc'
-delete
...
...
README.md
View file @
463f95d5
...
...
@@ -13,7 +13,7 @@ Getting Started
3.
Setup your database:
$ make
migrate
$ make
syncdb
4.
Run the server:
...
...
analytics_dashboard/analytics_dashboard/migrations/0001_initial.py
View file @
463f95d5
This diff is collapsed.
Click to expand it.
analytics_dashboard/analytics_dashboard/settings/base.py
View file @
463f95d5
...
...
@@ -208,8 +208,7 @@ DJANGO_APPS = (
# Admin panel and documentation:
'django.contrib.admin'
,
'waffle'
,
'compressor'
,
'waffle'
)
# Apps specific for this project go here.
...
...
@@ -274,6 +273,18 @@ TERMS_OF_SERVICE_URL = 'http://example.com/'
########## END FEEDBACK
########## SOUTH CONFIGURATION
# See: http://south.readthedocs.org/en/latest/installation.html#configuring-your-django-installation
INSTALLED_APPS
+=
(
# Database migration helpers:
'south'
,
'compressor'
,
)
# Don't need to use South when setting up a test database.
SOUTH_TESTS_MIGRATE
=
False
########## END SOUTH CONFIGURATION
########## DATA API CONFIGURATION
DATA_API_URL
=
'http://127.0.0.1:9001/api/v0'
DATA_API_AUTH_TOKEN
=
'edx'
...
...
analytics_dashboard/courses/tests/test_middleware.py
View file @
463f95d5
import
logging
from
django.template.response
import
TemplateResponse
from
django.test
import
RequestFactory
from
django.
test
import
TestCase
from
django.
utils.unittest.case
import
TestCase
from
testfixtures
import
LogCapture
from
courses.exceptions
import
PermissionsRetrievalFailedError
from
courses.middleware
import
CourseMiddleware
,
CoursePermissionsExceptionMiddleware
...
...
requirements/base.txt
View file @
463f95d5
Django==1.7 # BSD License
Django==1.6.6 # BSD License
South==1.0 # Apache License
bpython==0.12 # MIT License
django-braces==1.2.2 # BSD
django-libsass==0.2 # BSD
...
...
requirements/local.txt
View file @
463f95d5
# Local development dependencies go here
-r base.txt
django-debug-toolbar==1.
2
.1
django-debug-toolbar==1.
0
.1
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment