File tree Expand file tree Collapse file tree 3 files changed +28
-1
lines changed Expand file tree Collapse file tree 3 files changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -16,3 +16,5 @@ locale/*/LC_MESSAGES/django.mo
16
16
djangoproject /cache
17
17
djangoproject /static /css /* .map
18
18
djangoproject /static /css /* .css
19
+ .venv
20
+ .venv /
Original file line number Diff line number Diff line change @@ -49,7 +49,16 @@ Install and run locally from a virtual environment
49
49
to your ``~/.bashrc `` (or ``~/.zshrc `` if you're using zsh, ``~/.bash_profile `` if
50
50
you're on macOS and using bash) file and then run ``source ~/.bashrc `` (or
51
51
``source ~/.zshrc ``, or ``source ~/.bash_profile ``) to load the changes.
52
-
52
+ {
53
+ "secret_key": "xyz",
54
+ "superfeedr_creds": ["
[email protected] ", "some_string"],
55
+ "db_host": "localhost",
56
+ "db_password": "secret",
57
+ "db_user": "djangoproject",
58
+ "trac_db_host": "localhost",
59
+ "trac_db_password": "secret",
60
+ "trac_db_user": "code.djangoproject"
61
+ }
53
62
#. Create databases::
54
63
55
64
createuser -d djangoproject --superuser
Original file line number Diff line number Diff line change
1
+ # djangoproject/settings/local.py
2
+ from .dev import * # Import all dev settings
3
+
4
+
5
+ ALLOWED_HOSTS = ['127.0.0.1' , 'localhost' ]
6
+
7
+ DATABASES = {
8
+ 'default' : {
9
+ 'ENGINE' : 'django.db.backends.postgresql' ,
10
+ 'NAME' : 'djangoproject' ,
11
+ 'USER' : 'djangoproject' ,
12
+ 'PASSWORD' : 'Nath76a1' ,
13
+ 'HOST' : 'localhost' ,
14
+ 'PORT' : '5432' ,
15
+ }
16
+ }
You can’t perform that action at this time.
0 commit comments