Skip to content

Commit

Permalink
Use modern path mapping syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
boxed authored May 13, 2024
1 parent e6ddf05 commit e32b53c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ your URLconf. For example:
from django.conf.urls import patterns, url, include
from myproject.feeds import EventFeed
urlpatterns = patterns('',
urlpatterns = [
# ...
(r'^latest/feed.ics$', EventFeed()),
path('latest/feed.ics', EventFeed()),
# ...
)
]
Example how recurrences are built using the django-recurrence_ package:

Expand Down

0 comments on commit e32b53c

Please sign in to comment.