Re: Good method to require EULA acceptance

2012-05-02 Thread BGMaster
. I'm just having a hard time conceptualizing a way to do this code-wise. On May 2, 5:41 pm, "Jonathan D. Baker" wrote: > You could store the Eula as a boolean field on a user profile model and > manage it that way. > > Sent from my iPhone > >

Good method to require EULA acceptance

2012-05-02 Thread BGMaster
Hi, I'm trying to implement acceptance of a EULA into my site registration form. The EULA acceptance is on a separate page from the rest of the registration form. I'm trying to figure out a way to prevent the user from accessing the rest of the site without accepting the EULA. Every path I go down

Python Library for Audio Files - Clipping mp3/ogg formats

2012-04-11 Thread BGMaster
Hi, I know this isn't a django specific question, but does anyone know of a good python library or module for clipping/cutting an mp3 or ogg file at a specified start and stop time? The functionality I need is: 1) take file (example.mp3) 2) take start and stop times (hh:mm:ss, hh:mm:ss) 3) return

Re: Combining two model fields into one

2012-03-19 Thread BGMaster
That looks like it could work. The problem I'm having is tying into a ModelForm. I want to create something basically to the effect of: phoneNumber = phoneNumber1+phoneNumber2 Here, phoneNumber1 and phoneNumber2 are the first 3 and last 4 digits of a user's phone number. I want them input as

Combining two model fields into one

2012-03-19 Thread BGMaster
Hi, I'm trying to combine the values from two separate fields into one field for my database model. I've tried this both in the view function with the values passed back through POST as well as trying to write a method for my model. Any suggestions on the best way to do this? Basically, I just wan