SPECIAL BONUS FOR MY DOWNLINE MEMBERS...
Just join My Downline Network at...
http://partners2.com/p19/tr.php?id=GG01
and..
I will give you a Special Investment Account
Funded with $50.00 that grows every week.
Here how the Account is doing...
Started 01/26/07$ 50.00
01/
SPECIAL BONUS FOR MY DOWNLINE MEMBERS...
Just join My Downline Network at...
http://partners2.com/p19/tr.php?id=GG01
and..
I will give you a Special Investment Account
Funded with $50.00 that grows every week.
Here how the Account is doing...
Started 01/26/07$ 50.00
01
[EMAIL PROTECTED] wrote:
> If I have a model with something like
>
> class A (models.model):
> parent = meta.ForeignKey('self', blank=True, null=True,
> related_name='child')
>
> Is it possible to do a select for some results in A along with a count
> of all their children?
class A(models.
Hello all!
I'm using initial sql data to create some triggers in MySQL. This
works fine until I use multiple statements in a trigger. MySQL makes
it necessary to change the statement delimiter, because multiple
trigger statements must be separated by a semicolon. The problem is,
that django separ
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Paul Rauch schrieb:
> TypeError at /test/polls/
> a2b_base64() argument 1 must be string or read-only character buffer,
> not array.array
>
>>> I use openSuse10.2 x86_64
>>>
>>> in order to repeat it I just have to activate the bui
hey everyone,
Im our pages we would love to keep a list of "most recent" or perhaps
"most incoming in the last 7 days" referrers for quite a few pages...
I.e. something like:
"in the last 7 days your blog/item/whatever has been visited from:
7 x http://somewebsite.com
5 x http://someotherwebs
On 3/17/07, Paul Rauch <[EMAIL PROTECTED]> wrote:
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Paul Rauch schrieb:
> > TypeError at /test/polls/
> > a2b_base64() argument 1 must be string or read-only character buffer,
> > not array.array
> >
> >>> I use openSuse10.2
I recently began a new project to implement (as much as possible) pure
REST within Django in a way that fits with Django's approach to Web
development:
django-restful-model-views
http://code.google.com/p/django-restful-model-views
It still needs a lot of work, but my ultimate goal is to only req
SPECIAL BONUS FOR MY DOWNLINE MEMBERS...
Just join My Downline Network its FREE.
I sure hope you do this because it will help
me put my grandaughter in a good Christian
School. She is 7 yrs old and not doing good
in a public school. I have to save her.
I just need 35 people who will take the
t
On Sat, 2007-03-17 at 06:49 -0700, Indy wrote:
> Hello all!
>
> I'm using initial sql data to create some triggers in MySQL. This
> works fine until I use multiple statements in a trigger. MySQL makes
> it necessary to change the statement delimiter, because multiple
> trigger statements must be
On Sat, 2007-03-17 at 15:17 +0100, Bram - Smartelectronix wrote:
> hey everyone,
>
>
> Im our pages we would love to keep a list of "most recent" or perhaps
> "most incoming in the last 7 days" referrers for quite a few pages...
> I.e. something like:
>
> "in the last 7 days your blog/item/wh
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
>> since there seems no well-working fix, I now changed to postgresql.
>> Now I built a django and a psycopg2 rpm for suse :)
>> Maybe I'll release those to public, if they work good and if django
>> keeps being nice to me :D
>>
>
> Good to hear you
Hello, does someone know how can I configure eclipse with pydev
installed to debug django apps.
I just need to watch some variables, dictionaries...
Thank you.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django
Wouldn't that mean hitting the database an extra time for each
instance of A? What I'd like to do is at the same time as I select the
items from A, also select a count of children for each item.
Does that make sense?
-Dougal
On Mar 17, 11:08 am, Bram - Smartelectronix <[EMAIL PROTECTED]>
wrote:
On Sat, 2007-03-17 at 14:53 +, [EMAIL PROTECTED] wrote:
> I recently began a new project to implement (as much as possible) pure
> REST within Django in a way that fits with Django's approach to Web
> development:
>
> django-restful-model-views
> http://code.google.com/p/django-restful-model-
On Sat, 2007-03-17 at 15:34 +, [EMAIL PROTECTED] wrote:
> Wouldn't that mean hitting the database an extra time for each
> instance of A? What I'd like to do is at the same time as I select the
> items from A, also select a count of children for each item.
>
> Does that make sense?
If you wa
[EMAIL PROTECTED] wrote:
> If I have a model with something like
>
> class A (models.model):
> parent = meta.ForeignKey('self', blank=True, null=True,
> related_name='child')
>
> Is it possible to do a select for some results in A along with a count
> of all their children?
>
> -Dougal
Yo
Thanks a lot, guys. I'll probably have some more questions once I try
this out, but thanks so much!
-Dougal
On Mar 17, 2:45 pm, Jonathan Buchanan <[EMAIL PROTECTED]>
wrote:
> [EMAIL PROTECTED] wrote:
> > If I have a model with something like
>
> > class A (models.model):
> > parent = meta.F
in your project preferences, add the django directory to your python
path.
also, check out "pydev extras." its an additional plugin with great
bonuses like code-ahead and more
matt
On Mar 17, 2007, at 10:32 AM, Grupo Django wrote:
>
>
> Hello, does someone know how can I configure ecl
On 3/17/07, Grupo Django <[EMAIL PROTECTED]> wrote:
>
>
> Hello, does someone know how can I configure eclipse with pydev
> installed to debug django apps.
> I just need to watch some variables, dictionaries...
> Thank you.
>
I'm not sure what you're asking for exactly. Assuming you have eclipse
Malcolm,
Thank you for your thoughtful reply, although I think its going to
take me several re-readings to get a handle on it all. If I have the
gist of it, it sounds like you're saying that a good design based on a
thorough understanding of REST and a few conventions or best practices
using the
Does anyone know how the SESSION_EXPIRE_AT_BROWSER_CLOSE works? In
other words, how does the Django session know the browser closed? It
seems like this mechanism could be used to accomplish the above.
Chuck
--~--~-~--~~~---~--~~
You received this message because
On Mar 15, 8:33 pm, Atilla <[EMAIL PROTECTED]> wrote:
> What I can think of the top of my head is writing a middleware that
> replaces all your internal URLs in the output, appending to them the
> session ID variable.
Note that your session IDs will be sent in the referrer header and can
be seen
Ok, I knew that, but I don't know how to check the value of a var
while running the app.
Thank you anyway.
On 17 mar, 19:04, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On 3/17/07, Grupo Django <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hello, does someone know how can I configure eclipse with pydev
>
On Sat, 2007-03-17 at 18:05 +, [EMAIL PROTECTED] wrote:
> Malcolm,
>
> Thank you for your thoughtful reply, although I think its going to
> take me several re-readings to get a handle on it all. If I have the
> gist of it, it sounds like you're saying that a good design based on a
> thorough
On Sat, 2007-03-17 at 11:21 -0700, cwurld wrote:
> Does anyone know how the SESSION_EXPIRE_AT_BROWSER_CLOSE works? In
> other words, how does the Django session know the browser closed? It
> seems like this mechanism could be used to accomplish the above.
It's an HTTP cookie feature: if you don't
Thanks for the encouragement. In retrospect, I probably was being too
haphazard with terminology in my email, and elsewhere. I'll definitely
think about the examples you gave and keep trying to make sense of
REST.
On Mar 17, 2:39 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Sat, 2007-03
I'm wondering what is the better and why.
Imagine I have 4 types of artikels. All need to be represented on a
front page. Each type comes on a distinct place.
Would you
A. use the view type1 = article.objects.filter(...)
type2 = article.objects.filter(...)
idem
idem
OR
On Mar 17, 2:47 pm, enquest <[EMAIL PROTECTED]> wrote:
> Would you
> A. use the view type1 = article.objects.filter(...)
> type2 = article.objects.filter(...)
> idem
> idem
>
> OR
> B. use the template and use in the template IF condition
I think most people here will advi
On Mar 16, 8:17 pm, "johnny" <[EMAIL PROTECTED]> wrote:
> >self.data.get('p_id')
>
> I tried it, getting error:
> Exception Type: AttributeError
> Exception Value: 'str' object has no attribute 'get'
You are calling this as a method from SalesForm?
Perhaps you'd better post a minimal
Ok, I got it, sorry for the not-very-intelligent question.
On 17 mar, 19:35, "Grupo Django" <[EMAIL PROTECTED]> wrote:
> Ok, I knew that, but I don't know how to check the value of a var
> while running the app.
> Thank you anyway.
>
> On 17 mar, 19:04, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
Atilla wrote:
> Weeel, there is the newforms-admin branch. I haven't tried it myself
> though, I've just seen people om the IRC channel discuss it. Judging
> from the roadmap, it should be pretty usable.
>
> http://code.djangoproject.com/wiki/NewformsAdminBranch
Awesome, thanks for the pointer :
Hi,
I'm playing around with newforms and I like to give the labels of my
required fields a special styling using CSS. For that I need a class
attribute in every label. But until now I wasn't able to figure out
how to do it.
Setting a field as required doesn't give me a 'required' class or
PUT v POST
I've been using REST APIs for a while. My flash developers have some
issues with calling a PUT on older codebases. I have to break
religion a bit and allow POST to work as a PUT to keep the flash
simple. It is really easy to call POST/GET from actionscript 2.0
I'm looking forward t
hi:
I need to know if i am making a mistake again. I spent last 4 months
learning ruby and ruby on rails. All these seems like wasted as i find
django doing much of the stuff that i need to do out of the box i.e.
tested in the django svn. The biggest problem I find with rails is
lack of half ass
In the input field user enters date and time, together like this
format: 03/17/2007 05:11 PM
If I do enter it like this, I get a validation error as follows:
03/17/2007 05:11 PM *** Enter a valid date/time.
I have following code in my forms.py and tempalte add.html:
forms.py
start_at = for
You are calling this as a method from SalesForm?
Yes, I am calling self.data.get('p_id') inside SalesForm.
As [EMAIL PROTECTED] mentioned above, I popped the primary key before
passing to the base form class, I got it to work so far. But if I add
def clean, some reason, it doesn't validate prope
Which database? On MySQL you can probably get away with just SELECT
privileges, SQLite doesn't do it, and I have no idea about PostGres.
--Simon
On Mar 16, 2:32 am, "GvaderTh" <[EMAIL PROTECTED]> wrote:
> Hi all. What permission I must give to user that he can be albe to
> watch content of some
My second favorite talk at PyCon 2007 (excepting only
the first day's keynote) was Titus Brown's discussion and
demo on testing. He demonstrated twill, nose,
wsgi_intercept, pinocchio, and scotch -- on both
TurboGears and Django frameworks.
He's now put together all the source code and demos
fro
On 3/17/07, rubdabadub <[EMAIL PROTECTED]> wrote:
> 1. How about deployment? Capistrano works with django i mean you can
> make so called recipe but is there anything like that in python
> world..
I don't know of a direct analogue off the top of my head, but at work
we've actually been using Capi
On 3/17/07, James Bennett <[EMAIL PROTECTED]> wrote:
> There's also a list of more general resources, including third-party
> documentation and applications with code you can look at:
>
Pasted the wrong link there, should have been
http://code.djangoproject.com/wiki/DjangoResources
--
"Bureauc
So I'm new to Django and I'm having a hard time with the dbi syntax or
something. I'm trying to figure out how exactly the select_related()
method works - My understanding is that by using select_related,
django will go ahead and follow foreign keys as far as it can.
Unfortunately, I'm not actual
http://video.teenwag.com/showvideo/918
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send em
> For example: using python manage.py shell
> -
> from myproject.myapp.models import *
> req = Request.select_related().get(request_id = '000N07')
> req.request_id
> outputs -> '000N07'
> req.country
>
Excellent!! - req.country.subregion.subregion_name works like a charm
- thank you so much!
I figured it was probably just me not understanding the correct way to
ask django for the info. I'm so used to php and raw sql that there's
a bit of a learning curve.
On Mar 17, 11:36 pm, "RajeshD" <[EMAI
45 matches
Mail list logo