hi.
I have a many to many table in django, which I'm having troubles updating.
class Keyword( meta.Model ):
URL = meta.URLField(core=True)
pagetype = meta.ForeignKey( PageType, verbose_name="the type of page")
regex = meta.CharField(maxlength=250)
to_match = meta.BooleanField()
On 10/16/05, Ian Holsman <[EMAIL PROTECTED]> wrote:
> is it possible?
> or should I just 'explode' it out into sepearte classes (2 one to many
> links to a seperate table)
No, it's not possible to specify the name of the "join" table created
in a many-to-many relationship. If there's a demonstrab
is it possible?
or should I just 'explode' it out into sepearte classes (2 one to many
links to a seperate table)
regards
Ian.
--
[EMAIL PROTECTED] -- ++61-3-9877-0909
If everything seems under control, you're not going fast enough. -
Mario Andretti
On 16-10-2005, at 20:43, Bo Shi wrote:
Moving the rename logic to _pre_save() would be the best way of doing
things but I have a problem where I rename the uploaded file into one
based on it's primary key. While in _pre_save(), self.id is None, so
is there a way to access the value that will b
Hey Nesh,
Moving the rename logic to _pre_save() would be the best way of doing
things but I have a problem where I rename the uploaded file into one
based on it's primary key. While in _pre_save(), self.id is None, so
is there a way to access the value that will become the primary key?
Bo
> But learning just enough about mod_rewrite to do the job would probably be
> less work.
Absolutley. For those, like me, who are not veterans in everything,
here are some good starting points:
Apache's mod_rewrite docs:
http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html
A decent introducto
On Sun, 2005-10-16 at 14:27 +, Alice wrote:
> I'm just learning regular expressions (something I've put off for ages
> now), and was wondering if it was possible to redirect from a subdomain
> to somewhere within my project using Django, i.e.
>
> redirect 'Subdomain.domain.com.au/appname/' to
I'm just learning regular expressions (something I've put off for ages
now), and was wondering if it was possible to redirect from a subdomain
to somewhere within my project using Django, i.e.
redirect 'Subdomain.domain.com.au/appname/' to
'domain.com.au/appname/pagename'
or is this better suite
That fixed that bug. Thanks. Now I can move forward and test the rest.
I will provide more info the next time I run into a problem...
-ian
On 10/15/05, Robert Wittams <[EMAIL PROTECTED]> wrote:
>
> Ian Maurer wrote:
> > I didn't get very far with the new branch. My template is failing to
> > re
On Sunday 16 Oct 2005 1:58 pm, Marcos Sánchez Provencio wrote:
> I can use that in ubuntu, for example, but not in debian sarge. If
> somebody has experience in building Debian packages, it must not be
> difficult to create a deb package to be used in debian sarge.
install from source, will run o
Is it possible to use a kind of limit_choices_to attribute for
non-admin views to select which data is shown in select boxes?
For example, in a edit-this-object form that allows the user to choose
a related object from a select box, I'd like to show each user only the
objects she created. What's
On 15-10-2005, at 9:57, Bo Shi wrote:
I have tried combining _post_save() and os.rename(...) to some limited
success but am not able to reset my FileField to the new file path (my
assumption is that using save() inside _post_save() causes infinite
recursion, no?). Clearly said strategy is an u
The format is reStructuredText, also referred to as reST or rst. You
can transform it to HTML using docutils. You can learn more about this
and the format at http://docutils.sourceforge.net/rst.html HTH, Jiri
Hello,
I am on django revision 880 and I like it a lot. Currently, I am
trying to get from a simple Model:
=
WEEKDAY_CHOICES = (
(0, 'Monday'),
(1, 'Tuesday'),
(2, 'Wednesday'),
(3, 'Thursday'),
(4, 'Friday'),
(5, 'Saturd
I can use that in ubuntu, for example, but not in debian sarge. If
somebody has experience in building Debian packages, it must not be
difficult to create a deb package to be used in debian sarge.
El dom, 16-10-2005 a las 07:46 +0530, Kenneth Gonsalves escribió:
> On Saturday 15 Oct 2005 11:03 pm
15 matches
Mail list logo