Sachi King
21b2a01a84
Py2 compatability has been broke elsewhere drop it
...
This is all noop in Py3, and Py2 is broke now in various places.
Dropping Py2 code as it will not be a thing going forward.
Django 2 is the next release, Py2 support will be dropped, as such,
dropping this is forward looking.
2017-04-29 15:47:19 +10:00
Sachi King
d5986de870
Use django's login_required decorator
...
This only seems to be here to have some custom login_url used bypassing
django's model. Well as we want to use django's model, this just won't
do. So lets move to using django's model.
2017-03-26 12:32:32 +11:00
Patrick Altman
11f697d137
Massively upgrade symposion
...
* Remove markitup (to be replaced with Ace editor)
* Use DUA decorators
* Removed custom signup bits
* Upgraded dependencies
* Added migrations
* Namespaced template locations
* Removed html5parser/sanitizer (for now) - parsing functionality
should be moved out entirely to a hooks
* Replaced ProposalScoreExpression object with a function that returns
F() expressions
2015-10-16 12:37:35 -05:00
Patrick Altman
67433cacb4
Merge branch 'i18n-all' of https://github.com/miurahr/symposion into miurahr-i18n-all
...
Conflicts:
symposion/boxes/models.py
symposion/conference/models.py
symposion/schedule/models.py
symposion/speakers/models.py
symposion/sponsorship/admin.py
symposion/sponsorship/models.py
symposion/teams/models.py
2015-09-08 15:07:24 -05:00
Hiroshi Miura
3207621058
i18n all part
...
- forms for labels and helps
- views for success or warning messages
- apps and models verbose_names for admin
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2015-08-03 23:37:33 +09:00
Hiroshi Miura
a95825ede8
python3 compatibility
...
- Things are suggested in python3 porting guide.
https://docs.djangoproject.com/en/1.8/topics/python3/
1. adding ```from django.utils.encoding import
python_2_unicode_compatible```
2. ``` __str__``` instead of ```__unicode__```
https://docs.djangoproject.com/en/1.8/topics/python3/#str-and-unicode-methods
3. Adding ```from __future__ import unicode_literals``` at the top
of your Python modules
https://docs.djangoproject.com/en/1.8/topics/python3/#unicode-literals
4. Removing the `u` prefix before unicode strings;
https://docs.djangoproject.com/en/1.8/topics/python3/#unicode-literals
- also closed #66
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2015-08-03 23:32:25 +09:00
Carlos Henrique Romano
36ab6d599f
Fix flake8 warnings
2014-07-30 15:19:26 -03:00
Brian Rosner
bb2ffd2df0
fixed team membership views to work non-POST
2012-09-15 17:32:43 -06:00
Luke Hatcher
7f0c8496c7
fix email bug with teams
2012-08-14 17:22:54 -04:00
James Tauber
fad06ab1c1
staff can't apply unless it's by application
2012-08-03 01:24:43 -04:00
James Tauber
5fed9fef17
added basic contrib.messages to teams
2012-08-03 01:11:33 -04:00
James Tauber
da9db62b9a
invitees can now accept an invitation
2012-08-03 00:33:28 -04:00
James Tauber
4272c8f8a8
implemented invitations
2012-08-03 00:21:22 -04:00
James Tauber
7fe481ee98
implemented team accept/reject
2012-08-02 19:09:44 -04:00
James Tauber
2c69596ec6
implemented promote to / demote from manager
2012-08-02 13:17:16 -04:00
James Tauber
e96e416bdc
fixed polarity problem in is_staff check
2012-08-02 10:46:37 -04:00
James Tauber
7de1763de0
team permission checks now let staff in
2012-08-02 10:27:34 -04:00
James Tauber
1bfd0cc2f0
implemented team apply
2012-08-01 22:59:41 -04:00
James Tauber
a4dea58195
implemented join/leave teams
2012-08-01 22:49:27 -04:00
James Tauber
4f888ffd57
include state in team detail context vars
2012-08-01 22:28:57 -04:00
James Tauber
3998fe3369
properly link to and control access to team detail page
2012-08-01 21:59:23 -04:00
James Tauber
6e67b50501
added available teams template tag
2012-08-01 21:39:00 -04:00
James Tauber
86a346f628
view and url from team detail page
2012-07-28 18:30:00 -04:00