Admin Customisations

2009-07-24 Thread StevenC
Hey, Im new to Django and have create an online application system. I need to know is it possible to customise the List Display and have a customn link next to EVERY entry which points to a nother URL with its ID within. For example, If i have a student application. Their ID being 1. I need a

Checking POST Variables are set?

2009-08-05 Thread StevenC
Hey all! I need some support with something, i have the following boolean field but if you submit the form without choosing an answer it kicks back an error because i have the following IF Statment to make sure when it is selected other fields are mandatory. HEres the code. Lived_Out_Uk

Page security

2009-08-05 Thread StevenC
I have a template page which potentially shows private data people have submitted. How can i make this page secure so you can only see it once logged into the admin page? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Checking POST Variables are set?

2009-08-05 Thread StevenC
Cheers! Would this work? Im so used ot PHP, i keep thinking in it. if request.metho == 'POST' && 'Lived_Out_Uk' in request.POST: Would that work? On 5 Aug, 09:22, Wayne Koorts wrote: > Hi, > > > I need some support with something, i have the following boolean field > > but if you submit th

Re: Checking POST Variables are set?

2009-08-05 Thread StevenC
Masklinn, Yeah sorry mate, its a really old scirpting habit from previous codes. Note taken, All lower case :D On 5 Aug, 09:39, Masklinn wrote: > On 5 Aug 2009, at 10:14 , StevenC wrote:> I know the error is because the > page is not submitting the POST > > variable for Live

Re: Page security

2009-08-05 Thread StevenC
PErfect Thank you! On 5 Aug, 09:19, Jarek Zgoda wrote: > Wiadomość napisana w dniu 2009-08-05, o godz. 10:18, przez StevenC: > > > I have a template page which potentially shows private data people > > have submitted. How can i make this page secure so you can only see it &g

Validation

2009-08-05 Thread StevenC
Hey all!! I have had some validation working but it seems to have stopped. I want the date format on my form to validate as DD-MM- so i have done the following within the view: DOB = forms.DateField(('%d/%m/%Y',),'Date Of Birth',help_text="Please use the following format: DD/MM/.") So t

Re: Validation

2009-08-05 Thread StevenC
How so i import input_format On 5 Aug, 11:51, Daniel Roseman wrote: > On Aug 5, 11:03 am, StevenC wrote: > > > > > > > Hey all!! > > > I have had some validation working but it seems to have stopped. I > > want the date format on my form to valida

Re: Validation

2009-08-05 Thread StevenC
NameError at /application/ name 'input_formats' is not definedRequest Method: POST Request URL: http://webapps.stamford.ac.uk/application/ Exception Type: NameError Exception Value: name 'input_formats' is not defined On 5 Aug, 12:05, StevenC wrote: > How so i import in

Re: Validation

2009-08-05 Thread StevenC
There seems to be nothing on the doccumentation. On 5 Aug, 12:12, StevenC wrote: > NameError at /application/ > name 'input_formats' is not definedRequest Method: POST > Request URL:http://webapps.stamford.ac.uk/application/ > Exception Type: NameError > Exception Value

Creating Exchange 2007 Mailboxes via Django

2009-10-06 Thread StevenC
Hey all. I have been set a massive project and one of the fundimentals is to create a Mailbox in Microsoft Exchange 2007. My choice of language is going to be Django/Python rather than PHP because i want to move away from PHP. Soo, my question to everyone is.. Does anyone know if you can directl

Re: Creating Exchange 2007 Mailboxes via Django

2009-10-06 Thread StevenC
Thank you all for your feedback. Python is not going to be the best interface to use and i have chosen to go with C#, something i want to learn and much more achievable. Cheers all though --~--~-~--~~~---~--~~ You received this message because you are subscribed t