Pārlūkot izejas kodu

Docs: Add docs for wishlists app

master
Maik Hoepfel 12 gadus atpakaļ
vecāks
revīzija
14e15435e7
2 mainītis faili ar 27 papildinājumiem un 1 dzēšanām
  1. 2
    1
      docs/source/ref/apps/index.rst
  2. 25
    0
      docs/source/ref/apps/wishlists.rst

+ 2
- 1
docs/source/ref/apps/index.rst Parādīt failu

@@ -21,4 +21,5 @@ Oscar is split up in multiple, mostly independent apps.
21 21
    promotions
22 22
    search
23 23
    shipping
24
-   voucher
24
+   voucher
25
+   wishlists

+ 25
- 0
docs/source/ref/apps/wishlists.rst Parādīt failu

@@ -0,0 +1,25 @@
1
+=========
2
+Wishlists
3
+=========
4
+
5
+The wishlists app is built to allow a user create one or more wishlists and let
6
+her add products to one or more of her wishlists. She can add a product from the
7
+product's detail page and manage the lists in the account section.
8
+
9
+The wishlists app is hence wired up as a subapp of :doc:`customer` and a partial
10
+is included in `add_to_basket_form.html`.
11
+
12
+Please note that wishlists currently only work for authenticated users.
13
+
14
+
15
+Abstract models
16
+---------------
17
+
18
+.. automodule:: oscar.apps.wishlists.abstract_models
19
+    :members:
20
+
21
+Views
22
+-----
23
+
24
+.. automodule:: oscar.apps.customer.wishlists.views
25
+    :members:

Notiek ielāde…
Atcelt
Saglabāt