Commit Graph

6969 Commits

Author SHA1 Message Date
Daniel Greenfeld
22356d5778 Merge pull request #93 from theskumar/disable-debug-in-production
chore(config): makes debug=False in production
2014-03-25 19:23:24 -07:00
Daniel Greenfeld
5295f21c4f Merge pull request #92 from theskumar/fix/cookiecutter-variable
fix(cookie cutter): fixes the misuse of `repo_name`/`project_name`
2014-03-25 19:22:58 -07:00
Daniel Greenfeld
6e41fb26f0 Merge pull request #91 from theskumar/docs-update
chore(docs): make it more awesome
2014-03-23 18:56:02 -07:00
Daniel Greenfeld
3c2f1695f2 Merge pull request #90 from theskumar/fix/heroku-memcache-settings
fix(settings): fixes wrong cache config used for heroku
2014-03-23 18:55:16 -07:00
Daniel Greenfeld
9744161295 Merge pull request #89 from theskumar/500-page
chore(ErrorPage): make 500 error page more informative
2014-03-23 18:54:44 -07:00
Daniel Greenfeld
3ef41c5071 Merge pull request #88 from theskumar/account-form
fix(template): fix form actions attribute in accounts template.
2014-03-23 18:54:22 -07:00
Daniel Greenfeld
192e021768 Merge pull request #87 from theskumar/pgbackups
chore(docs): heroku pgbackups enable auto-month by-default.
2014-03-23 18:53:11 -07:00
Saurabh Kumar
39d0be9b98 fix(app/user): use proper UserAdmin auth form
* use `django.contrib.auth.admin.UserAdmin`.
* using `admin.ModelAdmin` do not provide forms to
  properly handle `passwords`

[1]: https://docs.djangoproject.com/en/dev/topics/auth/customizing/#custom-users-and-the-built-in-auth-forms
2014-03-22 23:58:26 +05:30
Saurabh Kumar
5c7fa4933b chore(config): makes debug=False in production
* Make debug=False by default and enable it only
  in Local/Development environment.

Fixes: https://github.com/pydanny/cookiecutter-django/issues/75
2014-03-22 23:29:11 +05:30
Saurabh Kumar
125037cf8a fix(cookie cutter): fixes the misuse of repo_name/project_name
* project_name may contain spaces, do not use for generating emails
* 'name' variable in package.json is used by Gruntfile to figure-out
   the directory structure of project, so `repo_name` is what must
   be used here
2014-03-22 23:06:29 +05:30
Saurabh Kumar
cfa787384d fix(settings): fixes wrong cache config used for heroku
* Installs `django-heroku-memcacheify` only on heroku to 
  avoid installing `libmemcached-dev`[1] locally. 

[1] https://github.com/rdegges/django-heroku-memcacheify#install

Fixes: https://github.com/pydanny/cookiecutter-django/issues/80
2014-03-22 22:46:28 +05:30
Saurabh Kumar
9e1b75959b chore(docs): make it more awesome
* cleanup heroku deploy instrunctions.
* collectstatic is run automaitcally by heroku
* includes 'getting started' section in generated code.
* add 'createsuperuser' explicity, as migrate will not
  add them by default. (Until it's fixed in https://github.com/pydanny/cookiecutter-django/issues/39)
2014-03-22 22:37:12 +05:30
Saurabh Kumar
de18582b54 chore(docs): heroku pgbackups enable auto-month by-default.
https://devcenter.heroku.com/articles/pgbackups#migrating-between-plans
2014-03-22 20:12:25 +05:30
Saurabh Kumar
ed798e9527 fix(template): fix form actions attribute in accounts template.
If the action is "empty" google chrome doesn't submit the form.
2014-03-22 20:02:24 +05:30
Saurabh Kumar
3bdf355b42 chore(ErrorPage): make 500 error page more informative 2014-03-22 20:00:50 +05:30
Daniel Greenfeld
1ad866770a make cookiecutter.json more obvious in purpose 2014-03-11 19:25:14 -07:00
Daniel Greenfeld
9cc5bc0cb7 Took project_name out of the directory structure 2014-03-11 19:19:39 -07:00
Daniel Greenfeld
457515aada Merge pull request #81 from bennylope/template-spacing
Makes template var/tag delimiter spacing consistent
2014-02-28 11:35:28 -08:00
Ben Lopatin
016e049d07 Makes template var/tag delimiter spacing consistent
Single space between delimiter matches prescribed Django template style
and is consistent with the style those really smart people used in Two
Scoops of Django.
2014-02-28 14:29:12 -05:00
Daniel Greenfeld
37fed6a01b Merge pull request #77 from luzfcb/patch-2
Update boto version on production requirements
2014-02-21 17:54:08 -08:00
Fábio C. Barrionuevo da Luz
8e1a999b3f Update boto version on production requirements 2014-02-21 14:58:55 -02:00
Daniel Greenfeld
8616f77b75 Merge pull request #76 from luzfcb/patch-1
Update version of libs
2014-02-20 13:59:56 -08:00
Fábio C. Barrionuevo da Luz
1555013415 Update version of libs
Update django-cache-url and django-model-utils to latest version
2014-02-20 19:00:24 -02:00
Daniel Greenfeld
8e0fe061ce Merge pull request #73 from juliocc/master
Update Django to version 1.6.2
2014-02-11 08:12:21 -08:00
Julio Castillo
6a73c547af Update Django requirement to version 1.6.2 2014-02-11 16:30:04 +01:00
Daniel Greenfeld
49207bd40a Add @juliocc to contributors 2014-02-10 09:10:01 -08:00
Daniel Greenfeld
6f52976faf Merge pull request #72 from juliocc/master
Include html5shim using protocol-relative url
2014-02-10 09:08:43 -08:00
Julio Castillo
963cd84ae9 Include html5shim with protocol-relative url 2014-02-10 18:03:31 +01:00
Daniel Greenfeld
cc13c7b62e Merge pull request #71 from chrisfranklin/patch-1
Change DJANGO_SETTINGS_MODULE to config.settings
2014-02-08 22:57:49 -08:00
Chris Franklin
f1cee2b56b Change DJANGO_SETTINGS_MODULE to config.settings
It was previously {{cookiecutter.project_name}}.config.settings
2014-02-05 16:49:24 +00:00
Daniel Greenfeld
f62bf97413 Add @knitatoms 2014-01-29 16:16:56 -08:00
Daniel Greenfeld
84bc8b3bc7 Merge pull request #67 from knitatoms/patch-1
Add documentation on 'getting up and running'
2014-01-29 16:15:32 -08:00
Tom Atkins
6e440e5967 Add documentation on 'getting up and running'
Some hopefully usefully instructions to help people get up and running.

Re: Issue #34 On my machine I didn't need to install memcached to successfully install the local requirements.

Re: Issue #39 I've linked to this issue for now. It would be good to remove the need for those steps and then this link can be removed.
2014-01-29 20:35:06 +00:00
Daniel Greenfeld
cc78893a73 Merge pull request #49 from theskumar/feature/editorconfig
feat(coding-style): Add editorconfig for consistent coding style
2014-01-24 09:24:30 -08:00
Daniel Greenfeld
a7bf092450 Merge pull request #66 from theskumar/pip-requirements
chore(requirements): update pip requirements to latest stable.
2014-01-24 09:23:25 -08:00
Saurabh Kumar
54cc4d8d66 feat(coding-style): Add editorconfig for consistent coding style
More info at http://editorconfig.org/

* The list of projects already using it to standardize their coding
styles[1].

* Inspired by editorconfig of django-model-utils[2].

[1]: http://git.io/pz1vWA
[2]: http://git.io/QIAWvw
2014-01-24 16:56:46 +05:30
Saurabh Kumar
caf43b0f49 chore(requirements): update pip requirements to latest stable. 2014-01-24 16:15:48 +05:30
Daniel Greenfeld
df9f6726bf Merge pull request #65 from theskumar/static-files-update
Static files update
2014-01-22 11:25:35 -08:00
Saurabh Kumar
d8f54f4d3f chore(static): update jquery 1.10.1 => 1.10.2 2014-01-23 00:20:22 +05:30
Saurabh Kumar
3f0470edce chore(static): update angularjs 1.0.7 => 1.2.9 2014-01-23 00:19:30 +05:30
Saurabh Kumar
57e1387228 chore(static): update bootstrap 3.0.0 => 3.0.3 2014-01-23 00:18:02 +05:30
Daniel Greenfeld
8f84ab8c16 Merge pull request #64 from theskumar/collectfast
feat(aws/s3): use Collectfast by @antonagestam for faster collectstatic.
2014-01-22 10:40:33 -08:00
Saurabh Kumar
04f0511111 feat(aws/s3): use Collectfast by @antonagestam for faster collectstatic. 2014-01-22 22:53:33 +05:30
Daniel Greenfeld
faf861715f Merge pull request #61 from theskumar/newyear
chore(docs): update default year to 2014.
2014-01-10 09:52:28 -08:00
Daniel Greenfeld
9143f6ca37 Merge pull request #60 from theskumar/patch-2
fix(grunt): Use 'sass' as folder name instead of 'scss'.
2014-01-10 09:51:58 -08:00
Saurabh Kumar
3b3542ce45 chore(docs): update default year to 2014. 2014-01-10 14:02:24 +05:30
Saurabh Kumar
ac091c4f96 fix(grunt): Use 'sass' as folder name instead of 'scss'.
* Sass is the actual name of the language, not scss[1].

[1] http://sass-lang.com/
2014-01-10 13:52:09 +05:30
Daniel Greenfeld
d0c41c00cf Merge pull request #59 from theskumar/grunt
feat(grunt): Add grunt task runner. (ref #58)
2014-01-09 15:52:31 -08:00
Saurabh Kumar
f79314ea2b feat(grunt): Add grunt task runner.
* Livereload server.
* Auto compile scss files.

* Heroku python buildpack needs to be specified explicitly to avoid auto detections
of the app as a `Node` app due to presence of `Package.json`.
2014-01-10 05:06:35 +05:30
Daniel Greenfeld
e6a8827992 Merge pull request #56 from theskumar/patch-1
Update django-debug-toolbar 0.11.0 => 1.0
2014-01-09 13:58:33 -08:00