Skip to content

Commit

Permalink
update docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
jrief committed Apr 11, 2020
1 parent d0504e9 commit b7c9393
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions shop/deferred.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,11 @@ class ForeignKeyBuilder(ModelBase):
"""
In Django we can not point a ``OneToOneField``, ``ForeignKey`` or ``ManyToManyField`` onto
an abstract Model class. In Django-SHOP this limitation is circumvented by creating deferred
foreign keys, which are mapped to their correct model's counterpart during the model materialization
step.
foreign keys, which are mapped to their correct model's counterpart during the model
materialization step.
If the main application stores its models in its own directory, add to settings.py:
SHOP_APP_LABEL = 'myshop'
so that the models are created inside your own shop instantiation.
SHOP_APP_LABEL = 'myshop', so that the models are created inside your own shop instantiation.
"""
_model_allocation = {}
_pending_mappings = []
Expand Down

0 comments on commit b7c9393

Please sign in to comment.