I have trouble of passing my get_profiles in the same template as r\'^compose/$\' here. r\'^users/$\' is what I\'m using as a model and it works. \"compose\" is a function in my views.py.
I have project in Django 1.3. In order to show username in all pages I use such tags in bas开发者_运维百科e.html
I have a Django View that constructs a dictionary to a template. I have seen similar questions but no one shows how to access the dictionary value in the template using the object pk as the key (in my
I put a (?) after translation because I\'m not sure if this is a translation issue or not. I have a UserProfile model that looks like so:
I am trying to pass the user objects to my template via a templatetag. I first tried simple_tag but apparently it is only for strings? Anyway this is what I have so far:
I have the models like this: Item: name desc AttrGroup: name order AttrName: name group.ForeinKey(AttrGroup) order
I want to build a menu where I can set one link highlighted using the {% block %} tag. I have something like this in my Javascript:
I have recently upgraded to Django 1.2.5, and now I am having problems with localization, specifically number formatting. For example, in some templates I print the following samples:
I am trying to integrate this Blog.I have unpacked this in my site directory when i am restarti开发者_如何学JAVAng django. I get the error as no module named creole
I am trying to integrate the following Blog app to my site,I get the following error for the slug field ,how to resolve this issue