From b7c939339ff0a88a9477f4373423fe2881b3eb3e Mon Sep 17 00:00:00 2001 From: Jacob Rief Date: Sat, 11 Apr 2020 22:53:02 +0200 Subject: [PATCH] update docstrings --- shop/deferred.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/shop/deferred.py b/shop/deferred.py index 968be93bd..9bd267128 100644 --- a/shop/deferred.py +++ b/shop/deferred.py @@ -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 = []