Skip to content

Commit 6204fc1

Browse files
committed
Updated documentation
1 parent f01346b commit 6204fc1

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,18 +102,15 @@ see their [release notes](https://github.com/adamspd/django-appointment/tree/mai
102102
pass
103103
```
104104

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.
106106

107-
For instance, if you append this to your `settings.py`:
107+
Configure the website's name in your `settings.py` like this:
108108

109109
```python
110110
APPOINTMENT_WEBSITE_NAME = 'Chocolates'
111111
```
112112

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:
117114

118115
```html
119116
<p>® 2023 {{ APPOINTMENT_WEBSITE_NAME }}. All Rights Reserved.</p>

appointment/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
__package_name__ = "django-appointment"
66
__url__ = "https://github.com/adamspd/django-appointment"
77
__package_website__ = "https://django-appt.adamspierredavid.com/"
8-
__version__ = "3.3.0"
8+
__version__ = "3.3.1"
99
__test_version__ = False

0 commit comments

Comments
 (0)