-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creditor simple stats #226
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No unit tests ?
project/config/urls.py
Outdated
@@ -37,6 +37,7 @@ | |||
# Your stuff: custom urls includes go here | |||
url(r'^members/', include('members.urls')), | |||
url(r'^velkoja/', include('velkoja.urls')), | |||
url(r'^creditor/', include('creditor.urls')), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this should be under /admin/ -urlspace somehow ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Solution now in f7a8e7c. Though, might not be the ideal way to handle this.
{% endblock %} | ||
|
||
|
||
{% block title %} {{ site_title|default:_('Django site admin') }}{% endblock %} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs proper title
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes in 82bf0ac
project/creditor/urls.py
Outdated
from . import views | ||
|
||
urlpatterns = [ | ||
url(r'^transaction_table/$', permission_required('is_staff')(views.TransactionYearView.as_view()), name="table_y"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This decorator redirects to nonexistent URL for login, probably a missing configuration.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
login_url set in e059375
Some tests now included. General cleanup. |
Rebase to master, make sure tests pass. |
Transaction browse tool for staff.