Skip to content
This repository was archived by the owner on Jun 9, 2020. It is now read-only.

Commit 233588f

Browse files
committed
remove projetos nao utilizados e atualiza settings de producao
1 parent 24cd1ca commit 233588f

3 files changed

Lines changed: 24 additions & 7 deletions

File tree

pymg/settings/common.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,7 @@
4343

4444
# third-party applications
4545
'south',
46-
'social.apps.django_app.default',
4746
'bootstrap3',
48-
'django_comments',
49-
'django_gravatar',
5047

5148
# my applications
5249
'core',

pymg/settings/production.py

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,23 @@
11
from .common import *
2+
3+
DEBUG = False
4+
TEMPLATE_DEBUG = DEBUG
5+
6+
ALLOWED_HOSTS = ['*']
7+
8+
DATABASES = {
9+
'default': {
10+
'ENGINE': 'django.db.backends.postgresql_psycopg2',
11+
'NAME': 'pythonmg',
12+
'USER': 'postgres',
13+
'PASSWORD': '123456',
14+
'HOST': 'localhost',
15+
'PORT': '5432',
16+
}
17+
}
18+
19+
STATIC_ROOT = '/home/deploy/www/pugmg/static/'
20+
STATIC_URL = '/static/'
21+
22+
MEDIA_ROOT = '/home/deploy/www/pugmg/media/'
23+
MEDIA_URL = '/media/'

requirements.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@ South==1.0
33
Unipath==1.0
44
dj-database-url==0.3.0
55
django-bootstrap3==4.8.2
6-
django-contrib-comments==1.5
76
python-decouple==2.3
8-
django-gravatar2==1.1.4
9-
python-social-auth==0.1.26
107
feedparser
118
fabric
12-
twython
9+
twython
10+
mimeparse

0 commit comments

Comments
 (0)