add repr to class models and exploring relationships
This commit is contained in:
parent
936a88f264
commit
67264b3da6
11 changed files with 155 additions and 17 deletions
10
app/users/templates/test.html
Normal file
10
app/users/templates/test.html
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{% extends 'base.html' %}
|
||||
{% block title %}User Access{% endblock title %}
|
||||
{% block content %}
|
||||
{{user.first_name}}<br/>
|
||||
{{donation.amount}}<br/>
|
||||
|
||||
{% for c in campaign.donations %}
|
||||
{{c}}
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue