Hi Wiz.
at the moment the 'ctfield' field type expects to be have a table with
a content_type and object_id
similar to the comment model here:
http://svn.zilbo.com/svn/django/magic-removal/common/comment/models.py
and TagObject table here:
http://svn.zilbo.com/svn/django/magic-removal/common/tag/m
Hi.
A while back I submitted a patch to re-enable the 'getContentType()'
functionality which was in 0.91
(and removed when content types got moved into contrib)
the solution adds a cached copy of the ContentType record onto a
model IF you have loaded the contenttype app into your settings.
I'm just thinking out loud here, but I was wondering what the others
developers thought of having a event/hook
which would capture the URL request just after it has been resolved.
(and possibly just after it is executed)
so the input of the function would be something like
request, view_func
doh.. process_view is what I am after..sorry for the noise
On 20/05/2006, at 11:37 AM, Ian Holsman wrote:
>
> I'm just thinking out loud here, but I was wondering what the others
> developers thought of having a event/hook
> which would capture the URL request just after it
hi.
I've got a situation where I only have a single process available to
process requests, and would like to switch SITE_ID's based on the
HTTP_HOST
header.
I can make it so that the settings.SITE_ID is changed, but that
doesn't seem to affect everything.. specifically it seems that the
Hi Chris.
why not post your idea onto the list.
it's much easier to critique something than wave hands around.
you might also want to set up a wiki page on say http://
code.djangoproject.com/wiki/RowLevelPermissions or something
I've my own thoughts, but I'd rather see what you have than dicta
Hi Chris... great write up.
my only thought was: why do you need multiple tables to store the row
level permissions?
Luke has recently submitted a 'GenericForeignKey' in
http://files.lukeplant.fastmail.fm/public/python/lp_tagging_app_0.1.zip
which may be of interest. it would allow you to sto
6, at 9:04 AM, Ian Holsman wrote:
>
> Hi Chris... great write up.
>
> my only thought was: why do you need multiple tables to store the row
> level permissions?
>
> Luke has recently submitted a 'GenericForeignKey' in
> http://files.lukeplant.fastmail.fm/public/pyt
Hi Shaun.
I've done something similar to this using the dispatcher.
in http://svn.zyons.python-hosting.com/trunk/zilbo/common/forum/
models.py (at the VERY bottom)
I use the signals to update summary tables .. I'm using pre_save..
but you should be able to get what you need with the post_sav
On 30/05/2006, at 4:43 PM, Shaun Cutts wrote:
>
> Ian,
>
> Thanks. Your code looks concise, but a bit mysterious (maybe it's
> the time
> of night). Is this a way to get extra events triggered in a db
> transaction,
> or is it just inside a single web request?
>
just inside a single web requ
More likely he probably doesn't think/realise that people think of
him that way.
(or it's a language issue).. anyway..
on another topic.. has anyone tried tagthe.net ? it looks pretty cool.
On 04/06/2006, at 7:06 PM, Kenneth Gonsalves wrote:
>
>
> On 04-Jun-06, at 1:48 PM, Nagy Károly wrote:
It sounds great.any chance of getting a insert_or_replace function as well?to do something similar to mysql 5's INSERT INTO table (a,b,c) VALUES (1,2,3) ON DUPLICATE KEY UPDATE c=c+1;http://dev.mysql.com/doc/refman/5.0/en/insert-on-duplicate.html(which is the other common pattern I'm seeing in my
On 06/06/2006, at 4:02 PM, Adrian Holovaty wrote:
>
> On 6/6/06, Ian Holsman <[EMAIL PROTECTED]> wrote:
>> any chance of getting a insert_or_replace function as well?
>>
>> to do something similar to mysql 5's
>>
>> INSERT INTO table (a,b,c) VA
my 2c's
they should fail silently in production mode, and log an error in the
error log. (never show an error page to your user if you can help it)
an alternative approach would be to generate a 'comment' in the
template which would work OK in most instances.
--I
On 10/06/2006, at 4:39 PM,
Hi mh.
I had a similar issue, and my work around was to put the category
into the defaults section (as well)
e2, created = Foo.objects.get_or_create(name=name, category=c,
defaults={ display_name=.., category=c } )
but you should probably raise a bug for this.
regards
Ian.
On 13/06/2006, a
t_or_create(name=name, category=c,
> display_name=dname, description=desc, homepage=home, logo_name="",
> small_logo_name="",defaults={"category":c})
>
> fails with the same error
>
> I'll file a bug
>
> On 6/12/06, Ian Holsman <[EMAIL
hi.
I just noticed that the last email I got from django-updates was on
june 12.
has something been turned off ?
regards
Ian
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to th
I created a 'history_view' which is set up to show X posts from the
date/time passed. which is slightly different to the generic date
based view which shows
you the posts on that day.
you can see it in action here:
http://economy-chat.com/aggy/2006/05/23/23:59:59/
shows me the posts starting
I have to agree with these comments.
get the crap out at the 'input'/validation level.. once it has the
database/rendering stage it is too late.
while this submission isn't perfect, this is what I did to protect
against my own laziness on externally facing apps.
http://svn.zyons.python-hosti
Hi.
I working on integrating the new GenericRelation field that was
recently committed and making into into a 'tag field' where a user
would just enter
a list of strings into a single text field.
all is good on the display side, I've got my 'TagField' populating
the input text field, and i
:53 PM, Max Battcher wrote:
>
> Ian Holsman wrote:
>> Hi.
>>
>> I working on integrating the new GenericRelation field that was
>> recently committed and making into into a 'tag field' where a user
>> would just enter
>> a list of strings into a
thanks Chris .. I'll give it a shot tonight..
I'm about to go to bed myself ;-)
regards
Ian
On 23/06/2006, at 11:07 PM, Chris L wrote:
>
>> From looking at the code, not sure if you have already thought along
> these lines, but my thoughts are...
>
> You might want to try overriding html2python
Jan.
a CLA protects from people changing their minds as well, and in some
cases actually
assets that the person assigning the copyright over is the actual owner.
from my point of view it should be weighed up as follows:
cons of having people sign a CLA:
- about 20 minutes if they are an indivi
nope.. it never did.
I just use the RSS feed instead.
On 08/07/2006, at 6:38 AM, Deryck Hodge wrote:
>
> On 6/19/06, Ian Holsman <[EMAIL PROTECTED]> wrote:
>>
>> hi.
>> I just noticed that the last email I got from django-updates was on
>> june 12.
>&g
If you take a look at http://zilbo.com/perfmon/log_detail.html you'll
notice that it takes ~140 SQL queries to render the page
in the database query section, you'll notice that 30 of these SQL
statements were identical (the same query to the content-type table)
and a couple more to the site t
tentType.
this of course would mean you would need to 'bounce' your webserver
if/when you change records in models which use this class.
but that shouldn't be too often.
is this totally out of line?
or should I just be using the 'regular' cache here.
On 10/07/200
thx.
On 11/07/2006, at 12:13 PM, Adrian Holovaty wrote:
>
> On 7/10/06, Ian Holsman <[EMAIL PROTECTED]> wrote:
>> class SmallQuerySet(QuerySet):
>> cache={}
>> def get(self, *args, **kwargs):
>> cachekey = "%s:%s:%s&qu
that would work too
;-)
(always looking for the complex way of doing things)
On 11/07/2006, at 12:41 PM, Jacob Kaplan-Moss wrote:
>
> On Jul 10, 2006, at 8:59 PM, Ian Holsman wrote:
>> this is what I was thinking of
>
> I'm all for the idea if it uses django.core.cache (
On 11/07/2006, at 12:22 PM, Malcolm Tredinnick wrote:
>>
>> is this totally out of line?
>> or should I just be using the 'regular' cache here.
>
> Tricky implementation ("tricky" != "bad"), but it looks like it should
> work more or less. Don't you need to override every public method of
> Quer
On 11/07/2006, at 12:22 PM, Malcolm Tredinnick wrote:
>
> Tricky implementation ("tricky" != "bad"), but it looks like it should
> work more or less. Don't you need to override every public method of
> QuerySet, not just get() (e.g. filter(), order_by()...)?
hmm.
we could use self._get_sql_clau
Hi.
I was wondering if anyone else has tried to integrate openID with
django's user system.
I was wondering how you store the authenticated URL into the auth
system.
does the new multi-auth backend help here? I'm trying to let people
with openID accounts
to sign-in and use my system along
On 14/07/2006, at 4:18 PM, Jonathan Daugherty wrote:
>
> # I was wondering if anyone else has tried to integrate openID with
> # django's user system.
> #
> # I was wondering how you store the authenticated URL into the auth
> # system.
>
> I've used OpenID with Django. I created a table with a
This portability by the lowest common denominator is a screwed up way
of thinking (IMHO).
I mean.. how many people write apps and suddenly switch backends half
way through development?
Having them in the core with a big warning saying that they are mysql
only would be ok I think. (similar
e Web. Founded by industry pioneerMitch Kapor (Lotus, EFF, Mozilla, Open Source Applications Foundation,Second Life), it combines approaches from search engines, socialbookmarking services, and Wikipedia-style content collaboration.ase send your resume to [EMAIL PROTECTED]. --Ian Holsman[EMAIL PROT
t;The web framework for perfectionists with deadlines. --Ian Holsman[EMAIL PROTECTED]join http://gyspsyjobs.com the marketplace for django developers
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Django deve
On 24/07/2006, at 11:34 AM, Adrian Holovaty wrote:On 7/23/06, Ian Holsman <[EMAIL PROTECTED]> wrote: this patch doesn't implement 'cron' or anything like that.it just makes it easier to define jobs which the application needs run on aregular basis If your goal is to cut cron
I wasn't suggesting a queuing/scheduling/process flow system Andy.but I do agree it would be a useful addition, and plan to add it to zyons when I get some time.(for moderation-type things)--IanOn 25/07/2006, at 11:28 PM, James Bennett wrote:On 7/25/06, Andy Robinson <[EMAIL PROTECTED]> wrote: I am
field] = nowyes I know I can write my own views, but I'm just trying to understand this limitation.regardsIan --Ian Holsman[EMAIL PROTECTED]http://VC-chat.com It's what the VC's talk about
--~--~-~--~~~---~--~~
You received this message because you
On 26/07/2006, at 11:23 PM, Jay Parlar wrote: Adrian's justification was that the system was built for "archival"purposes. I brought this up earlier in Django-users,http://groups.google.com/group/django-users/browse_thread/thread/5b5d4fa5ad40f7bf/95de22e1e42b5d21A thread you seem to have participat
i would add a flag to the views parameters.that way existing code which relies on the future stuff not being viewable won't be broken.you should also have a look at the history_view view I wrote (http://svn.zyons.python-hosting.com/trunk/zilbo/common/utils/views/filter.py)which does date-based view
I for one would like a 0.95 release.why?I think 0.95 is stable enough *as is*. sure it's not perfect, (thats what 0.96 is for ;-) but I would like people to stop using 0.91 ASAP.and personally I think trying to get a monthly release, or a release just before something major happens is a good idea.
On 28/07/2006, at 7:56 AM, Tyson Tate wrote:On 7/27/06, Ian Holsman <[EMAIL PROTECTED]> wrote: I for one would like a 0.95 release. ...Earlier today:On 7/27/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:... We're working on the .95 release as I typethis, though.Adrianyeah.. I
ntrib apps, or other things but cant run Subversion or Trac on their host. Google to the rescue, as always:http://code.google.comHopefully this can be useful to many of you.-Tyson --Ian Holsman[EMAIL PROTECTED]http://VC-chat.com It's what the VC
Hi Neilen.I think this would be a good idea, as I frequently have a M2M type relationship with one or two fields on that field.but personally I just use foreign keys on the middle table, as I think it makes the code more readable, and allows you to be moreflexible with it. (for example a M2M with a
Hi Doug.you have to be careful when striping out whitespace, as sometimes it holds "value"stuff like _javascript_ and 'pre' tags shouldn't have whitespace stripped as you might change the look/behavior of the page.regardsIanOn 01/08/2006, at 1:43 AM, Doug Van Horn wrote:The intent is primarily to r
at this would make a nice contrib app in it's own right, but I don't want to go to a lot of effort ifthe core committers are not interested in this functionality in django.(it will probably end up being stuck in the zyons codebase in that case)regardsIan.--Ian Holsman[EMAIL PROTECTED]jo
On 03/08/2006, at 11:53 PM, Adrian Holovaty wrote:On 8/3/06, Ian Holsman <[EMAIL PROTECTED]> wrote: I've hacked the admin change list view and made it into a genericfilter/listing view I'm working on something similar at the moment, which indeed beavailable in "contrib.&quo
It think the challenge might be if you want to use the views and manipulators component of django.you might be able to write your financial app so that you can have a QT and web front end with the same code.cheersIan.On 05/08/2006, at 7:12 PM, Malcolm Tredinnick wrote:On Sat, 2006-08-05 at 01:18 -0
The other benefit of what limodou proposes is that is makes it really easy to generate anothersecret key when it is required.for example I've got 4-5 sites using basically the same settings file. when I want to create anotherI usually just copy the settings file, and alter the cookie name and secre
he first/second one it seems to fill the '{{object}}' variable with the previous' requests results.anyone have any ideas? or seen similar things?it looks like something is corrupted.. regardsIan--Ian Holsman[EMAIL PROTECTED]http://zyons.com/ build a Community with Django
--~--~
On 07/08/2006, at 9:49 AM, Malcolm Tredinnick wrote:Hey Ian,On Mon, 2006-08-07 at 09:28 +1000, Ian Holsman wrote: this problem has me stumped.. and i have no idea why this ishappening. [...] for some reason every once and a while it thinks basepath is anothercompletly different (but valid) URLeg
It would be nice mechanism to fully qualify a particular tag.so for example if I had a 'calendar' tag, and hugo also had one, and I needed to use another templatetag of his in the same file I could specify{% ian.calendar %} instead of {% calendar %} so the template would know which one I was refer
just as a follow up to this, after debugging it with Malcom,we discovered we weren't copy()'ing the extra context parameter when we passed it into the request.so the previous request was modifying it and we then passed it back into the new one.On 07/08/2006, at 9:57 AM, Ian Holsman wrot
from my understanding having YUI in this section is very localized, and would not affectyour choice of AJAX library to use within your applications.On 09/08/2006, at 9:05 PM, Chris Long wrote:Hi,I'm the developer working on the branch.A few things, hopefully to answer your concerns.1) The HTML and
an emergency plan ready to go the moment a security issue cropsup is one of those things that will really ease the mind of an"enterprise" flirting with the idea of going Django. It's also an areawhere Django can really shine compared
which uses it?Adrian-- Adrian Holovatyholovaty.com | djangoproject.com --Ian Holsman[EMAIL PROTECTED]http://med-chatter.com/ it's about the medicine
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Django deve
at you wish to be added?
>
> Thanks,
>
> Chris
>
>
> >
--
Ian Holsman
[EMAIL PROTECTED]
join http://gypsyjobs.com the marketplace for django developers
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
;t know when you are failing.
> --Simon
>
--Ian
--
Ian Holsman
[EMAIL PROTECTED]
http://personalinjuryfocus.com/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
u wrote:
>
> http://www.cmlenz.net/blog/2006/08/the_python_web_.html
>
> Some points I think are reasonable, for example: django configuration
>
> --
> I like python!
> My Blog: http://www.donews.net/limodou
> My Django Site: http://www.djangocn.org
> NewEdit Mailli
e index site
> should look like a portal, and it should be visible in django official
> site.
>
> --
> I like python!
> My Blog: http://www.donews.net/limodou
> UliPad Site: http://wiki.woodpecker.org.cn/moin/UliPad
> UliPad Maillist: http://groups.google.com/group/ulipad
>
On 24/08/2006, at 2:00 PM, limodou wrote:
>
> On 8/24/06, Ian Holsman <[EMAIL PROTECTED]> wrote:
>>
>> so Limodou.
>>
>> what's the next step.
>> have you got a prototype of it ? or a idea on how it will work?
>> I've got a old linux box
try:
> -u = urllib2.urlopen(field_data)
> +u = urllib2.urlopen(req)
> except ValueError:
> raise ValidationError, gettext("Invalid URL: %s") %
> field_data
> except urllib2.HTTPError, e:
--
Ian Holsman
[EMAIL PROTECTED]
join http://gypsyjobs.c
g around; one even
> (literally) copies the Django admin look and feel.
>
> --
> "May the forces of evil become confused on the way to your house."
> -- George Carlin
>
--
Ian Holsman
[EMAIL PROTECTED]
http://peopleintopoker.com/ -- where the poker people go
--~-
he fact that there's no space after
> "request.get_full_path(),". (Can you tell I'm anal?)
>
> Adrian
>
> --
> Adrian Holovaty
> holovaty.com | djangoproject.com
>
> >
--
Ian Holsman
[EMAIL PROTECTED]
http://garden-gossip.com/ -- what's in your garden
eyond the scope of the database. With an OODBMS there is no
> disconnect
> between the database model and the application model because the
> entities are just other objects in the system.
>
>
> http://www.kuro5hin.org/?op=displaystory;sid=2001/5/3/32853/11281
> http
x27;HTTP_ACCEPT_ENCODING': 'gzip',
> 'HTTP_FROM': 'googlebot(at)googlebot.com',
> 'HTTP_HOST': 'car-chatter.com',
>
> 'PATH_INFO': '/filter/',
> 'PATH_TRANSLATED': None,
> 'QUERY_STRING':
en I have seen that to the
> projects of
> google that license is not demanded to them althought it is advised
> http://code.google.com/soc/django/about.html
>
> Then:
>
> 1) Has more preference the contributors of Google summer code that the
> one independents?
> 2) Is
for python.
> http://www.eyedb.org/
>
I believe eyedb can do python via SWIG.
it's one of those things I keep meaning to learn when I get some
spare time.
>
--
Ian Holsman
[EMAIL PROTECTED]
join http://gypsyjobs.com the marketplace for django developers
--~--~-~--~~-
or even some custom form control?
>
> I think that the current way of defining form fields in a
> manipulator in
> Python works rather good...
>
> >
--
Ian Holsman
[EMAIL PROTECTED]
http://peopleintopoker.com/ -- where the poker people go
--~--~-~--~~~
rom the site their service options look
> excellent.
>
> Does anyone have any recommendations/tips?
>
> I have 2 sites I'd like to host, both DJango-based.
> A set of products close to that offered by Zettai would be ideal.
>
> Thanks
> Andrew
>
>
> >
-
but I could see how some might find it useful. Any other
> thoughts?
>
> Adrian
>
> --
> Adrian Holovaty
> holovaty.com | djangoproject.com
>
> >
--
Ian Holsman
[EMAIL PROTECTED]
http://economy-chat.com It's what the economists talk about
--~--~-~--~~~
without success. If anyone is interested in
freelancing in London, UK with good rates, let me know.
>
--
Ian Holsman
[EMAIL PROTECTED]
http://peopleintopoker.com/ -- where the poker people go
--~--~-~--~~~---~--~~
You received this message because you are
gt; Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGEiEA4dg3EDuiPUcRAuy2AJ9WOU+08NYSdyLVOPsxXDkBxm34bgCeKs3o
> M9g+RUty6mk1fEXGNwArC8o=
> =VWja
> -END PGP SIGNATURE-
>
> >
--
Ian Holsman
[EMAIL PROTECTED]
h
chanism, with overlapping keys that hold different data)
>>
>> I'm not a big fan of having my cache keys transparently changed. I
>> think as a point of philosophy Django shouldn't mess with things like
>> that.
>>
>> Besides, doing it yourself couldn
reason.
>
> Also, like Adrian I don't like the name as it is now. I think
> "Constants" is fine. "Config" might also work but seems less specific.
> Djata, perhaps?!
>
> -rob
>
>
> >
--
Ian Holsman
[EMAIL PROTECTED]
http://VC-chat.com It's
ution.
You need to evaluate how beneficial django's other features are over
it's competition.
The cost of supporting SQLserver might be very small compared to you
guys writing all
your code in .NET/C#, or purchasing a commercial alter
foobarmus wrote:
> I'm managing a programming team that's developing a web app in python.
> I'd like to be using Django but can't at the moment because one of the
> things we are doing is driving the application user into the database
> connection, so that we can implement access control at databa
Hi.
I've just downloaded the django code, and am experimenting with it.
Thanks for making the code to the django website available as SVN as
well.
I have two questions.
under what license is the djangoproject code under. Is it possible to
create a license file specifying that.
second question,
Hi.
one of the (minor) drawbacks I see with django is the copyright and
restriction of use of the code templates which come with django.
This makes it hard for people to bring up a quick prototype to the pointy-heads.
so in order to help out I'd like to contribute a BSD-licenced
template/design
just like the setlist function?
or is there some reason we should not be calling the setitem function?
regards
Ian
--
[EMAIL PROTECTED] -- ++61-3-9877-0909
If everything seems under control, you're not going fast enough. -
Mario Andretti
this makes the 'admin' app work.. the app-name changed from 'doc' to admin_doc.
cheers
Ian
Index: doc.py
===
--- doc.py (revision 966)
+++ doc.py (working copy)
@@ -19,11 +19,11 @@
def doc_index(request):
if not doc:
here is another alternative to the tagging issue:
http://svn.zilbo.com/svn/django/snippets/tag.py
Regards
Ian.
On 10/24/05, hugo <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> >This seems to indicate a need for a Django model mixins/plugins
> >mechanism. Completely off the top of my head, something like
(still a newbie on all this, so excuse me if this has been discussed
ad-nausieum beforehand)
Hi.
I've got a many to many table relationship... say
Tags <--> People
with the relationship defined on the 'people' model class.
all is fantastic when I want to edit a person and add tags to them,
th
I guess I'm a bit ho-hum about it.
why?
4G limit
single process
no replication
32 bit only
and a expensive upgrade path
if you were an oracle shop, or a ISV you could now offer a 'lite'
version of your application I'd be more excited I guess.. but for me,
I'd be looking for something a bit les
Just a comment on the templates.
wouldn't it be easier/another option for the template loader to just
load a different template based on language?
When i was investigating i18n issues for a similar project (a long
time ago) that is what we came up with, as asian was just too damn
hard to try and
I think you need to do both.
we can worry about the template stuff after your i18n stuff gets
merged in I think.
it solves 80% of the issues for most languages.
--I
On 11/3/05, hugo <[EMAIL PROTECTED]> wrote:
>
> >I must say I like Ian's proposal that the template_loader could load a
> >different
Hi Luke.
This is a really great idea.
I've just got a small nit with it.
by doing this you would disable/stop post's coming from via
javascript/ajax method.
it wouldn't be able to access the tokens required, or at the very
least it would require a form tag to be someone on the HTML page which
is
I was taking about case #2.
Cheers
Ian.
On 11/4/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Ian,
>
> > by doing this you would disable/stop post's coming from via
> > javascript/ajax method.
> > it wouldn't be able to access the tokens required, or at the very
> > least it would require
Hi.
I would like to write a function on my 'tag' table which will return
the keywords that each contain a set of tags. (where keywords and tags
in a many 2 many relationship).
i don't have a problem coding the intersection function, but I do have
a problem getting the function to live in the rig
Hi Kevin.
If http://code.djangoproject.com/ticket/746 goes into the core, you
will be able to do what you want by subclassing the ForeignKey class
and having it add a custom function called get_primary_photos()
function added to Album when your custom class is used.
well.. that is the aim of the
personally I'd like to see the user-registration app get
documented/released as well.
what is the state of this?
On 11/9/05, Eugene Lazutkin <[EMAIL PROTECTED]> wrote:
>
> Inline.
>
> "Adrian Holovaty" <[EMAIL PROTECTED]> wrote
> in message
> news:[EMAIL PROTECTED]
>
> On 11/8/05, Jacob Kaplan-Mos
What is the effect of not having the redirect application installed.
also.. it sounds like we need to be able to install a set of apps at one time.
eg.
admin, comments, redirects.
is it possible to add a command to django-admin to install the common
applications (and configure default URLs etc)
is (1) the 'middleware' ?
On 11/14/05, Simon Willison <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I'm presenting Django to a crowd of 200+ people on Thursday as part
> of the London Web Developer Frameworks evening ( http://
> blog.unixdaemon.net/cgi-bin/blosxom.pl/2005/10/27 ). I'm putting the
>
2. CSRF protection
regards
Ian
On 11/14/05, Simon Willison <[EMAIL PROTECTED]> wrote:
>
>
> On 13 Nov 2005, at 22:50, Ian Holsman wrote:
>
> > is (1) the 'middleware' ?
>
> Not really, because the term middleware already means something else
>
On 11/14/05, Simon Willison <[EMAIL PROTECTED]> wrote:
> For me "Ajax support" really is pure marketing fluff - as far as I'm
> concerned EVERY web framework supports Ajax unless it does something
> truly moronic like refuse to let you output documents that don't have
> the standard header/footer
I was also thinking of something a whole lot more simplistic as well.
javascript-enabling some of the validators.
for example.. we have a URL field.. it would be nice if the javascript
did the same regex match that the server side did, so that people
wouldn't have to submit it in the first place,
you might want to implement something similar to what apache2 did with
their hooks.
it sounds pretty complex, but in reality you hardly need to use all the options.
1. define when the middle ware will be run .. FIRST, MIDDLE, or LAST.
2. define which middleware has to run before and which has to
l someone answers it. (which isn't in django)
there is a draft document here
http://httpd.apache.org/docs/2.2/developer/hooks.html and
http://httpd.apache.org/docs/2.2/developer/hooks.html.
regards
Ian
On 11/15/05, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote:
>
> On Nov 14, 2005, a
this ajax conversation is getting long, and my apolagies for continuing it.
has anyone seen/heard of JSDBI ?
http://scottyallen.com/code/jsdbi.js
it looks like it would produce a pretty easy to use way of getting the
data to/from the client.
--
[EMAIL PROTECTED] -- ++61-3-9877-0909
If ever
tion in place. That's why I think it should not be a
> default feature. But it is nice to have anyway.
>
> Thanks,
>
> Eugene
>
>
> "Ian Holsman" <[EMAIL PROTECTED]> wrote in
> message news:[EMAIL PROTECTED]
>
> this ajax conversation is getting
1 - 100 of 179 matches
Mail list logo