Skip to content

Commit

Permalink
README improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Donhauser committed Oct 9, 2024
1 parent 54853a9 commit 8e138e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ urlpatterns = [
...
# URL path for the DetailView with primary key pk
re_path(r'^some/path/(?P<pk>\d+)/$', get_pdf_view().as_view(model=YourPdfModel)), # default pdf view
re_path(r'^some/path/tex/(?P<pk>\d+)/$', get_pdf_view('django-tex').as_view(model=YourPdfModel)), # pdf view with the name 'django-tex'
re_path(r'^some/custom/path/(?P<pk>\d+)/$', get_pdf_view('custom-name').as_view(model=YourPdfModel)), # custom pdf view with the name 'custom-name'
...
]
```
Expand Down

0 comments on commit 8e138e1

Please sign in to comment.