Hi,
My earlier confusion with the newforms 'id' attributes was caused by
some poor wording in the documentation.
Just above this link is some unnecessarily wordy text:
http://www.djangoproject.com/documentation/newforms/#as-p
"Each text label is surrounded in an HTML tag, which points to
the
oops... i didn't read the documentation carefully to see that label
uses a 'for' attribute.
Sorry.
vic
On 7/4/07, Victor Ng <[EMAIL PROTECTED]> wrote:
> I noticed that newforms generates the same id attribute for both the
> label and the input field of a form. Can
I noticed that newforms generates the same id attribute for both the
label and the input field of a form. Can we get different attribute
values here? I couldn't find a reason for duplicated 'id' values in
the mailing list archives and this looks like a bug to me - id's
should be unique within a
Ugh... my stupid harddrive with developer Xen images keeled over on
Friday and I'm trying to get everything back into a normal working
state.
I ought to be able to start committing code in the next day or two.
argh... i hate hard disks.
vic
--
"Never attribute to malice that which can be adequa
On 1/16/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote:
You're attributing to malice that which can be adequately explained by
the fact that we are all very busy people. Read Jacob's last post. He
pretty much said he is happy to give Victor access - he just needs to
find the time to do it. I
Hey - any chance I'll get a schema evo-branch before 1.0?
vic
On 1/9/07, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote:
On 1/8/07 7:52 PM, Victor Ng wrote:
> I've already emailed Jacob last week to open the branch for me.
Crap -- I must have missed that email. I'll ge
I've already emailed Jacob last week to open the branch for me.
As it turns out - I've got *lots* of spare programming cycles since
I'm stuck in an entirely unholy quagmire of bureaucratic sludge right
now. :)
Mmm. bureaucratic sludge.
vic
On 1/8/07, Russell Keith-Magee <[EMAIL PROTE
I have a "Person" model where I have a field defined like this:
sex = models.CharField(maxlength=1, default='M', choices=(('M',
'Male), ('F', "Female")))
Although this is a simple case, I'd like to be able to do raw SQL
inserts into the table and not have to worry about missing some
default valu
Is there a way to tell runtests.py to test just one module?
Is this not the right command to invoke?
PYTHONPATH=~/testdir python runtests.py modeltests.schemaevo.models
--settings=testapp.settings
thanks,
vic
--
"Never attribute to malice that which can be adequately explained by
stupidity."
Let's *please* keep the trunk stable. It would be very discouraging
to new developers if they checked out Django from SVN head and got a
broken source tree.
On the topic of which branches will ever land - I'm actively working
on schema evolution right now. There's still a fair bit of work to
ma
Thanks for the heads up on the symlinks. My problem was with stale pyc
files created by symlinked .py files. Blech.
What version of sqlite and pysqlite were you testing on? I can get
SQL output from mysql and psycopg1 now, but nothing out of sqlite3.
vic
> > The emitted output on my machine i
Nevermind. Tests are starting to run for me, but they only work on
mysql. I get failures on sqlite3 and postgresql_psycopg2.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to th
Hi all,
Has anyone had any success in running the tests in the schema evolution branch?
The tests don't look like they're integrated with runtests.py at all.
As far as I can tell, you have to do the following to get the test suite to run:
1) cd schema-evolution/tests/evolvedbtests
2) the INSTA
On 11/7/06, James Bennett <[EMAIL PROTECTED]> wrote:
>
> Cool. Let us know when you're ready to start sending in code and we'll
> get you set up (though it might not be able to happen today; it's
> election day in the US, and all of us in the news industry are running
> around like chickens with o
fixing things along the way.victor "i ♡ source control" ngOn 11/7/06, Victor Ng
<[EMAIL PROTECTED]> wrote:
Hi all,
I've got time at work to work on the schema evolution branch and tomake sure that it works properly and to get it properly synced up todjango's SVN head.From w
else verify this problem? If this is the case, I'm going
rebranch from r3647 on my local repository and merge back to trunk
incrementally.
thanks,
vic
On 11/6/06, Victor Ng <[EMAIL PROTECTED]> wrote:
> What problems have you had with schema evolution?
>
> We're pretty c
What problems have you had with schema evolution?
We're pretty commited to using Django over at my company - and I need
schema evolution badly - so I'll be starting to kick the s-o branch
starting tomorrow afternoon to see if it's stable enough for us.
If necessary, I can apply patches myself as
Any luck with schema evolution lately?
I'm starting to look at seeing if i can merge this back to trunk as
well, but wanted to know if you've made any progress.
I'm using the postgresql_psycopg2 backend.
vic
On 9/14/06, Matthew Flanagan <[EMAIL PROTECTED]> wrote:
>
> postgresql
>
> On 14/09/06
+1 (with passion. and intensity.):)
vic
On 9/15/06, gabor <[EMAIL PROTECTED]> wrote:
>
> Malcolm Tredinnick wrote:
>
> >
> > [I'm a leading advocate for the "give Gabor a unicode branch in svn"
> > school, btw, so that you and he and others can go nuts and just do it.]
> >
>
> +1 :-)
>
> g
Fair enough - any chance we can get that unicode branch opened up soon?
vic
On 8/31/06, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote:
> Essentially the problem is that this makes the psycopg2 backend
> behave differently from all the other backends. Thus many framework
> tests fail when using ps
Hi gabor,
I've put up some patches to help with the unicode conversion of
django. We have a site which is shortly going to production where we
actually have to handle multiple unicode scripts including some which
have characters that do not fall into iso-8859-1.
Since I'm pretty lazy and I'm not
Hi all,
I've submitted a ticket 1763
(http://code.djangoproject.com/ticket/1763) which has a script to
enable the teardown/setup of a SQLite in-memory database for use with
unit tests.
The script is based on the one from Ian Maurer :
http://itmaurer.com/blog/?p=2
I've also included a patch whi
Hi Adrian,I'm new to Django - but I have written a metaclass based ORM before and I *have* seen psyco do weird things - sometimes causing a spontaneous crash. Maybe include a disclaimer that "your mileage may vary" if you turn on psyco.
vicOn 2/3/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
On
23 matches
Mail list logo