Closed Hellowlol closed 8 years ago
Hi, thanks for reporting this : it was caused by a refactoring I made a few weeks ago. Before that, everything was imported in lifter's __init__
, but now, you have to explicitely import the modules you want to use.
It's basically just a matter of replacing import lifter
by import lifter.models
I've updated the README to reflect that, feel free to report any other issue you could encounter !
Using
I get: Traceback (most recent call last): File "C:\htpc\top_sites\testlifter.py", line 169, in
User = lifter.models.Model('User')
AttributeError: 'module' object has no attribute 'models'