On Sun, Apr 5, 2009 at 11:38 AM, zayatzz <alan.kesselm...@gmail.com> wrote:

>
> Im just as new and i ran into exactly the same problem.
>
> As it seems, some people suggest to create new app for just font page
> (or generic public view) and create index.html as this apps front page
> template.
>
> I think it is possible to create views.py and index.html for the
> project too.
>
> Im sure someone will clear all this for us soon enough :).
>
> For now i went for creating app for site. This app will hold stuff
> like website title, meta words, language parameters and website
> encoding - you'll declare them in your index html anyway, so why not
> store them in your database, so you can change them from admin,
> whenever  you want.
>
> Alan
>
> On Apr 5, 5:57 pm, dartdog1 <tombran...@gmail.com> wrote:
> > Ok I'm super new, skimmed the doc & tutorial but I just can't figure
> > out how to go about really building the Public view side? I don't see
> > how to apply simple css. how to set up simple stuff like navigation
> > tabs and links...
> >
> > I'm implementing on GAE with the AEP and have gotten the sample app up
> > and going, have more docs to read there. But it seems to me that I'm
> > missing something basic, and when I search for stuff like css and page
> > layout I don't get much help..
> >
> > For instance the sample AEP poll app has no style, I was trying to
> > figure out how to apply some,, but at a larger level how to do that
> > for a site, with navigation, and being able to take advantage of the
> > ability to add new apps later?
> >
> > I notice that I see a number of people raving about how much they love
> > Django on their WP or Blogger blogs,, Which tells me that even
> > designing a simple Bog is not that easy in Django. Yes I have seen a
> > few Django blogs, but not much discussion of how they did it, and how
> > they apply design. For some they seem to use a mix of other tools and
> > some undisclosed black magic?
> >
> > AEP has two sample blogs but truthfully they look pretty primitive.
> >
> > What am I missing?
> >
>
Yes, you can absolutely create a views.py that isn't in a application, views
are just python functions, so they can live wherever they want, likewise so
long as your index.html is in your TEMPLATE_DIRS folder then it can be used
from wherever you like.

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