CQRS Demo: master service
Users:
ID
Username
Actions
{% for user in users %}
{{ user.id }}
{{ user.username }}
{% csrf_token %}
{% csrf_token %}
{% endfor %}
{% csrf_token %}
{{ user_error }}
Products:
ID
Type
Name
Actions
{% for product in products %}
{{ product.id }}
{{ product.product_type.name }}
{{ product.name }}
{% csrf_token %}
{% endfor %}
Select product type
{% for product_type in product_types %}
{{ product_type.id }} {{ product_type.name }}
{% endfor %}
{% csrf_token %}
User purchases:
ID
User ID
Product
Time
Actions
{% for purchase in purchases %}
{{ purchase.id }}
{{ purchase.user_id }}
{{ purchase.product.name }}
{{ purchase.action_time }}
{% csrf_token %}
{% endfor %}
Select product
{% for product in products %}
{{ product.id }} {{ product.name }}
{% endfor %}
Select user
{% for user in users %}
{{ user.id }} {{ user.username }}
{% endfor %}
{% csrf_token %}
{{ purchase_error }}