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 being
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' argumen
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 ru
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'),
('used','
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 = models.ManyToManyField(User
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 l
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 r
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 usabl
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 = mo
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...
t
Hello all,
Is it possible for a form to inherit from another form? I'd like to
have a separate form for admin users but the majority of the fields
are the same. Therefore I'd like to define something like the
following:
class AdminForm(JoUserForm):
my_extra_field = forms.BooleanField()
The
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 ne
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: secu
On 10/10/06, Panos Laganakos <[EMAIL PROTECTED]> wrote:
>
> I've written a suggestion, about creating a vim plugin that will aid in
> the django development process for the Vim users.
>
> Read the suggestion on django's wiki:
> http://code.djangoproject.com/wiki/UsingVimWithDjango
>
> I don't 'spe
On 09/10/06, iain duncan <[EMAIL PROTECTED]> wrote:
> Ha ha, too funny. Yup, vim all the way. YMMV. Oops, not supposed to say
> that in holy wars am I? God uses vim and he is on my side! ;)
>
> On a serious note, I use:
> - fluxbox on linux
> - heavily pimped out gvim ( ie much customization )
> -
> 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 develo
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 space).
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 su
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 8/10/06, hernan43 <[EMAIL PROTECTED]> wrote:
>
> Nowadays(is that a word?) a lot of fancy web services use API keys to
> allow an individual access to a service without requiring a username
> and password. Google, flickr(I believe), Akismet, so on and so on.
>
> If I wanted to make a Django app
On 8/10/06, uselpa <[EMAIL PROTECTED]> wrote:
>
>
> spacedman wrote:
> > /foo/bar/info?session_id=0873556323
> >
> > BUT if anyone gets that URL they get that person's session. Which is a
> > BAD thing. So don't do that.
>
> Unless you check that the IP from which the request is coming is the
> sa
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 s
Mike,
I've been trying to solve a similar problem to you. I first tried
making a custom form field based on the tagging extensions floating
about. I've documented what I came up with here:
http://code.djangoproject.com/wiki/CustomFormFields
But... I now think that this is the wrong way to go a
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 = meta.CharField(maxl
I'd like to provide users with an option to generate latex source (or
the pdf generated by the source). Can django's templates be used
for generating the source? Would I have to change the mime type
to ensure it gets served as plain text?
Has anyone had any experience with calling external scrip
Hi all,
Anyone looking for something similar to TextMate's snippets but in Vim may want to have a look at this plugin I wrote:
http://vim.sourceforge.net/scripts/script.php?script_id=1318
I wrote it after seeing the Rails shortcuts and getting jealous.
I think it'll work a bit better with Djang
32 matches
Mail list logo