Skip to content

Commit

Permalink
add block_type to the south introspection rules
Browse files Browse the repository at this point in the history
Conflicts:
	src/django_fields/fields.py
  • Loading branch information
defrex committed Jul 9, 2013
1 parent a453e61 commit 8456a04
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/django_fields/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,10 +301,10 @@ def formfield(self, **kwargs):

class EncryptedUSSocialSecurityNumberField(BaseEncryptedField):
__metaclass__ = models.SubfieldBase

def get_internal_type(self):
return "CharField"

def formfield(self, **kwargs):
from django.contrib.localflavor.us.forms import USSocialSecurityNumberField
defaults = {'form_class': USSocialSecurityNumberField}
Expand Down Expand Up @@ -336,12 +336,8 @@ def formfield(self, **kwargs):
],
[],
{
<<<<<<< HEAD
'cipher':('cipher_type', {}),
=======
'cipher': ('cipher_type', {}),
'block_type': ('block_type', {}),
>>>>>>> f5ec63e... add block_type to the south introspection rules
},
),
], ["^django_fields\.fields\..+?Field"])
Expand Down

0 comments on commit 8456a04

Please sign in to comment.