Skip to content

Commit

Permalink
docs: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jerivas committed Feb 5, 2022
1 parent a5611d3 commit e87ae79
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,15 @@ Yes, currently template code is just a plain string, but I'm sure there's a way

### What about named URL patterns?

It should be reasonably easy to add those to the auto-generated patterns following the folder structure or maybe even a decorator or attribute on the `view`.
Every url pattern will also have an auto-generated url name. For example:

| URL | URL name |
|------------------------|---------------------|
| `/mymodel` | `mymodel` |
| `/mymodel/add` | `mymodel-add` |
| `/mymodel/<id>` | `mymodel-id` |
| `/mymodel/<id>/edit` | `mymodel-id-edit` |
| `/mymodel/<id>/delete` | `mymodel-id-delete` |

### Are you serious?

Expand Down

0 comments on commit e87ae79

Please sign in to comment.