- download and install xcode
- XCode and enable Command Line Tools
- download and install mysql-server
nano ~/.bash_profile
add the following
class SimpleOwnerAuthorization(Authorization): | |
''' | |
Does what it says: filters objects by their owner (user). | |
''' | |
def __init__(self, ownerfilter=None, *args, **kwargs): | |
self.ownerfilter = ownerfilter # the user field i.e. 'person__user' | |
def is_authorized(self, request, object=None): | |
return True # for now |
from django import http | |
try: | |
from django.conf import settings | |
XS_SHARING_ALLOWED_ORIGINS = settings.XS_SHARING_ALLOWED_ORIGINS | |
XS_SHARING_ALLOWED_METHODS = settings.XS_SHARING_ALLOWED_METHODS | |
XS_SHARING_ALLOWED_HEADERS = settings.XS_SHARING_ALLOWED_HEADERS | |
XS_SHARING_ALLOWED_CREDENTIALS = settings.XS_SHARING_ALLOWED_CREDENTIALS | |
except AttributeError: | |
XS_SHARING_ALLOWED_ORIGINS = '*' |
from django import http | |
from django.utils.http import urlquote | |
from django import urls | |
from django.conf import settings | |
from django.utils.deprecation import MiddlewareMixin | |
class AppendOrRemoveSlashMiddleware(MiddlewareMixin): | |
"""Like django's built in APPEND_SLASH functionality, but also works in | |
reverse. Eg. will remove the slash if a slash-appended url won't resolve, |
license: gpl-3.0 |
id | name | priority | who | time | status | |
---|---|---|---|---|---|---|
T-024 | Organisation list in directory | MUST | Joe | 5 | Complete | |
T-015 | Make term Commissions customisable | MUST | Natasha | 6 | Complete | |
T-016 | Comments popup on select rates | MUST | Mike | 3 | In Progress | |
T-0169 | Upgrade Centos Box | MUST | Joe | 2 | In Progress | |
T-013 | Search in Documents on selected folder | MUST | Natasha | 6 | In Progress | |
T-014 | Separate Document system for LA and Legals | MUST | Joe | 9 | In Progress | |
T-017 | Demo of Look and Feel of Documents front end | MUST | Natasha | 5 | In Progress | |
T-021 | Fix error where forum filename is greater than 100chars | MUST | Mike | 4 | Not Started | |
T-025 | Fix admin so structure of categories displayed | MUST | Mike | 2.5 | Complete |
license: gpl-3.0 | |
redirect: https://observablehq.com/@mbostock/circular-segment |
$('#participantes-table').dataTable({ | |
bProcessing: true, | |
bServerSIde: true, | |
sAjaxSource: "/path/to/your/tastypie/api/list/objects/?format=json", | |
sAjaxDataProp: "objects", | |
aoColumns: [ | |
// Put the resource name that corresponds to each table column | |
{'mData': "your"}, | |
{'mData': "columns"}, | |
], |