from django.db import models

try:
    from django_extensions.db.fields.encrypted import EncryptedTextField, EncryptedCharField
except ImportError:

    class EncryptedCharField():
         def __init__(self, **kwargs):
             pass;

    class EncryptedTextField():
         def __init__(self, **kwargs):
             pass;


class Secret(models.Model):
    name = EncryptedCharField(blank=True, max_length=255)
    text = EncryptedTextField(blank=True)

from django.db import models

try:
    from django_extensions.db.fields.encrypted import EncryptedTextField, EncryptedCharField
except ImportError:

    class EncryptedCharField():
         def __init__(self, **kwargs):
             pass

    class EncryptedTextField():
         def __init__(self, **kwargs):
             pass


class Secret(models.Model):
    name = EncryptedCharField(blank=True, max_length=255)
    text = EncryptedTextField(blank=True)

Remove bogus semicolons, thanks justinlilly
Remove bogus semicolons, thanks justinlilly
