Skip to content

Commit

Permalink
Update README to reflect Django newer versions
Browse files Browse the repository at this point in the history
  • Loading branch information
pamella committed May 17, 2024
1 parent b721342 commit 30876b8
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,29 @@ A library that integrates with django admin and shows in a simple GUI when your

## Instalation

``` bash
```bash
pip install django-celerybeat-status
```

## Configuration

1. Add `'celerybeat_status'` to your `INSTALLED_APPS` variable in django settings
1. Add `"celerybeat_status"` to your `INSTALLED_APPS` variable in django settings

``` python
```python
INSTALLED_APPS = [
...
'celerybeat_status',
"celerybeat_status",
]
```

2. Create a url for the status check view

```python
from django.conf.urls import url, include
from django.urls import include, path

urlpatterns = [
# other urls...
url(r'^admin/statuscheck/', include('celerybeat_status.urls', namespce='celerybeat_status')),
path("admin/statuscheck/", include("celerybeat_status.urls", namespace="celerybeat_status")),
]
```

Expand All @@ -45,12 +45,10 @@ How you admin page will look like:

![admin-page](https://raw.githubusercontent.com/vintasoftware/django-celerybeat-status/master/README_IMAGES/django-celerybeat-status-admin.png)


How your tasks will be shown:

![tasks-page](https://raw.githubusercontent.com/vintasoftware/django-celerybeat-status/master/README_IMAGES/django-celerybeat-status-tasks.png)


## Commercial Support

This project, as other Vinta open-source projects, is used in products of Vinta clients. We are always looking for exciting work, so if you need any commercial support, feel free to get in touch: [email protected]
Expand Down

0 comments on commit 30876b8

Please sign in to comment.