Re: multiple servers one database

2010-09-21 Thread Tim Arnold
9/20/2010 11:11 AM, Tim Arnold wrote:> hi, I have two machines for a > Django-powered site and they are  setup > > to be duplicates to provide redundancy. Each one runs its own apache > > instance and accesses the same Django apps on a shared disk. > > > The problem I h

multiple servers one database

2010-09-20 Thread Tim Arnold
I read this weekend). So finally, my question is how to solve the problem and maybe whether SQLite would be a better database since AIUI, it is simply file-based. thanks, --Tim Arnold -- You received this message because you are subscribed to the Google Groups "Django users" grou

paypal ipn change

2010-09-11 Thread Tim Arnold
Hi, I started having trouble with paypal IPN on Sept. 4 (a week ago), but didn't know it until they notified me yesterday that my endpoint url was failing. Well, I had just upgraded to Django 1.2.1 and figured it had to be that or some code refactoring I had done. However, as far as I can tell,

Re: modeling a book repository

2010-06-16 Thread Tim Arnold
is way when the cascades > > go through it doesn't have links to next or previous chapters and not > > everything is deleted. > > > Hope this helps, > > > Dan Harris > > dih0...@gmail.com > > > On Jun 15, 12:11 pm, Tim Arnold <a_j...@bellsouth.net> wrote: > > &

Re: modeling a book repository

2010-06-15 Thread Tim Arnold
lps, > > Dan Harris > dih0...@gmail.com > > On Jun 15, 12:11 pm, Tim Arnold <a_j...@bellsouth.net> wrote: > > > > > Hi, > > I have a model for a Book that contains Chapters. My problem is > > figuring out the ordered sequence of Chapters in a Bo

modeling a book repository

2010-06-15 Thread Tim Arnold
tricky--does anyone have a better solution? thanks, --Tim Arnold -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-user

Re: multiple django instances, one database?

2010-04-22 Thread Tim Arnold
On Apr 22, 2:25 pm, Tom Evans <tevans...@googlemail.com> wrote: > On Thu, Apr 22, 2010 at 7:00 PM, Tim Arnold <a_j...@bellsouth.net> wrote: > > On Apr 22, 1:22 pm, Andy McKay <a...@clearwind.ca> wrote: > >> On 2010-04-22, at 9:52 AM, Tim Arnold wrote: >

Re: multiple django instances, one database?

2010-04-22 Thread Tim Arnold
On Apr 22, 1:22 pm, Andy McKay <a...@clearwind.ca> wrote: > On 2010-04-22, at 9:52 AM, Tim Arnold wrote: > > > hi, > > Until now I've been working on a single Freebsd server, hosting a > > couple of Django apps. Now we've bought another machine to provide > >

multiple django instances, one database?

2010-04-22 Thread Tim Arnold
hi, Until now I've been working on a single Freebsd server, hosting a couple of Django apps. Now we've bought another machine to provide load balancing and I'm wondering how to accomplish that. I guess the django code can be shared on the same drive, but the django instances running separately of

middleware question

2010-04-20 Thread Tim Arnold
Hi, I want to serve some raw xml files, but add a stylesheet to the response so the user can view it better. The raw xml begins like this: http://docbook.org/ns/docbook; version="5.0"> etc. I want to create some middleware to serve them like this: http://docbook.org/ns/docbook;

Re: manipulate header before sending response

2010-04-19 Thread Tim Arnold
On Apr 19, 3:12 pm, Shawn Milochik wrote: > You can create your own middleware. > > http://docs.djangoproject.com/en/1.1/topics/http/middleware/ > > Shawn > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to

manipulate header before sending response

2010-04-19 Thread Tim Arnold
hi, I have a static webpage which is out of my control (created in some other process). I want to show the page to the user, but I need to add a stylesheet to the header first. Is there a way to receive the request, add the to the header for the stylesheet and then serve the webpage? thanks,

custom authentication for admin

2010-03-09 Thread Tim Arnold
Hi, I've read about the custom authentication you can do so you can use upstream validators for your views. And a snippet that helps do that is here http://www.djangosnippets.org/snippets/1723/ But will that work for the admin panels? It doesn't look like it to me...I have a database of users

Re: entering scores (one model) for a list of students (another model)

2010-02-05 Thread Tim Arnold
a score for the student for that class and date > > Basically the students should be creating the 'blank' scores when they > come in. > > -Preston > > On Feb 5, 5:35 am, Tim Arnold <a_j...@bellsouth.net> wrote: > > > > > On Feb 4, 4:07 pm, Tim Arnold <a

Re: entering scores (one model) for a list of students (another model)

2010-02-05 Thread Tim Arnold
On Feb 4, 4:07 pm, Tim Arnold <a_j...@bellsouth.net> wrote: > I'm creating a form that students fill in as they arrive at class. > Just name, email, etc. > When the class is over I want to display a form for the teacher to > enter the grades. > > So, no problem on the stud

entering scores (one model) for a list of students (another model)

2010-02-04 Thread Tim Arnold
to associate the student with the score the teacher enters. thanks for any pointers. --Tim Arnold -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this g

Re: summary of two models+detailed view--how to structure?

2009-01-30 Thread Tim Arnold
On Jan 30, 2:21 pm, Daniel Roseman <roseman.dan...@googlemail.com> wrote: > On Jan 30, 4:15 pm, Tim Arnold <a_j...@bellsouth.net> wrote: > > > > > > > Hi, I have two basic models for abook-productionsite: > >bookconfiguration > > b

summary of two models+detailed view--how to structure?

2009-01-30 Thread Tim Arnold
Hi, I have two basic models for a book-production site: book configuration build reports I want to display information for a particular book so you can drill- down from a summary of its configuration and build to a detailed view of its configuration and build report. The way I have it set up