Commit graph

11 commits

Author SHA1 Message Date
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
Hiroshi Miura
da82edf26d Enhanced sponsorship features
It is a part of feedback from PyConJP development.
Here picks a sponsorship benefit management enhancement.

* sponsor zip download
* export sponsor data as csv

```
commit eb3261c12c910ec562e016f10431cc48747baef8
Author: Dan Poirier <dpoirier@caktusgroup.com>
Date:   Wed Aug 21 11:51:20 2013 -0400

    Enhanced sponsor admin page

    For #67:

    * admin list sorted by name
    * not limited to 100 per page
    * a sortable visual indicator for each sponsorship benefit
      (completed, missing, not applicable)
    * also the sponsorship level, admin contact name, and an active
      or not indication
    * the ones we have today: print logo, web logo, print
      description, web description and the ad.
    * an action pick list like “email” and check mark the sponsors
    * I want to email based on the assets that are missing.
    * in subject and body, replace %%NAME%% by sponsor name
```

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2015-06-21 14:39:18 +09:00
Patrick Altman
c17a4cbda1 Merge pull request #49 from pyohio/pyohio-sponsorship-redirect
Redirect to dashboard if there are no benefits to edit.
2014-07-31 23:37:34 -05:00
Carlos Henrique Romano
36ab6d599f Fix flake8 warnings 2014-07-30 15:19:26 -03:00
Rebecca Lovewell
1861ad2926 Redirect to dashboard if there are no benefits to edit.
The sponsor object has been created, and we only need to collect details
about the potential-sponsor's benefits. If there are no benefits, the user
should be redirected to the dashboard rather than forced to submit what
appears to be the same form twice.
2014-03-14 14:59:51 -04:00
florapdx
9ab34b8ea5 deleted my inline comment 2013-04-24 16:08:31 -07:00
florapdx
8f0e4cf6a1 change behavior so that admin can add sponsor logos/text in-dashboard 2013-04-24 13:47:42 -07:00
James Tauber
daff4020ea redirect to sponsor edit after submission; allow sponsor details to be filled out before approval 2012-10-18 13:24:08 -04:00
James Tauber
0f32fdcb74 allow staff to add sponsors directly via interface 2012-10-18 12:38:03 -04:00
Luke Hatcher
022d62721d fix pycon imports 2012-07-13 21:45:13 -04:00
James Tauber
3ffcc4da7c first pass at merging pycon's sponsorship app with more basic symposion one 2012-07-12 15:17:49 -04:00