
from django.conf import settings
from django.core.urlresolvers import reverse
from helios.views import election_shortcut

TEMPLATE_BASE = settings.HELIOS_TEMPLATE_BASE or "helios/templates/base.html"

# a setting to ensure that only admins can create an election
ADMIN_ONLY = settings.HELIOS_ADMIN_ONLY

# allow upload of voters via CSV?
VOTERS_UPLOAD = settings.HELIOS_VOTERS_UPLOAD

# allow emailing of voters?
VOTERS_EMAIL = settings.HELIOS_VOTERS_EMAIL



from django.conf import settings
from django.core.urlresolvers import reverse

TEMPLATE_BASE = settings.HELIOS_TEMPLATE_BASE or "helios/templates/base.html"

# a setting to ensure that only admins can create an election
ADMIN_ONLY = settings.HELIOS_ADMIN_ONLY

# allow upload of voters via CSV?
VOTERS_UPLOAD = settings.HELIOS_VOTERS_UPLOAD

# allow emailing of voters?
VOTERS_EMAIL = settings.HELIOS_VOTERS_EMAIL



Remove unused import causing deprecation warning
Remove unused import causing deprecation warning

Warning in the form:
RemovedInDjango19Warning: "ModelXYZ" doesn't declare an explicit app_label
Apparently this happens because it tries to import models before app
configuration runs

- 
  from django.conf import settings
  from django.core.urlresolvers import reverse
- from helios.views import election_shortcut
  
  TEMPLATE_BASE = settings.HELIOS_TEMPLATE_BASE or "helios/templates/base.html"
  
  # a setting to ensure that only admins can create an election
  ADMIN_ONLY = settings.HELIOS_ADMIN_ONLY
  
  # allow upload of voters via CSV?
  VOTERS_UPLOAD = settings.HELIOS_VOTERS_UPLOAD
  
  # allow emailing of voters?
  VOTERS_EMAIL = settings.HELIOS_VOTERS_EMAIL
  
  
  
Remove unused import causing deprecation warning
## Code Before:

from django.conf import settings
from django.core.urlresolvers import reverse
from helios.views import election_shortcut

TEMPLATE_BASE = settings.HELIOS_TEMPLATE_BASE or "helios/templates/base.html"

# a setting to ensure that only admins can create an election
ADMIN_ONLY = settings.HELIOS_ADMIN_ONLY

# allow upload of voters via CSV?
VOTERS_UPLOAD = settings.HELIOS_VOTERS_UPLOAD

# allow emailing of voters?
VOTERS_EMAIL = settings.HELIOS_VOTERS_EMAIL



## Instruction:
Remove unused import causing deprecation warning
## Code After:
from django.conf import settings
from django.core.urlresolvers import reverse

TEMPLATE_BASE = settings.HELIOS_TEMPLATE_BASE or "helios/templates/base.html"

# a setting to ensure that only admins can create an election
ADMIN_ONLY = settings.HELIOS_ADMIN_ONLY

# allow upload of voters via CSV?
VOTERS_UPLOAD = settings.HELIOS_VOTERS_UPLOAD

# allow emailing of voters?
VOTERS_EMAIL = settings.HELIOS_VOTERS_EMAIL


