# I use mixins in a project where i need to show a list of Collection
objects in both list and detail views,
# maybe this method would help you if you are using generic class-based
views?
class CollectionSidebarMixin(object):
# Add collections to the context
def get_context_data(self, **kw
Yeah, i did the same once -)
On Tue, Feb 5, 2013 at 1:07 AM, frocco wrote:
> Thank you, I can't tell you how long I struggled with this.
>
> On Monday, February 4, 2013 1:48:37 PM UTC-5, frocco wrote:
>>
>> I am getting NoReverseMatch at /my_account/
>> what is wrong with my urls?
>> Thanks
>>
>
(r'^my_account/$', include('accounts.urls')),
here you should remove the $ sign because it closes the expression there;
if you want my_account/blahblah like urls, you shouldn't use the dollar
sign like:
(r'^my_account/', include('accounts.urls')),
On Mon, Feb 4, 2013 at 8:49 PM, frocco wrote:
3 matches
Mail list logo