> As the contributing docs (which we recommend everybody read) state[1]:
>
> "Don't post to django-developers just to announce that you have filed
> a bug report. All the tickets are mailed to another list
> (django-updates), which is tracked by developers and triagers, so we
> see them as they
On Fri, Dec 5, 2008 at 10:55 PM, UloPe <[EMAIL PROTECTED]> wrote:
> I created a ticket for this and added a patch which adds this
> fuctionality:
> http://code.djangoproject.com/ticket/9764
I have created a reply to your email pointing out that anyone who's
interested is likely already
Currently EmailField and URLField don't accept values that contain
IDNs.
I created a ticket for this and added a patch which adds this
fuctionality:
http://code.djangoproject.com/ticket/9764
--~--~-~--~~~---~--~~
You received this message because you are
On Sat, Dec 6, 2008 at 3:16 AM, mrts <[EMAIL PROTECTED]> wrote:
>
> On Aug 11, 9:11 pm, Guido van Rossum <[EMAIL PROTECTED]> wrote:
>> I'd write more but I'll first wait for responses, file some tickets,
>> and think about what else Django could do to improve its cooperation
>> with App Engine...
Here's some code we use at Disqus.
def model_bitfield_handler(attr_name, bit_number):
mask = 2**bit_number
def _bit_handler(self, new_val=None):
if new_val is not None:
old_val = (getattr(self, attr_name, 0) or 0)
if new_val:
setattr(self,
@ Carl:
You can add new syntax for the methods by doing something like this (And
maybe there is a better way to do this, still pretty new to Python)
from django.db.backends.mysql.base import DatabaseWrapper
DatabaseWrapper.operators['is'] = '& %s'
from django.db.models.sql import constants
On 5 Dec 2008, at 19:17, "Eric Holscher" <[EMAIL PROTECTED]>
wrote:
> Check out http://twitter.com/DjangoTracker
>
Thanks Eric!
I never knew that existed!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django
Check out http://twitter.com/DjangoTracker
Eric
On Fri, Dec 5, 2008 at 1:02 PM, David Reynolds
<[EMAIL PROTECTED]>wrote:
>
> Hi,
>
> Since a lot of Djangonauts and Django Developers are using twitter,
> would anyone find it useful to get svn commit messages on twitter?
>
> There seem to be a
Hi,
Since a lot of Djangonauts and Django Developers are using twitter,
would anyone find it useful to get svn commit messages on twitter?
There seem to be a drop in svn hooks script called twitvn [0] that can
be used.
I've seen other people following the Wordpress [1] one and thought it
On Aug 11, 9:11 pm, Guido van Rossum <[EMAIL PROTECTED]> wrote:
> I'd write more but I'll first wait for responses, file some tickets,
> and think about what else Django could do to improve its cooperation
> with App Engine... because Django is App Engine's favorite framework!
Shouldn't easier
It should be possible to do this entirely external to Django. The one
thing I would suggest is not to require the user to define the value
for each option, handle that internally. Have some sort of class to
encapsulate the public portion of that.
Alex
On Dec 5, 10:53 am, "Mike Axiak" <[EMAIL
I've written and am using a BitFlagsField, but hadn't yet shared it
since I haven't been able to get the ORM lookup stuff working the way
I want it. I've pasted my code-in-progress at dpaste:
http://dpaste.com/hold/96435/
The current code includes a model BitFlagsField, a form
I seem to be missing something. Why is it that you cannot just write a
BitMaskField yourself outside of Django?
I thought that it might have been that we don't have __any and __all lookup
types, but it seems you can override get_db_prep_lookup in a field, so
that's not an issue.
And if there do
Unfortunately, Malcolm has shot this down in the past as something
that would be included in Django:
http://groups.google.com/group/django-developers/browse_thread/thread/4cc529b95c9efe20/439e90ed09cbcf2e
Theoretically, you can do this with a Q object, although I have not
tried since Django
I would use this. The one thing I don't see covered in your example is
setting flags. I would look at allowing a list or tuple of integers.
Using your example:
p = Person(name='John Doe', flags=[PeopleFlags.Male,
PeopleFlags.Employed])
- Justin
On Dec 4, 5:16 pm, "Craig Kimerer" <[EMAIL
15 matches
Mail list logo