Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix django-plans demo #186

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions demo/example/foo/fixtures/initial_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
"visible": true,
"description": "Most recommended",
"created": "2012-05-05T15:36:31Z",
"default": false,
"customized": null,
"order": 1,
"name": "Premium"
Expand All @@ -88,7 +87,6 @@
"visible": true,
"description": "Professional plan",
"created": "2012-07-12T13:07:23Z",
"default": false,
"customized": null,
"order": 2,
"name": "PRO"
Expand All @@ -102,7 +100,6 @@
"visible": true,
"description": "Custom for test1",
"created": "2012-07-12T17:33:30.112Z",
"default": false,
"customized": 1,
"order": 4,
"name": "Custom"
Expand All @@ -116,7 +113,6 @@
"visible": true,
"description": "Custom test 2",
"created": "2012-07-24T12:51:57.438Z",
"default": false,
"customized": 2,
"order": 5,
"name": "Custom 2"
Expand Down
11 changes: 3 additions & 8 deletions demo/example/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,9 @@
MANAGERS = ADMINS

DATABASES = {
"default": {
"ENGINE": "django.db.backends.postgresql",
# Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
"NAME": "postgres", # Or path to database file if using sqlite3.
"USER": "postgres", # Not used with sqlite3.
"PASSWORD": "postgres", # Not used with sqlite3.
"HOST": "localhost", # Set to empty string for localhost. Not used with sqlite3.
"PORT": "5432", # Set to empty string for default. Not used with sqlite3.
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
}

Expand Down
2 changes: 1 addition & 1 deletion demo/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ model_bakery
django-concurrent-test-helper
freezegun
flake8
psycopg2
internet-sabotage3>=0.1.6
django_coverage_plugin
swapper
django-plans


# Not supported in py3
Expand Down
Loading