Re: multiple servers one database

2010-09-21 Thread Tim Arnold
mysql server setup and though that seems a little complicated, I suppose my desires are more difficult than I thought at first. Any other ideas out there? Is SQLite a possibility or is master-master the way to go? thanks, --Tim On Sep 20, 9:22 pm, Steve Holden wrote: > On 9/20/2010 11:11 AM, Ti

multiple servers one database

2010-09-20 Thread Tim Arnold
Idea (from what 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 user

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, th

Re: modeling a book repository

2010-06-16 Thread Tim Arnold
ay 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 wrote: > > > > Hi,

Re: modeling a book repository

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

modeling a book repository

2010-06-15 Thread Tim Arnold
e. This is a little 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 e

Re: multiple django instances, one database?

2010-04-22 Thread Tim Arnold
On Apr 22, 2:25 pm, Tom Evans wrote: > On Thu, Apr 22, 2010 at 7:00 PM, Tim Arnold wrote: > > On Apr 22, 1:22 pm, Andy McKay wrote: > >> On 2010-04-22, at 9:52 AM, Tim Arnold wrote: > > >> > hi, > >> > Until now I've been working on a single

Re: multiple django instances, one database?

2010-04-22 Thread Tim Arnold
On Apr 22, 1:22 pm, Andy McKay 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 > > load balancing

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 c

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"; version

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 this group, send email

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, --T

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 behi

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

2010-02-05 Thread Tim Arnold
dent 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 wrote: > > > > > On Feb 4, 4:07 pm, Tim Arnold wrote: > > > > I'm crea

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 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 students entering th

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

2010-02-04 Thread Tim Arnold
on't get how 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 uns

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

2009-01-30 Thread Tim Arnold
On Jan 30, 2:21 pm, Daniel Roseman wrote: > On Jan 30, 4:15 pm, Tim Arnold wrote: > > > > > > > Hi, I have two basic models for abook-productionsite: > >bookconfiguration > > build reports > > > I want to display information for a particularbookso

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 now