Closed pfennema closed 7 years ago
I actually resolved it just now to import ls.customer only:
import lfs.customer as lfs_customer
and in the code getting the get_customer by:
customer = lfs_customer.utils.get_customer(self.request)
However, is this the preferred way to resolve the circular reference?
I want to get the customer information in my CustomPriceCalculator hence I need to import the get_customer function:
However, when I do this I get an error in lfs/core/monkeys.py as it cannot import the utils library.
Any clue how to resolve this?
Thanks, Paul