You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213
  1. from oscar.core.loading import is_model_registered
  2. from oscar.apps.address.abstract_models import (
  3. AbstractUserAddress, AbstractCountry)
  4. if not is_model_registered('address', 'UserAddress'):
  5. class UserAddress(AbstractUserAddress):
  6. pass
  7. if not is_model_registered('address', 'Country'):
  8. class Country(AbstractCountry):
  9. pass