So i'm looking to have an admin controlled news list, and one thing in particular i'd like them to be able to control is how many headlines are shown on the front page, and my current code is not doing that.
The line i care about is: {% for New in news_list|slice:":{{limit}}"%} where limit is some admin controlled variable that i'm certain is an integer. Is this possible? Or is there just some error in my code somewhere that i have not seen? Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---