Skip to main content
# Django Inbox
A non live messaging system that simulates an email inbox :mailbox_with_mail:.

## Quick start
1. Add `inbox` to your INSTALLED_APPS settings:
```
INSTALLED_APPS = [
...
'inbox'
]
```

2. Include the inbox URLconf in your project urls.py file:
```
path('inbox/', include('inbox.urls'))
```

3. Run `python manage.py migrate` to create the models.

4. Add the templates needed to run the app:
```
inbox/inboxes.html
inbox/inbox-new.html
inbox/inboxes.html
```

4. Start the development server and visit http://127.0.0.1:8000/admin/
to create an inbox (you'll need the Admin app enabled).

5. Visit http://127.0.0.1:8000/inbox/ to see the main page.

## Extras
This app has a template tag to get the number of unread messages per inbox. To use it just add:

```
{% load core_tags %}
...
{% for inbox in inboxes %}
{% get_unread_messages inbox request.user as unread_messages %}
{% endfor %}
```

## Demo
A demo can be find [here](https://gitlab.com/polrodoreda/django-inbox-demo)

### How to contribute
Before push new code to the repository, be sure all the tests passed, coding style has no errors and coverage is good:

```bash
$ python manage.py test
$ flake8
$ coverage run --source='core/' manage.py test
```


Release files for django-inbox 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-inbox 0.1
File Size Uploaded
django-inbox-0.1.tar.gz 6.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-inbox 0.1
File Interpreter ABI Platform
django_inbox-0.1-py3-none-any.whl Python 3 none any Details

Total release size: 17.7 kB

Release files / django-inbox-0.1.tar.gz

Download URL django-inbox-0.1.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8bac1428000f940e3db286d17fb2272eb594238d7cb131d265ab6cf880d074fc
BLAKE2b-256 checksum
How to use checksums
764519dd0bd926c0c381dac8b4a08ca017f7562d96d886cd4672b8da52f91619
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6

Release files / django_inbox-0.1-py3-none-any.whl

Download URL django_inbox-0.1-py3-none-any.whl
Size 10.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
280ca18d8173af1be325b23b9ed264249ba8369d8c5b476a4741ba3e15a3c3eb
BLAKE2b-256 checksum
How to use checksums
01fbf5f092fed525f514984685fa59f7c19553363eb33b461bf7c3f980f66725
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page