Revision fc1e2f02 snf-astakos-app/astakos/im/views.py

b/snf-astakos-app/astakos/im/views.py
667 667
    else:
668 668
        now = datetime.now()
669 669
        data = {
670
            'kind':kind,
671
            'issue_date':now,
672
            'expiration_date':now + timedelta(days=30)
670
            'kind':kind
673 671
        }
674 672
        form = form_class(data, resources=resources)
675 673

  
......
796 794
                    template='im/astakosgroup_detail.html',
797 795
                    context_instance=get_context(request),
798 796
                    object=m.group,
799
                    quota=m.group.quota,
800
                    more_policies=m.group.has_undefined_policies
797
                    quota=m.group.quota
801 798
                )
802 799
        return wrapper
803 800
    return decorator

Also available in: Unified diff