Skip to content

Commit

Permalink
version 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
muremwa committed Sep 23, 2021
1 parent 6eca88c commit 5b2d061
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,11 @@
## [2.0.1] - 2021-06-16
### Added
- Renamed from __django-urls-reader__ to __Django URLS Reader__.

## [2.1.0] - 2021-09-23
### Added
- Adds settings to the extension to customize behavior.
- Models in a project are now automatically detected by the extension.
- You can switch between using positional and keyword arguments in the *reverse*, *reverse_lazy* fucntions and the *url template tag*
- You can choose not to have admin URL configurations added automatically.
- Built-in auth/`django.contrib.auth` URL configurations are can be added like the admin URL configurations.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Django URLs configurations Reader.
Reads all urls configurations (`urls.py`) declared in all Django projects within a VSCODE workspace and copy to clipboard.

> ### ✨✨Introducing [settings](#settings 'new settings') for the extension ✨✨
> ### New in version 2.1
> ✨✨Introducing [settings](#settings 'new settings') for the extension ✨✨
> Models in the project are now automatically detected by the extension.
> You can now [switch](#settings 'settings') between keyword and positional arguments in settings for your urls.
> Built-in auth/`django.contrib.auth` URL configurations can be included or not depending on [settings](#custom-url-configurations 'built-in auth') using `builtInAuth: true`
<br>
Gives the option of copying the url as __reverse__, __reverse_lazy__ or as a __template tag__ to your __clipboard__.
Expand Down Expand Up @@ -175,6 +177,8 @@ __Models can now be automatically detected.__
"app_label_2": ["model3"]
}
```

*_The extension detects models if you use the built-in `django.contrib.admin` and have `admin.py` or `/admin/__init__.py` in your apps. Support for others coming soon_ :)
- - -
## Multiple Projects in a workspace.
The extension now supports multiple projects in one workspace. Once you add a folder to the workspace, reload the window to view changes.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "read-urls",
"displayName": "Django URLS Reader",
"description": "Read a django project's URL configurations.",
"version": "2.0.1",
"version": "2.1.0",
"publisher": "muremwa",
"icon": "media/ex_icon.png",
"engines": {
Expand Down

0 comments on commit 5b2d061

Please sign in to comment.