Commit Graph

88 Commits

Author SHA1 Message Date
Lyla Fischer
32b6598f15 removed requirement for security from session cookie 2013-10-28 14:57:28 -04:00
Daniel Greenfeld
6b14e33073 Settings mapping effort take 1 for help with #35 2013-10-25 07:59:48 -07:00
Daniel Greenfeld
b094ee1010 Merge pull request #30 from toffer/fix-static-settings
Fix static paths in settings.py.
2013-10-15 13:43:12 -07:00
Jim Munro
27e2228665 Merge pull request #33 from toffer/fix-vars-in-sphinx-docs
Update cookiecutter vars in sphinx files. Looks good.
2013-10-09 13:32:14 -07:00
Jim Munro
56e50f762c Merge pull request #29 from toffer/set-site-domain-and-name
Add migration to set site domain and name.Looks good thank!
2013-10-09 13:28:12 -07:00
Tom Offermann
07bd7a3bf8 Update cookiecutter vars in sphinx files.
Many variables were missing the `cookiecutter` prefix.

In conf.py:
Added prefix to `project_name` and `description`.
Changed `ChangeMyName` to `cookiecutter.author_name`.
Changed `ChangeToMyName` to `cookiecutter.author_name`.
Don't hard-code year. Use `cookiecutter.year`.

In Makefile and make.bat:
Added prefix to `project_name`.

In LICENSE.rst:
Changed `full_name` to `author_name` and added prefix.

Fix year.
2013-10-09 13:05:10 -07:00
Jim Munro
0fc5b2c567 Merge pull request #31 from toffer/comment-fix-in-urls-py
Fix comment.
2013-10-09 13:03:16 -07:00
Tom Offermann
414a127b33 Use project_name in base.html navbar.
Project name is a better, public-facing name than repo name.
2013-10-09 10:26:42 -07:00
Tom Offermann
328a92310a Unescape cookiecutter vars in base.html template.
Cookiecutter variables don't get replaced inside a raw block,
so we need to turn off raw temporarily.
2013-10-09 10:26:34 -07:00
Tom Offermann
7700ab4f7e Fix comment. 2013-10-06 22:16:21 -07:00
Tom Offermann
4999f8e4fd Fix static paths in settings.py.
* STATIC_ROOT is at the same level as BASE_DIR, not in the BASE_DIR.
* STATIC_ROOT is set as an absolute path.
* Set STATICFILES_DIRS so collectstatic looks in `BASE_DIR/static`,
  not `BASE_DIR/../static`.

Fixes #11.
2013-10-04 12:04:04 -07:00
Tom Offermann
3c06571734 Removed "TODO" to automate script.
Automated in previous commit.
2013-10-04 11:40:56 -07:00
Tom Offermann
f3c54e8039 Add migration to set site domain and name. 2013-10-04 11:40:15 -07:00
Daniel Greenfeld
cf0727d94c Merge pull request #28 from toffer/patch-1
Fill in form action attribute in user_detail.html.
2013-10-03 01:10:43 -07:00
Daniel Greenfeld
26b2e9ce6a via @natea since the settings.py file is nested inside the config/ dir, we need to go up one directory to find the static files 2013-10-03 10:14:42 +02:00
Daniel Greenfeld
2afb506061 via @natea set the python path in the procfile, and use foreman to start the server 2013-10-03 10:13:30 +02:00
Daniel Greenfeld
21518e8977 via @natea fix a missing cookiecutter prefix 2013-10-03 10:10:42 +02:00
Daniel Greenfeld
73824b1e97 Inspired by @natea, Make the deploy to Heroku instructions nicely formatted and EMAIL_BACKEND default 2013-10-03 10:08:03 +02:00
Tom Offermann
f8b4e6f0a1 Fill in form action attribute in user_detail.html.
Using Chrome, the update form didn't submit with a blank action, but worked fine once I specified it.

Also, in researching whether a blank action attribute was OK, I found out that according to the HTML5 spec, the action attribute "must have a value that is a valid non-empty URL potentially surrounded by spaces."

http://www.w3.org/TR/html5/forms.html#attr-fs-action
2013-10-01 23:40:58 -07:00
Daniel Greenfeld
3680c7b60e Merge pull request #26 from jimfmunro/fix-heroku
add config and moved staticfiles section
2013-09-26 18:59:17 -07:00
Jim Munro
fc7402f922 correct about-page url 2013-09-26 14:05:42 -06:00
Jim Munro
eeaece5571 add config and moved staticfiles section 2013-09-26 13:23:58 -06:00
jmunro
baa83a762c wont define the cache value unless default keyword is present for argument 2013-09-22 22:15:37 -06:00
Daniel Greenfeld
31defe87bd fix the django-model-utils 2013-09-22 15:03:33 +02:00
Daniel Greenfeld
7ab7cf910d Bump South to the stable 0.8.2 release 2013-09-22 14:51:26 +02:00
Daniel Greenfeld
595c75e2f1 Update django-avatar to 2.0 2013-09-22 14:47:34 +02:00
Daniel Greenfeld
b57a0aec0a Update CACHE controls to work better with django-configurations 2013-09-22 14:42:56 +02:00
jmunro
f76ef042d1 added config for basic memcache setup 2013-09-21 21:59:53 -06:00
Vitaly Babiy
b32718c955 Fixing the default check on databases setting. 2013-09-19 20:41:12 -04:00
Daniel Greenfeld
a1dff3e976 Basic settings stuff 2013-09-19 12:18:26 +02:00
Daniel Greenfeld
7323f87e37 More fixes per @jezdez's oversight 2013-09-17 15:11:22 +02:00
Daniel Greenfeld
527a9b29a1 Bump up the Django version 2013-09-17 14:25:39 +02:00
Daniel Greenfeld
79cb6a3205 Post @jezdez cleanup 2013-09-17 14:19:31 +02:00
Daniel Greenfeld
cee802c859 Add django-configurations 2013-09-15 15:02:13 +02:00
Daniel Greenfeld
737f14dcc6 Specify bootstrap3 for crispy forms 2013-09-02 11:54:16 +02:00
Daniel Greenfeld
e38e5ce7ab django-crispy-forms now can be pinned 2013-09-02 11:52:32 +02:00
Daniel Greenfeld
bcaeed88c4 Update password_change.html 2013-09-01 19:38:57 +02:00
Daniel Greenfeld
f436dddf71 Update password_reset_from_key.html 2013-09-01 19:38:34 +02:00
Bouke Haarsma
c01b4a2f9a Use domain_name variable for Site object 2013-08-29 10:04:50 +02:00
Daniel Greenfeld
0914c7a923 Merge pull request #12 from Bouke/patch-6
Typo in cookiecutter variable domain name
2013-08-29 00:38:24 -07:00
Bouke Haarsma
aaf7ef9c76 Typo in cookiecutter variable 2013-08-29 09:16:22 +02:00
Bouke Haarsma
60f577e706 License is BSD, not MIT 2013-08-29 08:57:20 +02:00
Daniel Greenfeld
ce98a8f6f2 Merge pull request #8 from Bouke/patch-2
Heroku caching only in production
2013-08-28 04:47:22 -07:00
Bouke Haarsma
3ac2b7cdbe Fix environ not being defined 2013-08-28 13:37:53 +02:00
Bouke Haarsma
bca3f53b6d Heroku caching only in production 2013-08-28 13:25:42 +02:00
Bouke Haarsma
1723385df6 Fixes deployment to Heroku 2013-08-28 12:53:08 +02:00
Daniel Greenfeld
f807eb9ef5 Update base.txt 2013-08-27 09:08:52 +02:00
Daniel Greenfeld
45b04ff20e Update settings.py 2013-08-26 05:03:29 +02:00
Daniel Greenfeld
bf351fb510 Update settings.py 2013-08-24 13:33:34 +02:00
Daniel Greenfeld
f09afdea74 Add {{cookiecutter.secret_key}} context variable 2013-08-24 13:30:28 +02:00