On 9/19/05, Ian Maurer <[EMAIL PROTECTED]> wrote:
> First, I am using 'svn diff' for submitting my patches, let me know if
> there is a preferred way... especially when posting to Trac.
"svn diff" is great, in most cases. I just created this page, which
gives more details:
http://code.djangoproj
perfect, thanks!
On 9/20/05, Boffbowsh <[EMAIL PROTECTED]> wrote:
>
> I have this exact scenario in my project:
>
> {% if
> forloop.counter0|divisibleby:"3" %}{% endif %}
>
>
I've managed to do it my defining the superclass in another module and
importing it from your 'apps/appname/models/appname.py' file. That
other module can live under your models directory, just give it a
different name than appname.py. I guess it works because the dynamic
model "compiler" doesn't
I am struggling with the builtin authentication interface. I have
initialized the tables and entered some data in the authentication
tables. I have a couple of questions though,
(A) I want to use django.views.auth.login.login. I have entered this in
the url patterns. The implementation of this se
On 15-09-2005, at 4:38, Kenneth Gonsalves wrote:
false alarm - i tried with a model where there was exactly one filed -
the image field and it worked. The problem obviously lies in some
other
part of the model i was using. I was misled because the imagefield was
being stored as a blank.
Hi,
I believe that there are some problems with mod_python for apache 1.3.
I'm using apache2 and mod_python 3.1 (just what comes with debian by default).
And all seems to work fine. I know, if you have no reason to go to
apache2 this sucks a bit but there is always proxypass :-)
On 9/18/05, mobe
Hi Adrian,
Please let me know if you are interested in my previous patch for
ticket 419.
To summarize, it modifies django/core/meta/__init__.py to:
1. check for a (new) meta attribute "no_table"
2. if no_table is true, keep the model class out of the module's list
of "_MODEL"s
The result is
Kenneth Gonsalves wrote:
i could - but why should i? every other list i subscribe to puts a list
name in [] - postgres lists, wxpython lists, linuxchix lists etc etc -
so why not you? - (this is not an attempt to start any flame war, but i
think it is common practice)
Yes it's common but i
On Monday 19 Sep 2005 9:09 pm, Adrian Holovaty wrote:
> On 9/19/05, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> > it would be good if the word '[django]' or something appeared in
> > the subject line on all django list mail. currently, only after
> > opening the mail can one detect its belongs
I have this exact scenario in my project:
{% if forloop.counter0|divisibleby:"3"
%}{% endif %}
On Monday 19 Sep 2005 3:17 pm, Milton Waddams wrote:
> I've probably missed this somewhere though can't seem to workout how
> to do this.
>
> I want to have a list of products listed in a 3 column table with the
> number of rows growing to cover all the items.
use a for loop
--
regards
kg
http:
First, I am using 'svn diff' for submitting my patches, let me know if
there is a preferred way... especially when posting to Trac.
First, I ran into an issue with runtests.py since I use MySQL. The DB
connection autocommit requires an integer value and the current code
throws a TypeError for me.
On 9/19/05, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> it would be good if the word '[django]' or something appeared in the
> subject line on all django list mail. currently, only after opening the
> mail can one detect its belongs to the django list
Hey Kenneth,
You could set up an e-mail
hi
it would be good if the word '[django]' or something appeared in the
subject line on all django list mail. currently, only after opening the
mail can one detect its belongs to the django list
--
regards
kg
http://www.livejournal.com/users/lawgon
tally ho! http://avsap.org.in
ಇಂಡ್ಲಿನಕ್ಸ வாழ
On Friday 16 Sep 2005 9:37 pm, Adrian Holovaty wrote:
> On 9/16/05, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> > i have an optional imagefield in a model. I enter an image there.
> > Later i want to delete the image (not replace it). Can i do that
> > through the admin interface? Or do i have
On 9/19/05, Ian Maurer <[EMAIL PROTECTED]> wrote:
> But, I have a multitude of problems that I don't believe I had before
> the recent model overhaul. Here are some example things I tried doing
> with my Waiter class that I believe should work:
Hey Ian,
It'd be a huge help if you could add some
Sorry Mark,
But I am going to add to your problem since I encountered something
this weekend that was similar. If I add a Waiter class to this example:
class Waiter(meta.Model):
name = meta.CharField(maxlength=50)
restaurant = meta.ForeignKey(Restaurant)
def __repr__(self):
hi:
i just built a test app (with revision 645) using the 121 example found
at [http://www.djangoproject.com/documentation/models/one_to_one/] as i
am interested in using the 121 functionality in a project.
my model is an exact copy of the one in the docs - eg.
--
I've probably missed this somewhere though can't seem to workout how to do this.
I want to have a list of products listed in a 3 column table with the
number of rows growing to cover all the items.
eg.
product 1
product 2
product 3
product 4
product 5
19 matches
Mail list logo