From 3d2f7149cb7148f434408f3374c453903bc780c6 Mon Sep 17 00:00:00 2001 From: Serhii Horodilov Date: Wed, 29 Nov 2023 03:54:48 +0200 Subject: [PATCH 1/3] Add specification file (draft) --- index.rst | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 index.rst diff --git a/index.rst b/index.rst new file mode 100644 index 0000000..39099e4 --- /dev/null +++ b/index.rst @@ -0,0 +1,6 @@ +.. django e-commerce site specification + +E-Commerce site +=============== + + From 399cd35d12c5fe9dc9c8d9a2d33162935e028d61 Mon Sep 17 00:00:00 2001 From: Serhii Horodilov Date: Wed, 29 Nov 2023 14:08:06 +0200 Subject: [PATCH 2/3] Add admins section --- index.rst | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/index.rst b/index.rst index 39099e4..9c99a46 100644 --- a/index.rst +++ b/index.rst @@ -3,4 +3,29 @@ E-Commerce site =============== +Site administration +------------------- +- Admins can add, modify, or delete products available for purchase. +- Admins can deactivate/activate any registered user account, except other + administrators' accounts. + +Account registration and authentication +--------------------------------------- + +.. todo + +Purchase +-------- + +.. todo + +Purchase history +---------------- + +.. todo + +Refund +------ + +.. todo From d4110d43990b5d33cc7e18bf1087e1368e310f4a Mon Sep 17 00:00:00 2001 From: Serhii Horodilov Date: Wed, 29 Nov 2023 14:14:11 +0200 Subject: [PATCH 3/3] Add registration and authentication section --- index.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/index.rst b/index.rst index 9c99a46..7a1024d 100644 --- a/index.rst +++ b/index.rst @@ -13,7 +13,14 @@ Site administration Account registration and authentication --------------------------------------- -.. todo +- Anonymous users will have access to products list page and product details. +- Anonymous users can register a new customer account, or login to the + existing one account. +- While registering a new account users must provide their username, email + address and password. Password should be confirmed by re-typing it to + the specified field to avoid typos. +- Authenticated users will be forced logout after certain time of being + inactive. Purchase --------