You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Django-Appointment is a Django app designed for managing appointment scheduling with ease and flexibility. It allows
4
-
users to define custom configurations for time slots, lead time, and finish time, or use the default values provided.
5
-
The app also handles conflicts and availability for appointments, ensuring a smooth user experience.
3
+
⚠️ **IMPORTANT**: Version 2.0.0 introduces significant database changes. Please read the [migration guide](https://github.com/adamspd/django-appointment/tree/main/migration_guide_v2.0.0.md) before updating.
6
4
7
-
Detailed documentation is in the ["docs"](https://github.com/adamspd/django-appointment/tree/main/docs) directory.
8
-
Please refer to the release notes for changes and migration
9
-
information [here](https://github.com/adamspd/django-appointment/tree/main/release_notes.md).
5
+
Django-Appointment is a Django app engineered for managing appointment scheduling with ease and flexibility. It enables
6
+
users to define custom configurations for time slots, lead time, and finish time, or utilize the default values
7
+
provided. This app proficiently manages conflicts and availability for appointments, ensuring a seamless user
8
+
experience.
10
9
11
-
## Features
10
+
Detailed documentation can be found in the [docs](https://github.com/adamspd/django-appointment/tree/main/docs)
11
+
directory.
12
+
For changes and migration information, please refer to the release
1. Customizable time slots, lead time, and finish time.
14
-
2.Handles appointment conflicts and availability.
15
-
3.Easy integration with Django admin interface for appointment management.
18
+
2.Competent handling of appointment conflicts and availability.
19
+
3.Seamless integration with the Django admin interface for appointment management.
16
20
4. User-friendly interface for viewing available time slots and scheduling appointments.
17
-
5. Send email notifications to clients when they schedule an appointment.
21
+
5. Capability to send email notifications to clients upon scheduling an appointment.
22
+
23
+
## Added Features in version 2.0.0 🆕
24
+
-**Database Changes ⚠️**: Significant modifications to the database schema. Before updating, ensure you follow the migration steps outlined in the [migration guide](https://github.com/adamspd/django-appointment/tree/main/migration_guide_v2.0.0.md).
25
+
1. Introduced a staff feature allowing staff members in a team or system to manage their own appointments.
26
+
2. Implemented an admin feature panel enabling staff members and superusers (admins) to manage the system.
27
+
3. Added buffer time between the current time and the first available slot for the day.
28
+
4. Defined working hours for each staff member, along with the specific days they are available during the week.
29
+
5. Specified days off for staff members to represent holidays or vacations.
30
+
6. Staff members can now define their own configuration settings for the appointment system, such as slot duration,
31
+
working hours, and buffer time between appointments. However, only admins have the privilege to add/remove services.
18
32
19
-
## Quick start
33
+
## Quick Start 🚀
20
34
21
-
1. Add "appointment" to your INSTALLED_APPS setting like this:
35
+
1. Add "appointment" to your `INSTALLED_APPS` setting like so:
22
36
23
37
```python
24
38
INSTALLED_APPS= [
@@ -27,7 +41,7 @@ information [here](https://github.com/adamspd/django-appointment/tree/main/relea
27
41
]
28
42
```
29
43
30
-
2.Include the appointment URLconf in your projecturls.py like this:
44
+
2.Incorporate the appointment URLconf in your project's `urls.py` like so:
31
45
32
46
```python
33
47
from django.urls import path, include
@@ -38,92 +52,71 @@ information [here](https://github.com/adamspd/django-appointment/tree/main/relea
38
52
]
39
53
```
40
54
41
-
3. In your Django's settings.py, add the following:
55
+
3. In your Django's `settings.py`, append the following:
42
56
43
57
```python
44
-
APPOINTMENT_CLIENT_MODEL= models.UserModel #Not optional (e.g. auth.User, or client.UserClient)
58
+
AUTH_USER_MODEL='models.UserModel'#Optional if you use Django's user model
45
59
```
46
-
47
-
For example, if you use the default Django user model:
48
-
60
+
61
+
For instance, if you employ a custom user model:
62
+
49
63
```python
50
-
APPOINTMENT_CLIENT_MODEL=auth.User
64
+
AUTH_USER_MODEL='client.UserClient'
51
65
```
52
-
53
-
Or, if you use a custom user model:
54
-
66
+
67
+
If you're utilizing the default Django user model, there's no need to add this line since Django automatically sets it
68
+
to:
69
+
55
70
```python
56
-
APPOINTMENT_CLIENT_MODEL=client.UserClient
71
+
AUTH_USER_MODEL='auth.User'
57
72
```
58
-
59
-
If you have a custom user model, make sure your create_user function includes the following arguments, even if you
60
-
don't use all of them:
61
-
73
+
74
+
Ensure your `create_user` function includes the following arguments, even if they are not all utilized:
0 commit comments