Commits

Owen Nelson committed 4fcb821

no no - keep the actual field code and connections to django out of the init.

Comments (0)

Files changed (3)

 In your models, do something like the fallowing: ::
     
     from django.db import models
-    from ipyfield import IPyField
+    from ipyfield.models import IPyField
 
     class MyModel(models.Model):
 
 __version__ = '0.1'
 
-from ipyfield.models import IPyField
 from django.test import TestCase
 from django.db.models import Model
 from django.db import IntegrityError
-from ipyfield import IPyField
+from ipyfield.models import IPyField
 from IPy import IP