Hello all,
I've been making great strides with my application since returning
from the land of Pylons. Given that the app is all about data entry
I've taken the customise-the-admin-app approach to things and made the
switch to newforms-admin this morning.
So far things are working: data is
On 25/01/07, Håkan Johansson <[EMAIL PROTECTED]> wrote:
>
> On 20 jan 2007, at 17:36, [EMAIL PROTECTED] wrote:
> >
> > Håkan Johansson wrote:
> >
> >> While working on a complex form using 'newforms' I had some problem
> >> with 'initial' data.
> >> I have multiple forms using the 'prefix'
Quick reply to myself in case someone is looking through the archives.
This seems to be covered in ticket 1801:
http://code.djangoproject.com/ticket/1801
It's noted as a 'hard bug'.
On 16/01/07, Felix Ingram <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> I've run into a problem whe
Hi Robert,
On 18/01/07, Robert <[EMAIL PROTECTED]> wrote:
I know newforms are still in development, but maybe there are known
practiced on
how to manage custom Form.
Let's say there's a model:
ITEM_TYPE_CHOICES = (
('new','new'),
Hello all,
I've run into a problem when trying to add some simple search
functionality to my app. I've got a model with several M2Ms and I'm
trying to construct some OR queries using Q().
Here's a simplified example:
Model:
class Article(models.Model):
authors =
Hi Chris,
On 12/01/07, Chris Rose <[EMAIL PROTECTED]> wrote:
> Felix Ingram wrote:
> > 3. Binding data - I'd like the form to handle editing of an instance.
> > I could construct a dictionary of values and pass it to the form as
> > per the docs but I'd like to
Hi Honza,
On 12/01/07, Honza Král <[EMAIL PROTECTED]> wrote:
> On 1/12/07, Felix Ingram <[EMAIL PROTECTED]> wrote:
> >
> > Hello all,
> >
> > I've been playing around with the newforms library and I'd like to
> > check that I'm on the right track
Hello all,
I've been playing around with the newforms library and I'd like to
check that I'm on the right track.
I've got a fairly complicated model that has a few foreign keys and
m2m fields. One of the m2m fields references a table with ~130,000
rows so the usual select boxes aren't that
On 04/01/07, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
On 1/4/07, Felix Ingram <[EMAIL PROTECTED]> wrote:
> ScaffoldScript is dead; long live FormGen!
> Using this script: http://code.djangoproject.com/wiki/FormGenScript
> in this manner: python formGen.py -a MyApp -
ScaffoldScript is dead; long live FormGen!
Using this script: http://code.djangoproject.com/wiki/FormGenScript
in this manner: python formGen.py -a MyApp -m Category
will turn this model:
class Category(models.Model):
category = models.CharField(maxlength=50, unique=True)
createdOn =
On 03/01/07, Honza Král <[EMAIL PROTECTED]> wrote:
if you are using gmail, you can set up a filter to put all django
related stuff to a specific label, even skip the inbox so that it
wouldn't interfere with your normal mail...
just search for django-developers@googlegroups.com in To: field...
On 30/11/06, James Bennett <[EMAIL PROTECTED]> wrote:
> In general, I think this is a tradeoff we've had to make to have
> Django be as useful as it is -- the goal isn't to satisfy *every* case
> out of the box, but to satisfy *common* cases out of the box with the
> ability to extend things as
On 29/11/06, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote:
>
> On 11/29/06 12:50 PM, Clint74 wrote:
> > I need to send the password to the user(email), but how recover the raw
> > password once the database stores in this format:
>
> You can't; that's the point of hashing it. The right (read:
> On 8/17/06, Seth Buntin <[EMAIL PROTECTED]> wrote:
> > Can I solve the IE back button issue (pages needing to be refreshed
> > with the posted data) with a simple cache system?
I encountered this problem with corkd.com's search page. Supposedly
it's not possible to fix it (or so says the
I thought that this thread sounded interesting so I had a go creating
several vmware images. The first was an Ubuntu which weighed in at
over 500 mb (all sizes are the 'used' portion from df -h), which then
stopped working (I think I _may_ have deleted the kernel image while
trying to save
On 8/11/06, Jyrki Pulliainen <[EMAIL PROTECTED]> wrote:
>
> On 8/11/06, Felix Ingram <[EMAIL PROTECTED]> wrote:
> >
> > On 8/10/06, Jyrki Pulliainen <[EMAIL PROTECTED]> wrote:
> > > On 8/10/06, Felix Ingram <[EMAIL PROTECTED]> wrote:
>
On 8/11/06, Jay Klehr <[EMAIL PROTECTED]> wrote:
> Felix Ingram wrote:
> > On 8/10/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
> >> Just username+randomstring is good.
> >> SHA better than md5.
> >>
> > Choice of hashing algorithm means not
On 8/10/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
> On 8/10/06, hernan43 <[EMAIL PROTECTED]> wrote:
> > If I wanted to make a Django app that utilized a custom authenticator
> > and my own "API key" what would be the best way to generate unique API
> > keys for my app. Would running a md5/sha
On 8/10/06, Jyrki Pulliainen <[EMAIL PROTECTED]> wrote:
> On 8/10/06, Felix Ingram <[EMAIL PROTECTED]> wrote:
> > On 8/10/06, hernan43 <[EMAIL PROTECTED]> wrote:
> > > Nowadays(is that a word?) a lot of fancy web services use API keys to
> > > al
On 7/12/06, Jyrki Pulliainen <[EMAIL PROTECTED]> wrote:
>
> On 7/12/06, Felix Ingram <[EMAIL PROTECTED]> wrote:
> > > salt = sha.new(str(random.random())).hexdigest()[:5]
>
> Dunno is this really a developer question, but is there really a point
> using sha t
On 7/12/06, Felix Ingram <[EMAIL PROTECTED]> wrote:
> On 7/12/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
> So whack the following into a script or type it into a interactive session
>
> import sha, random
> raw_password = script though)>
> a
On 7/12/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
> On Wed, 2006-07-12 at 03:18 +, Scott McCracken wrote:
> > I also ran into this problem when trying to create new users in the
> > Django admin interface. According to the Django documentation "We've
> > added extra security to the
All,
I'm a bit stumped. Being a good little developer I'm following the
guidelines for the new admin changes
(http://code.djangoproject.com/wiki/NewAdminChanges) and calling
'do_html2python' regardless of whether there are any errors from the
user.
This clears up one problem I was having where
All,
I'm trying to implement a custom form field similar to the Tagging example.
Here's a simplified example of the model I'm using:
class Port(meta.model):
number = meta.IntegerField()
protocol = meta.CharField(maxlength=4)
class Application(meta.model):
name =
24 matches
Mail list logo