Skip to content

Commit b5e5bc0

Browse files
committed
added example site to readme
1 parent 1763d78 commit b5e5bc0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,17 @@ it will have the breadcrumbs generated from the URL path.
6868

6969
Tweak default [settings](https://django-dynamic-breadcrumbs.readthedocs.io/en/latest/ref/settings.html).
7070

71+
# Example site
72+
73+
There is an example site to see how it works at [example_site](https://github.com/marcanuy/django-dynamic-breadcrumbs/tree/main/example_site). To
74+
run it, in `example_site` directory:
75+
76+
1. Create db: `python manage.py migrate`
77+
2. Load fixtures `python manage.py loaddata fixtures.json`
78+
3. Run the server `python manage.py runserver`
79+
80+
Note: Fixtures were created with a sample database with `./manage.py dumpdata --all --format json -o fixtures.json`.
81+
7182
# Documentation
7283

7384
Full docs at: https://django-dynamic-breadcrumbs.readthedocs.io/

0 commit comments

Comments
 (0)