-
Notifications
You must be signed in to change notification settings - Fork 206
/
manage.py
executable file
·38 lines (34 loc) · 964 Bytes
/
manage.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/usr/bin/env python
# This manage.py exists for the purpose of creating migrations
import sys
from django.conf import settings
from django.core.management import execute_from_command_line
settings.configure(
ROOT_URLCONF="paypal.standard.ipn.tests.test_urls",
DATABASES={
"default": {
"ENGINE": "django.db.backends.sqlite3",
"NAME": "test.db",
}
},
PAYPAL_IDENTITY_TOKEN="",
INSTALLED_APPS=[
"django.contrib.auth",
"django.contrib.admin",
"django.contrib.contenttypes",
"paypal.pro",
"paypal.standard",
"paypal.standard.ipn",
"paypal.standard.pdt",
],
CACHES={
"default": {
"BACKEND": "django.core.cache.backends.dummy.DummyCache",
"TIMEOUT": 0,
"KEY_PREFIX": "paypal_tests_",
}
},
MIDDLEWARE_CLASSES=[],
)
if __name__ == "__main__":
execute_from_command_line(sys.argv)