te2.com/about/ would still load the flatpage from site1.com.
--
Adam Olsen
SendOutCards.com
http://www.vimtips.org
http://last.fm/user/synic
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users"
On Thu, Oct 15, 2009 at 10:14 PM, David wrote:
>
> I can't figure out why this is invalid syntax...
You can't pass a keyword argument to a tuple. It should read:
url(r'^$', object_list, list_args, name='list'),
--
Adam Olsen
SendOutCards.com
http://www.v
ite,
and any entries on my own blog that are tagged with "django", "web",
"javascript" or something similar would automatically show up on your site.
--
Adam Olsen
SendOutCards.com
http://www.vimtips.org
http://last.fm/user/synic
--~--~-~--~~~
x27;m sure it
would be no trouble at all to install PyFacebook as well.
--
Adam Olsen
SendOutCards.com
http://www.vimtips.org
http://last.fm/user/synic
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users
= self.data.get(name, None)
if code: return code
I'm not sure if that's the correct way to go about it, but it's working for now.
--
Adam Olsen
SendOutCards.com
http://www.vimtips.org
http://last.fm/user/synic
--~--~-~--~~~---~--~~
You received thi
this:
urlpatterns = patterns('sendoutcards.retail.views',
(r'^register/$', forms.RegistrationWizard()),
)
My FormWizard, two Forms, and the templates involved are here:
http://dpaste.com/hold/80601/
What am I doing wrong?
--
Adam Olsen
SendOutCards.com
http://www.vimtips.org
On Thu, Jul 30, 2009 at 6:21 PM, Malcolm
Tredinnick wrote:
> I've written a couple of solutions for this over the years. Here's a
> summary of some of them:
>
> http://www.pointy-stick.com/blog/2009/03/10/using-djangos-aggregation-features/
>
That did it, tha
list can be of variable length. How can I write a query that
will return a list of Card objects that match ALL (not any) of the
words? Is there a way to do it in a line or two without traversing
all of the card objects?
--
Adam Olsen
http://www.vimtips
the
> queryset and caches it on the
> model and always use that instead of teh default manager, that way when you
> cache the obj if it has a local cache it will be stored.
Ok, that's what I'll do. Thanks!
--
Adam Olsen
SendOutCards.com
http://www.vimt
Is there a way to do this easily, or should I just cache the parameters
manually?
--
Adam Olsen
SendOutCards.com
http://www.vimtips.org
http://last.fm/user/synic
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"D
On Tue, May 19, 2009 at 11:12 PM, Russell Keith-Magee
wrote:
> You're looking for a non-symmetrical m2m relation:
>
> http://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.models.ManyToManyField.symmetrical
>
Exactly what I was looking for, thanks!
--
save()
>>> car.related.add(automobile)
>>> car.related.all()
[]
>>> automobile.related.all()
[]
How do I make it so that if I add a relation of 'automobile' to 'car',
it doesn't automatically add a reverse relation like that?
--
Adam Olsen
http:
proper syntax,
it doesn't save the ManyToMany relationship.
--
Adam Olsen
SendOutCards.com
http://www.vimtips.org
http://last.fm/user/synic
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users"
there a way to make this work?
--
Adam Olsen
SendOutCards.com
http://www.vimtips.org
http://last.fm/user/synic
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, s
someones come up with a better looking method. A better icon?
Also, the template override is kind of ugly, see:
http://rafb.net/p/qtVGDI52.html
--
Adam Olsen
SendOutCards.com
http://www.vimtips.org
http://last.fm/user/synic
--~--~-~--~~~---~--~~
You received this mess
Sometimes I want to give people access to a report in the admin
section, and I'd like it to fit in and look well with the rest of the
models in the associated application.
Look at this image, you'll see what I mean:
http://www.exaile.org/report.png
That view button is just some "search" icon I
16 matches
Mail list logo