Commit Graph

423 Commits

Author SHA1 Message Date
Jay
35d61c9eee added docker-compose documentation 2015-07-21 10:42:31 +02:00
Jay
7690b42c27 switched to redis cache 2015-07-21 10:22:02 +02:00
Jay
bff7487121 Merge branch 'master' into docker-compose 2015-07-21 10:02:52 +02:00
Saurabh Kumar
613b91d71e Merge pull request #258 from burhan/feature/redis-cache
adding redis support
2015-07-21 07:23:26 +05:30
stepmr
a9e210dbf5 Generate safe secret_key by default
Use openssl to generate a secure, random secret_key
2015-07-18 13:13:49 -07:00
stepmr
696eca2fd2 Use PYTHONHASHSEED=random
- Django reccomends setting the PYTHONHASHSEED environment variable to random.  See: https://docs.djangoproject.com/en/1.8/howto/deployment/checklist/#python-options
2015-07-18 13:09:59 -07:00
stepmr
b2816c0e94 Updated heroku setup
- Heroku's free postgres tier is now "hobby-dev"
- pg:backups require a scheduled time
- add missing Mailgun API key
2015-07-18 12:48:04 -07:00
Daniel Greenfeld
f073fb6ab5 Added @models.permalink decorator to User.get_absolute_url() method 2015-07-17 08:41:41 -07:00
Daniel Greenfeld
009c4993cc Fixed error in user_form.html 2015-07-17 03:42:42 -07:00
Daniel Greenfeld
52876da0e2 Add testplus 2015-07-16 15:35:16 -07:00
Jay
def7f47572 experimental docker-compose support 2015-07-16 17:43:02 +02:00
Daniel Greenfeld
36454d9893 Removed unnecessary block tag and 'user:' prefix. 2015-07-16 08:25:53 -07:00
Daniel Greenfeld
a848bde153 Merge pull request #264 from burhan/feature/maildump
Use maildump instead of ConsoleEmailHandler
2015-07-16 07:27:15 -07:00
jayfk
c9ab3b958e Fixed a bug where 'DEFAULT_FROM_EMAIL' was used to cast the value instead of providing a default 2015-07-16 11:10:36 +02:00
Burhan Khalid
a54081a761 tweaking the comments to match master README 2015-07-16 07:44:49 +03:00
Burhan Khalid
f966888ff1 making maildump optional 2015-07-16 07:21:06 +03:00
Burhan Khalid
07354a3d37 Fixing links for maildump and updating master README 2015-07-16 07:03:16 +03:00
Burhan Khalid
a103eaa93e Adding support for maildump for local development (replaces the nice, but not friendly console email handler) 2015-07-16 06:58:08 +03:00
Daniel Greenfeld
895dc09a45 Much cleaner user urls and added get_absolute_url to User 2015-07-15 20:37:38 -07:00
Daniel Greenfeld
70c871dfbd Merge branch 'master' of github.com:pydanny/cookiecutter-django 2015-07-15 13:40:43 -07:00
Daniel Greenfeld
8852fef5f7 Add name to user detail page 2015-07-15 13:40:38 -07:00
Fábio C. Barrionuevo da Luz
d181fca7d4 fix issue #275 2015-07-15 16:53:44 -03:00
Daniel Greenfeld
d412946f93 Fix User initial migration 2015-07-15 12:40:04 -07:00
Daniel Greenfeld
88188812a1 Fix user_list.html 2015-07-15 12:00:20 -07:00
Daniel Greenfeld
1d194d0e12 Remove unnecessary divs from the User form 2015-07-15 11:08:49 -07:00
Daniel Greenfeld
6dbe252c83 Use a more global 'name' field in User model 2015-07-15 11:06:03 -07:00
Daniel Greenfeld
696d1c5606 Making bootstrap containers fluid 2015-07-14 13:23:26 -07:00
Burhan Khalid
5589003ff3 fixing requirements 2015-07-14 12:05:25 +03:00
Daniel Greenfeld
265d14b645 Added ipdb for improved REPL 2015-07-13 20:33:49 -07:00
Audrey Roy
03dba391ca Don't make Home active in base template. 2015-07-13 19:28:42 -07:00
Audrey Roy
35112546c4 Close navbar-collapse div. 2015-07-13 19:26:40 -07:00
Audrey Roy
7a147e72e2 Update navbar HTML to latest Bootstrap as per http://getbootstrap.com/components/#navbar 2015-07-13 19:20:13 -07:00
Daniel Greenfeld
e25942652d Added instructions on how to install compass. 2015-07-13 15:50:00 -07:00
Daniel Greenfeld
acfef44b64 Remove specification for installing just grunt.
Otherwise it ignores the other modules.
2015-07-13 15:39:51 -07:00
Daniel Greenfeld
3710e9b953 Changed 'taskman' to 'taskapp 2015-07-13 13:32:47 -07:00
Daniel Greenfeld
f038f8fd88 Merge pull request #266 from jayfk/master
added optional celery support
2015-07-13 13:19:55 -07:00
Jay
9bfca28f6f refactored to load celery from an AppConfig 2015-07-10 11:30:42 +02:00
Fábio C. Barrionuevo da Luz
7837c4e099 update Django version to 1.8.3
https://www.djangoproject.com/weblog/2015/jul/08/security-releases/
2015-07-09 11:47:10 -03:00
Burhan Khalid
32dd1be245 merging from upstream 2015-07-08 12:58:19 +03:00
Fábio C. Barrionuevo da Luz
b498bb4245 Merge pull request #263 from burhan/patch/move-aws-settings
set correct variables for heroku/doku
2015-07-07 16:39:26 -03:00
Burhan Khalid
076c7c21c6 set correct variables for heroku/doku 2015-07-07 22:29:41 +03:00
Fábio C. Barrionuevo da Luz
a3c46bb8a0 Merge pull request #262 from burhan/patch/move-aws-settings
unifying environment variables
2015-07-07 16:23:46 -03:00
Burhan Khalid
740483f0e7 unifying environment variables 2015-07-07 22:06:46 +03:00
Fabio C. Barrioneuvo da Luz
e5dc8b97c1 update dependencies versions
update pylibmc version to 1.5.0
django-allauth to 0.21.0
Pillow to 2.9.0
whitenoise to 2.0.2
2015-07-07 09:15:26 -03:00
Burhan Khalid
768b8cf2c8 adding support for mailgun 2015-07-06 21:25:08 +03:00
Burhan Khalid
3c285e0569 adding redis support 2015-07-06 14:09:13 +03:00
Audrey Roy
f370702c4d Instructions for creating user accounts. Fix #39. 2015-06-28 14:56:13 -07:00
Audrey Roy
e9e560eb17 Break up 'Getting up and running' into more readable sections 2015-06-28 14:56:13 -07:00
Audrey Roy
79ac986be8 Add instruction to migrate after doing createdb. 2015-06-28 14:28:58 -07:00
Audrey Roy
5e48e162f7 Add PostgreSQL createdb instructions to generated README. 2015-06-28 14:14:34 -07:00
Daniel Greenfeld
cd8c694b15 Added .env to protect repos
For those instances when people use a project directory to store the location of their virtual environment.
2015-06-28 11:28:41 -07:00
Saurabh Kumar
de08741305 Merge pull request #233 from schinkelg/master
Update common.py postgres connection string
2015-06-24 13:10:25 +05:30
Fabio C. Barrioneuvo da Luz
009f6b79a4 update ipython version to 3.2.0
whitenoise version to 2.0
coverage version to 4.0a6
2015-06-22 09:21:16 -03:00
Daniel Greenfeld
88a6ba641e Update django-debug-toolbar to 1.3.2 2015-06-19 17:37:27 -07:00
Cullen Rhodes
444fb56da3 Update README.rst
Update heroku addons commands, addons:add has been deprecated in favour of create
2015-06-16 14:23:13 +01:00
Fábio C. Barrionuevo da Luz
dd077abeef update psycopg2 version to 2.6.1 2015-06-15 09:35:05 -03:00
Fábio C. Barrionuevo da Luz
96e9f1d80f update Pillow version to 2.8.2 2015-06-08 08:06:39 -03:00
Fábio C. Barrionuevo da Luz
74d9cd8576 Merge pull request #234 from luzfcb/new-django18-template-configurations
add new django1.8 template configurations in common.py settings file
2015-05-25 12:09:03 -03:00
Daniel Greenfeld
d94cf5f9c5 Update production.txt 2015-05-23 10:33:38 -07:00
Fábio C. Barrionuevo da Luz
ea27c208b3 update pylibmc version to 1.4.3 2015-05-22 08:54:50 -03:00
Fábio C. Barrionuevo da Luz
1d8848159f update Django version to 1.8.2
Django security release: https://www.djangoproject.com/weblog/2015/may/20/security-release/
2015-05-20 17:31:58 -03:00
Fabio C. Barrionuevo da Luz
568dacd8ed add missing documentations 2015-05-19 13:20:52 -03:00
Fabio C. Barrionuevo da Luz
00f3a5cfff update flake8 version to 2.4.1, pytest to 2.7.1 and django-autoslug to 1.8.0 2015-05-19 12:39:21 -03:00
Fabio C. Barrionuevo da Luz
a0e95caf5a update django-floppyforms version to 1.4.1 2015-05-15 22:42:00 -03:00
Fabio C. Barrioneuvo da Luz
86fec9d933 update pytz version to 2015.4 and django-extensions to 1.5.5 2015-05-13 14:16:45 -03:00
Saurabh Kumar
932ec5dd44 Add meta x-ua-compatible in the rendered base.html
See more:
* https://github.com/h5bp/html5-boilerplate/blob/master/src/doc/html.md#x-ua-compatible
2015-05-09 23:51:48 +05:30
Saurabh Kumar
2bedcb6e6e Add osx and sublime_text specific gitignores 2015-05-09 23:21:34 +05:30
Saurabh Kumar
41faca3a54 Update Angularjs to 1.3.15 (latest stable) 2015-05-09 23:14:50 +05:30
Saurabh Kumar
353be64535 Deprecate protocol-relative URLs
Always use the HTTPS URL when it’s available.

See also:
* https://github.com/konklone/cdns-to-https#conclusion-cdns-should-redirect-to-https
* http://www.paulirish.com/2010/the-protocol-relative-url/
* 2de99b2ba3
2015-05-09 23:10:32 +05:30
Saurabh Kumar
c6e3d23a52 Add urls, when in DEBUG mode to view error pages 2015-05-09 23:01:07 +05:30
Saurabh Kumar
e6199aa1dc Wrap all line-length to max 80 chars 2015-05-09 22:41:18 +05:30
Saurabh Kumar
b9dbdee99e Drop support for Vagrantfile
- not much value added
- also, in favor of Docker based development environments
2015-05-09 22:32:11 +05:30
Saurabh Kumar
ac957cdd1b Rename LICENSE.rst to LICENSE
- Let's follow the standard filename as it's used everywhere and created
by github.
2015-05-09 22:29:45 +05:30
Saurabh Kumar
2d81d61167 Make use of 'admin.register' decorator in admin.py 2015-05-09 22:23:36 +05:30
Saurabh Kumar
b60e13ed31 Use list, instead of 'patterns' for urlpatterns 2015-05-09 22:22:57 +05:30
Saurabh Kumar
e07e436b46 Remove admin.autodiscover() call, it's called automatically in 1.7+ 2015-05-09 22:13:28 +05:30
Fabio C. Barrionuevo da Luz
c3b9ffe809 fix error "ImproperlyConfigured: app_dirs must not be set when loaders is defined." [skip ci] 2015-05-08 00:23:20 -03:00
Fabio C. Barrionuevo da Luz
10156ad087 user new django 1.8 template configurations [skip ci] 2015-05-07 23:13:49 -03:00
Ger Schinkel
3696cea41f Added configuration option for Windows and if-statement for the postgres connection string. 2015-05-07 22:46:58 +02:00
Ger Schinkel
f45698af3e Update common.py postgres connection string
By removing localhost we enable the default use of Unix sockets.
2015-05-07 15:22:28 +02:00
Daniel Greenfeld
d2184fac58 Update local.txt 2015-05-04 10:52:51 -07:00
Saurabh Kumar
e1fdc5a80f Upgrade coverage to 4.0a5 2015-05-02 09:59:27 +05:30
Saurabh Kumar
07b1d5f58a Upgrade to django 1.8.1 (Bugfix release)
See: https://docs.djangoproject.com/en/1.8/releases/1.8.1/
2015-05-02 09:41:52 +05:30
Saurabh Kumar
49ab03e4cf Remove unnecessary account templates
closes #126
2015-05-01 00:29:11 +05:30
Saurabh Kumar
bb5505f3a4 fix(whitenoise): move dependency in base.txt,
- required for 'runserver' to run properly

Thanks to @acquayefrank

closes #230
2015-04-29 08:39:43 +05:30
Saurabh Kumar
f8160a089d chore(editorconfig): add rules for *.md and *.py w.r.t isort/flake8 2015-04-28 13:07:25 +05:30
Saurabh Kumar
c54628c90e Mention about running "heroku run python manage.py check --deploy" 2015-04-26 22:12:38 +05:30
Daniel Greenfeld
91eb30da8c Merge pull request #227 from pydanny/whitenoise-support
feat(static_storage): Add support for whitenoise (optional)
2015-04-26 08:46:23 -07:00
Saurabh Kumar
3abb87acbc Drop Support for django-avatar [not compatible with django 1.8]
- makes the whole cookie lighter and acceptable to wider community
- redues cookie maintainance buren
2015-04-26 16:45:21 +05:30
Saurabh Kumar
948200f4cf Update sites -> migrations 2015-04-26 16:45:21 +05:30
Saurabh Kumar
b6e5a995ef Update users -> migrations 2015-04-26 16:45:21 +05:30
Saurabh Kumar
9701997cc8 Update requirements to django 1.8 2015-04-26 16:45:21 +05:30
Saurabh Kumar
5fa988b8de Minor update to make signup/login template better. 2015-04-26 16:44:41 +05:30
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