Permalink
Browse files

Configurando para pt-br e adicionando Django aos requirements

  • Loading branch information...
1 parent 10bc1cd commit 6f4a079de7cea1afa00e8027a380484f157b8c1a @diogobaeder committed Apr 7, 2013
Showing with 7 additions and 6 deletions.
  1. +6 −6 djangotranslationtest/settings.py
  2. +1 −0 requirements.txt
@@ -11,8 +11,8 @@
DATABASES = {
'default': {
- 'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
- 'NAME': '', # Or path to database file if using sqlite3.
+ 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
+ 'NAME': ':memory:', # Or path to database file if using sqlite3.
# The following settings are not used with sqlite3:
'USER': '',
'PASSWORD': '',
@@ -29,11 +29,11 @@
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# although not all choices may be available on all operating systems.
# In a Windows environment this must be set to your system time zone.
-TIME_ZONE = 'America/Chicago'
+TIME_ZONE = 'America/Sao_Paulo'
# Language code for this installation. All choices can be found here:
# http://www.i18nguy.com/unicode/language-identifiers.html
-LANGUAGE_CODE = 'en-us'
+LANGUAGE_CODE = 'pt-br'
SITE_ID = 1
@@ -121,9 +121,9 @@
'django.contrib.messages',
'django.contrib.staticfiles',
# Uncomment the next line to enable the admin:
- # 'django.contrib.admin',
+ 'django.contrib.admin',
# Uncomment the next line to enable admin documentation:
- # 'django.contrib.admindocs',
+ 'django.contrib.admindocs',
)
# A sample logging configuration. The only tangible logging
View
@@ -1,3 +1,4 @@
+Django==1.5.1
argparse==1.2.1
django-grappelli==2.4.4
wsgiref==0.1.2

0 comments on commit 6f4a079

Please sign in to comment.