Commit graph

23 commits

Author SHA1 Message Date
Krzysztof Dorosz
705356cb53 - Bumping version to 1.1
- Adding me to AUTHORS :)
- Correcting login url name to auth_login to keep up with django standards
2012-10-14 23:45:49 +02:00
Krzysztof Dorosz
2b3efcfcb0 This commit fixes bug:
1) in urls a view "tos" has context object evaluated only in a runtime. This means that even if tos was changed, the "tos" view shows always the same old tos object.
2) check_tos view uses now messages framework instead of {{note}}
3) Support for translation in "you cannot login..." message added

The following code was tested with django 1.4 and it is reported to work well.
2012-10-14 23:41:35 +02:00
John Weaver
094f24f4cd Forgot to make second argument keyword. 2012-07-04 12:55:28 -07:00
John Weaver
ebd1832720 Fix Django 1.4 breakage.
Passing a translation as the first positional argument causes attname to
be a __proxy__ instance, which breaks when the metaclass attempts to
build a docstring for the models because it can't implictly convert them
to strings.
2012-07-04 12:52:37 -07:00
Frank Wiles
61ed253230 Reverting to non-HTML5 for old busted IE 2010-12-18 10:39:00 -06:00
Frank Wiles
8359b65c75 Cleaning up unnecessary calls 2010-11-17 13:04:17 -06:00
Frank Wiles
693d3aeb9d Fixed breaking logins due to initial_data
- Removed initial_data fixture in favor of a post_syncdb
    signal to add the initial 'blank' TOS
2010-11-17 12:52:46 -06:00
Frank Wiles
8f674e255a Minor fixes to views and fixture 2010-06-21 12:09:16 -05:00
pydanny
bcd9c6b665 Fixing setup mistake 2010-06-21 09:49:26 -05:00
pydanny
b75cca20a4 Add initial data so things don't blow up and made tos terms 'safe' in filter 2010-06-21 09:38:52 -05:00
pydanny
1cb147cb25 adding lots of view tests 2010-06-18 18:46:50 -05:00
pydanny
0b854bc834 View errors cleaned up 2010-06-18 18:10:51 -05:00
pydanny
af5eca727a Working terms of service views 2010-06-18 18:06:51 -05:00
pydanny
e0fec099a1 Trying to get view working without exposing project to the world 2010-06-18 15:51:01 -05:00
pydanny
07e0b85d5e Blocked TOS from having all set active=True. Which would break login and lots of other critical things 2010-06-18 15:36:51 -05:00
pydanny
475a66cfd5 Nuked the crazy flatpages since that was a miscommunication. Added in a handed TOS manager and a agreement checker. Updated tests to match 2010-06-18 14:57:24 -05:00
pydanny
2fd6920fac tests and custom login view 2010-06-18 14:00:27 -05:00
pydanny
7233b93f62 login view added. Also test 'harness' 2010-06-18 13:20:59 -05:00
pydanny
b5bc5e219a login view added. Also test 'harness' 2010-06-18 13:19:54 -05:00
pydanny
2fe78d22d9 Fixed bug in save() method of TermsOfService 2010-06-18 12:36:20 -05:00
pydanny
5bad53b8bc README install instructions. models cleanup 2010-06-18 12:30:01 -05:00
pydanny
e96044f412 Readme, admin, and models first pass 2010-06-18 12:00:05 -05:00
pydanny
42d43e3b86 More boilerplate 2010-06-18 11:24:33 -05:00