File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -102,18 +102,15 @@ see their [release notes](https://github.com/adamspd/django-appointment/tree/mai
102
102
pass
103
103
```
104
104
105
- This function will create a user with a password formatted as: f"{APPOINTMENT_WEBSITE_NAME}{current_year}"
105
+ This function will create a passwordless user. A link to set the password will be sent to the user's email.
106
106
107
- For instance, if you append this to your ` settings.py ` :
107
+ Configure the website's name in your ` settings.py ` like this :
108
108
109
109
``` python
110
110
APPOINTMENT_WEBSITE_NAME = ' Chocolates'
111
111
```
112
112
113
- And the current year is 2023, the password will be "Chocolates2023". If ` APPOINTMENT_WEBSITE_NAME ` is not provided,
114
- the default value is "Website", rendering the password as "Website2023".
115
-
116
- This name is also utilized in the footer of the emails sent to clients upon scheduling an appointment:
113
+ It will be utilized in the footer of the emails sent to clients upon scheduling an appointment:
117
114
118
115
``` html
119
116
<p >® 2023 {{ APPOINTMENT_WEBSITE_NAME }}. All Rights Reserved.</p >
Original file line number Diff line number Diff line change 5
5
__package_name__ = "django-appointment"
6
6
__url__ = "https://github.com/adamspd/django-appointment"
7
7
__package_website__ = "https://django-appt.adamspierredavid.com/"
8
- __version__ = "3.3.0 "
8
+ __version__ = "3.3.1 "
9
9
__test_version__ = False
You can’t perform that action at this time.
0 commit comments