Commits

Richard Shea committed 76197e4

Making imports explicit relative

  • Participants
  • Parent commits b0c6606

Comments (0)

Files changed (1)

File dcdemo/dcdemo/apps/dmodrv/admin.py

 from django.contrib import admin
-from dcdemo.apps.dmodrv.models import Country
-from dcdemo.apps.dmodrv.models import City   
-from dcdemo.apps.dmodrv.models import Station
-from dcdemo.apps.dmodrv.models import WindObservation
-from dcdemo.apps.dmodrv.models import TemperatureObservation
+
+from .models import Country
+from .models import City   
+from .models import Station
+from .models import WindObservation
+from .models import TemperatureObservation
 
 admin.site.register(Country)
 admin.site.register(City)