Batch page is showing batch instead of actual sample as parents. #5

Closed
opened 2024-06-07 09:22:06 -04:00 by cgiacofei · 1 comment
Owner

image

![image](/attachments/17a82506-4389-4770-8ce2-ad313ce1875c)
7.2 KiB
Author
Owner

Line 19 in batch.html:

<a href="{% url 'yeast:batch' parent.batch.id %}">{{ parent.batch.id}}</a>{% if not forloop.last %},{% endif %}

should actually be:

<a href="{% url 'yeast:yeast' parent.id %}">{{ parent.batch.id}}</a>{% if not forloop.last %},{% endif %}
Line 19 in [batch.html](src/commit/90b613c433685d2b5307caa2cbb0136dc8497a5e/yeast/templates/yeast/batch.html): ``` django <a href="{% url 'yeast:batch' parent.batch.id %}">{{ parent.batch.id}}</a>{% if not forloop.last %},{% endif %} ``` should actually be: ``` django <a href="{% url 'yeast:yeast' parent.id %}">{{ parent.batch.id}}</a>{% if not forloop.last %},{% endif %} ```
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Brewery/brewery-website#5
No description provided.