Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jelle van der Waa
Archweb
Commits
5232b186
Commit
5232b186
authored
Jun 28, 2014
by
Dan McGee
Browse files
Remove dependency on South
Signed-off-by:
Dan McGee
<
dan@archlinux.org
>
parent
51d90e23
Changes
7
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
5232b186
...
...
@@ -26,7 +26,6 @@ packages, you will probably want the following:
-
django
-
python2-psycopg2
-
python2-markdown
-
python2-south
-
python2-memcached
# Testing Installation
...
...
devel/fields.py
View file @
5232b186
...
...
@@ -3,8 +3,6 @@
class
PGPKeyField
(
models
.
CharField
):
_south_introspects
=
True
def
__init__
(
self
,
*
args
,
**
kwargs
):
super
(
PGPKeyField
,
self
).
__init__
(
*
args
,
**
kwargs
)
self
.
validators
.
append
(
RegexValidator
(
r
'^[0-9A-F]{40}$'
,
...
...
main/fields.py
View file @
5232b186
...
...
@@ -2,8 +2,6 @@
class
PositiveBigIntegerField
(
models
.
BigIntegerField
):
_south_introspects
=
True
def
get_internal_type
(
self
):
return
"BigIntegerField"
...
...
mirrors/fields.py
View file @
5232b186
...
...
@@ -4,7 +4,6 @@
from
django.core
import
validators
from
django.core.exceptions
import
ValidationError
from
django.db
import
models
from
south.modelsinspector
import
add_introspection_rules
class
IPNetworkFormField
(
forms
.
Field
):
...
...
@@ -44,6 +43,3 @@ def formfield(self, **kwargs):
defaults
=
{
'form_class'
:
IPNetworkFormField
}
defaults
.
update
(
kwargs
)
return
super
(
IPNetworkField
,
self
).
formfield
(
**
defaults
)
add_introspection_rules
([],
[
"^mirrors\.fields\.IPNetworkField"
])
requirements.txt
View file @
5232b186
...
...
@@ -3,7 +3,6 @@
Django
==1.6.6
IPy
==0.81
Markdown
==2.4.1
South
==1.0
bencode
==1.0
jsmin
==2.0.11
pgpdump
==1.5
...
...
requirements_prod.txt
View file @
5232b186
...
...
@@ -3,7 +3,6 @@
Django==1.6.6
IPy==0.81
Markdown==2.4.1
South==1.0
bencode==1.0
jsmin==2.0.11
pgpdump==1.5
...
...
settings.py
View file @
5232b186
...
...
@@ -114,7 +114,6 @@
'django.contrib.sitemaps'
,
'django.contrib.admin'
,
'django.contrib.staticfiles'
,
'south'
,
'django_countries'
,
'main'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment