Skip to content

Commit c341cf2

Browse files
authored
Adding notes on BitBucket Pipelines (#627)
Adding notes on the BitBucket Pipeline requirements - #624
1 parent 6d7eaf0 commit c341cf2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/common_issues.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,3 +203,9 @@ Sometimes you have to point to the model of the historical records. Examples are
203203
class Meta:
204204
model = Poll.history.model
205205
# ...
206+
207+
Working with BitBucket Pipelines
208+
--------------------------------
209+
210+
When using BitBucket Pipelines to test your Django project with the
211+
django-simple-history middleware, you will run into an error relating to missing migrations relating to the historic User model from the auth app. This is because the migration file is not held within either your project or django-simple-history. In order to pypass the error you need to add a ```python manage.py makemigrations auth``` step into your YML file prior to running the tests.

0 commit comments

Comments
 (0)