Re: Project Structure - Lots of scattered custom views

2013-01-15 Thread Sanjay Bhangar
On Mon, Jan 14, 2013 at 8:16 PM, chad petzoldt wrote: >> It had occurred to me that Django wasn't the right tool for this job - >> not everything is a nail :) > > > I am embedding these files within a template, so they are not direct static > serves. But the content must be inserted within the tem

Re: Project Structure - Lots of scattered custom views

2013-01-14 Thread Amirouche
On Monday, January 14, 2013 3:46:54 PM UTC+1, chad petzoldt wrote: > > It had occurred to me that Django wasn't the right tool for this job - >> not everything is a nail :) > > > I am embedding these files within a template, so they are not direct > static serves. But the content must be inser

Re: Project Structure - Lots of scattered custom views

2013-01-14 Thread chad petzoldt
> > It had occurred to me that Django wasn't the right tool for this job - > not everything is a nail :) I am embedding these files within a template, so they are not direct static serves. But the content must be inserted within the template "as-is" from the filesystem. I suck at Javascript

Re: Project Structure - Lots of scattered custom views

2013-01-13 Thread Sanjay Bhangar
On Sat, Jan 12, 2013 at 12:04 AM, chad petzoldt wrote: > Sanjay, you were hitting things pretty close. I think that making sure slug > names match up to real *static* locations is the key. I am hosting with > Apache, and I thought about using some configurations to cheat a little bit, > and get so

Re: Project Structure - Lots of scattered custom views

2013-01-13 Thread Lachlan Musicman
It had occurred to me that Django wasn't the right tool for this job - not everything is a nail :) cheers L. On Sun, Jan 13, 2013 at 10:21 PM, Amirouche wrote: > I don't see where Django makes things easier for you at all. Why no just use > static files and include a menu via Javascript and serv

Re: Project Structure - Lots of scattered custom views

2013-01-13 Thread Amirouche
Héllo again, I don't see where Django makes things easier for you at all. Why no just use static files and include a menu via Javascript and serve all the thing like static files instead of using Django ? Regards On Friday, January 11, 2013 7:34:00 PM UTC+1, chad petzoldt wrote: > > Sanjay, yo

Re: Project Structure - Lots of scattered custom views

2013-01-11 Thread chad petzoldt
Sanjay, you were hitting things pretty close. I think that making sure slug names match up to real *static* locations is the key. I am hosting with Apache, and I thought about using some configurations to cheat a little bit, and get some of the static-files burden off of Django and let Apache

Re: Project Structure - Lots of scattered custom views

2013-01-08 Thread Amirouche
Héllo Chad, I'd like to help but I need more infos if you don't mind and is granted to provide them. On Monday, January 7, 2013 9:52:35 PM UTC+1, chad petzoldt wrote: > > Right now my project only has 2 apps that use a database (*real* apps). > The rest of the website is composed of many custom

Re: Project Structure - Lots of scattered custom views

2013-01-08 Thread Sanjay Bhangar
hey all, This seems to be an itch I've had to scratch myself in the past - let me see if I understand the situation vaguely correctly: You have a site that uses Django / database features for some things, but then you also have a lot of content that's being designed in some design tool and needs

Re: Project Structure - Lots of scattered custom views

2013-01-07 Thread Lachlan Musicman
> > There are some cases where they send me Indesign, but when I export to HTML > some of the layouts break. So then I have to manually rig it until I feel > its close enough (but then it turns out it wasn't, so I mod again). Some > imagemaps made from sliced up Photoshops with some cute rollover e

Re: Project Structure - Lots of scattered custom views

2013-01-07 Thread chad petzoldt
> > Tie them neatly together > There are some cases where they send me Indesign, but when I export to HTML some of the layouts break. So then I have to manually rig it until I feel its close enough (but then it turns out it wasn't, so I mod again). Some imagemaps made from sliced up Photoshops

Re: Project Structure - Lots of scattered custom views

2013-01-07 Thread Lachlan Musicman
On Tue, Jan 8, 2013 at 10:30 AM, Lachlan Musicman wrote: > On Tue, Jan 8, 2013 at 9:52 AM, chad petzoldt wrote: >> Right now my project only has 2 apps that use a database (*real* apps). The >> rest of the website is composed of many custom views, scattered all over the >> place. I am new to Djan

Re: Project Structure - Lots of scattered custom views

2013-01-07 Thread Lachlan Musicman
On Tue, Jan 8, 2013 at 9:52 AM, chad petzoldt wrote: > Right now my project only has 2 apps that use a database (*real* apps). The > rest of the website is composed of many custom views, scattered all over the > place. I am new to Django, and I havn't quite figured out how to structure > my projec

Re: Project Structure - Lots of scattered custom views

2013-01-07 Thread Mario Gudelj
There's no reason why you can't split these into separate apps, then create a templates directory and urls.py in each app folder, if this will help the site organisation. You'll have to make sure you add each app to settings.py, create __init__.py in every app folder. Just go for it. Get everyone w

Project Structure - Lots of scattered custom views

2013-01-07 Thread chad petzoldt
Right now my project only has 2 apps that use a database (*real* apps). The rest of the website is composed of many custom views, scattered all over the place. I am new to Django, and I havn't quite figured out how to structure my project directory just yet. I think what I should really be look