Skip to content

Commit cffbd85

Browse files
author
Brandon Taylor
committed
Working on updating documentation and sample project
1 parent 8662eba commit cffbd85

File tree

7 files changed

+14
-11
lines changed

7 files changed

+14
-11
lines changed

AUTHORS

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
This software is maintained by:
2-
Brandon Taylor <btaylorweb@gmail.com>
2+
Brandon Taylor <brandon@iambrandontaylor.com>

COPYRIGHT

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(c) Copyright 2011 Brandon Taylor - bTaylorWeb
1+
(c) Copyright 2011 Brandon Taylor - I Am Brandon Taylor
22

33
django-admin-sortable is free software: you can
44
redistribute it and/or modify it under
@@ -8,4 +8,4 @@ django-admin-sortable is distributed in the hope
88
that it will be useful, but WITHOUT ANY
99
WARRANTY; without even the implied
1010
warranty of MERCHANTABILITY or FITNESS
11-
FOR A PARTICULAR PURPOSE.
11+
FOR A PARTICULAR PURPOSE.

README README.md

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
=============
21
admin-sortable
32
=============
43

adminsortable/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = (1, 3, 9) # following PEP 386
1+
VERSION = (1, 4, 0) # following PEP 386
22
DEV_N = None
33

44

adminsortable/fields.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,16 @@
44
class SortableForeignKey(ForeignKey):
55
"""
66
Field simply acts as a flag to determine the class to sort by.
7-
This field replaces previous functionality where `sortable_by` was definied as a model property
8-
that specified another model class.
7+
This field replaces previous functionality where `sortable_by` was
8+
definied as a model property that specified another model class.
99
"""
1010

1111
def south_field_triple(self):
1212
try:
1313
from south.modelsinspector import introspector
14-
cls_name = '{0}.{1}'.format(self.__class__.__module__, self.__class__.__name__)
14+
cls_name = '{0}.{1}'.format(
15+
self.__class__.__module__,
16+
self.__class__.__name__)
1517
args, kwargs = introspector(self)
1618
return cls_name, args, kwargs
1719
except ImportError:

sample_project/README

+5-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ I hope it can help you out as much on your project(s) as it does on mine :)
44
The only url patterns that are enabled for this project are /admin
55
The username/password is: admin/admin
66

7-
If you still need help, please contact me at: [email protected]
7+
I have not yet upgraded this sample application to use Django 1.5.
8+
Please run this sample_project in a virtualenv and install dependencies
9+
using the supplied requirements.txt via pip.
10+
11+
If you still need help, please contact me at: [email protected]
812

913
Kind regards,
1014
Brandon Taylor
11-
12-
bTaylor Web

sample_project/requirements.txt

Whitespace-only changes.

0 commit comments

Comments
 (0)