On Thu, Apr 30, 2009 at 7:45 PM, AlexK <szczecinmeis...@gmail.com> wrote:

>
> Hi all,
>
> I would just like some comments about something particular in my
> template. I'm concerned there may be a better way of doing what I am
> doing. You will see why when you look at my code.
>
> http://dpaste.com/39858/
>
> I am mainly concerned with lines 3 to 7. Ignore that I should use a
> variable for "Submit Query". These lines are being repeated in every
> template that I have. Especially the user/profile bit.
>
> Advice is welcome, thank you.
> -Alex
> >
>
If the text is in every single page I might use a context processor(or just
include a different template with that text) just because I'm lazy and that
makes my job easier if I ever need to change the text, but theres nothing
wrong with having the same text more than once.

Alex

-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." --Voltaire
"The people's good is the highest law."--Cicero

--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to