Commit Graph

278 Commits

Author SHA1 Message Date
Saurabh Kumar
7fb6f94d5e feat(static_storage): Add support for whitenoise (optional)
- Add option to opt for whitenoise via cookiecutter
- Seperate Media and Static Configuration

closes #213
2015-04-26 15:31:31 +05:30
Saurabh Kumar
9f3116ba4c Major refractor to move PYTHON_PATH to top-level repo dir
- PYTHON_PATH now should point to `root_dir` instead of `apps_dir`
- `manage.py` now lives at the root dir
- `config` is moved out to root dir
2015-04-26 11:35:46 +05:30
Saurabh Kumar
0cc9958635 fix(settings/production): Use python2/3 compatible unicode->btye conversion 2015-04-26 11:15:48 +05:30
Saurabh Kumar
efc9fbe961 fix(heroku/config): set DJANGO_SETTINGS_MODULE for manage.py to work properly 2015-04-26 11:01:22 +05:30
Saurabh Kumar
b60b01c4fe fix(settings/production): fix typo s/AWS_EXPIREY/AWS_EXPIRY/g 2015-04-26 10:43:34 +05:30
Saurabh Kumar
cdd0cc3a02 chore(settings/local): add some documentation and formating 2015-04-26 10:39:38 +05:30
Saurabh Kumar
815fa26611 fix(heroku): replace depreciated pgbackups addon with pg:backups
https://devcenter.heroku.com/articles/heroku-postgres-backups#scheduling-backups
2015-04-26 10:36:25 +05:30
Saurabh Kumar
0f8f564790 Merge pull request #217 from ka7eh/ka7eh
Fixed a bug with escaped spaces in Cache-Control.
2015-04-25 19:42:11 +05:30
Saurabh Kumar
3c60cf7a63 Add editorconfig for Makefile, it must always use tab 2015-04-25 19:10:32 +05:30
Saurabh Kumar
581563fa35 Make SECRET_KEY required in production and not in development 2015-04-25 18:59:33 +05:30
Saurabh Kumar
47f89d9df1 Fixed local settings, SECRET_KEY setter and add TEST_RUNNER explicitly
Thanks @ad-m for reporting

closes #223
2015-04-25 18:36:35 +05:30
Adam Dobrawy
ddded31e62 Fix APPS_DIR to move up to config
```In [2]: environ.Path('/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/common.py')
Out[2]: <Path:/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/common.py>

In [3]: environ.Path('/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/common.py') -1
Out[3]: <Path:/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config>

In [4]: environ.Path('/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}/config/common.py') - 2
Out[4]: <Path:/{{cookiecutter.repo_name}}/{{cookiecutter.repo_name}}>
```
I believe we don't want store data (see STATICFILES_DIRS) in config directory.
2015-04-25 00:02:18 +02:00
Kaveh
a2947ecc73 Added a note as a reminder to revert the last commit after this issue is
fixed: https://github.com/jschneier/django-storages/issues/47
2015-04-24 13:32:37 -05:00
Lin Xianyi
9c758e40e5 Typo for DATABASES in config/production.py 2015-04-24 11:37:50 +08:00
Fábio C. Barrionuevo da Luz
ba0689634e update Collectfast version to 0.2.3 2015-04-22 19:35:15 -03:00
Daniel Greenfeld
87510b86d8 Merge pull request #203 from garry-cairns/master
Added Docker develop and deploy instructions in response to https://github.com/pydanny/cookiecutter-django/issues/125#issuecomment-74349410 💣
2015-04-21 16:00:09 -07:00
Saurabh Kumar
5cc4ea1f1d Update django-braces and django-floppyforms to lastest
- django-floppyform has official support for django 1.8 (for #208)
- https://github.com/brack3t/django-braces/releases/tag/v1.8.0
2015-04-20 23:58:45 +05:30
Kaveh
ccbcd6cd6a Fixed a bug with escaped spaces in Cache-Control.
see: https://github.com/boto/boto/issues/2536
2015-04-20 13:05:01 -05:00
Saurabh Kumar
ec8283dbe7 Make all the PEP8 failure pass 2015-04-20 18:03:58 +05:30
Saurabh Kumar
a289d98a49 Fix minor typo in comment section 2015-04-20 10:19:07 +05:30
Saurabh Kumar
89c0fb3ff8 Replace django-configuration with django-environ
- makes it compatible with django 1.8
- removes magic
2015-04-20 03:48:41 +05:30
Fábio C. Barrionuevo da Luz
b007a8e0ac update pylibmc version to 1.4.2 2015-04-15 09:36:05 -03:00
Fábio C. Barrionuevo da Luz
6626c922f9 Merge pull request #200 from luzfcb/issue-34
add requirements file of non-python dependencies and helper scripts - fix issue #34
2015-04-12 22:40:13 -03:00
Fabio C. Barrionuevo da Luz
afb9f607e9 refactored install_os_dependencies.sh
add .idea on .gitignore
2015-04-11 12:32:49 -03:00
Alex Tsai
5f7874a9a3 Swap to django-storages-redux, an actively maintained (py3 compatible) fork of django-storages 2015-04-11 12:24:52 +05:30
Fábio C. Barrionuevo da Luz
53f71345f3 update boto version to 2.38.0 2015-04-09 21:56:48 -03:00
Fabio Caritas Barrionuevo da Luz
f16648f9fd update requirements 2015-04-06 14:44:41 -03:00
Saurabh Kumar
4404122bda Merge pull request #201 from pydanny/fix-s3-calling-format
fix(settings): fix non-existing import of s3
2015-04-06 20:26:48 +05:30
Saurabh Kumar
0c7eaff6a8 Merge pull request #202 from streeter/patch-1
Fix a typo
2015-04-06 20:26:28 +05:30
Kevin Ndung'u
f598ae19b8 Update jQuery and Bootstrap versions 2015-03-31 12:52:17 +03:00
Garry Cairns
cf8f5d6a8c Added development and deployment instructions for Docker and EC2 2015-03-21 22:48:54 +00:00
Garry Cairns
b925de21ce Added development and deployment instructions for Docker and EC2 2015-03-21 22:45:02 +00:00
Fábio C. Barrionuevo da Luz
ce5b7a1f59 updated django version to 1.7.7 2015-03-19 11:48:33 -03:00
Chris Streeter
70cbc12fbf Fix a typo 2015-03-17 20:02:55 -07:00
Saurabh Kumar
8566d4d0b0 fix(settings): fix non-existing import of s3
- `from S3 import CallingFormat` - the S3 module never existed.
- fixed the calling format accoroding to `STATIC_URL`
2015-03-17 17:35:07 +05:30
Fabio C. Barrionuevo da Luz
0fbd6ccd72 add shellscript helper to install all python dependencies of the project (local, test, and production dependencies) 2015-03-13 21:07:42 -03:00
Fabio C. Barrionuevo da Luz
164a496a85 add shellscript helper to install external dependencies (non-python dependencies) listed on requirements.apt file 2015-03-13 21:07:25 -03:00
Fabio C. Barrionuevo da Luz
1ceae50833 add requirements file of external dependencies (non-python dependencies), named "requirements.apt" - fix issue #34 2015-03-13 21:06:58 -03:00
Saurabh Kumar
ba2bcf8190 Merge pull request #199 from ka7eh/ka7eh
Updated INSTALLED_APPS for 'collectfast'.
2015-03-13 12:20:08 +05:30
Kaveh
431f7a69a3 Removed django version check for collectfast. 2015-03-12 08:58:01 -05:00
Saurabh Kumar
91c3ff00ed fix(setup.py): do not import package in setup.py
- adds `__version_info__` meta for package
- update django requirement to 1.7.6

closes #98
2015-03-12 13:58:11 +05:30
Fabio Caritas Barrionuevo da Luz
bddf914bd5 updated django version to 1.7.6 and django-debug-toolbar to 1.3.0 2015-03-10 11:39:58 -03:00
Kaveh
abd0883b61 Updated INSTALLED_APPS for 'collectfast'. 2015-03-09 14:44:43 -05:00
Fábio C. Barrionuevo da Luz
9c4ad0da1a updated django-extensions version to 1.5.1 2015-03-09 11:58:59 -03:00
Fábio C. Barrionuevo da Luz
d7e813aa15 updated flake8 version to 2.4.0 2015-03-09 01:36:27 -03:00
Fábio C. Barrionuevo da Luz
4d9d7d9110 update gunicorn version to 19.3.0 2015-03-07 12:53:33 -03:00
Saurabh Kumar
195db003fc Merge pull request #191 from philippeluickx/master
Middleware security placed in production configuration
2015-02-27 11:07:50 +05:30
Fábio C. Barrionuevo da Luz
10f563abf0 updated django version to 1.7.5 2015-02-26 13:35:26 -03:00
Philippe Luickx
2580dad42d Middleware security placed in production configuration 2015-02-26 17:15:47 +02:00
Saurabh Kumar
a9a729e500 feat(templating): make TIMEZONE default to UTC and configurable
Thanks @burhan for reportings this.

closes #109
2015-02-24 19:06:31 +05:30