improvement for the front end

2022-03-16 Thread Jans Green
good day Djangueros!, this is a message for the most advanced in the language, it is very tedious to work with django when you need your web to be dynamic in the front end, having a lot of dependency on javascript, that's why you use djano restframework to divide django as back end and front en

Re: Improving django.setup() and app loading performance

2016-02-26 Thread Collin Green
Ugh. As a strong advocate of both django and zappa, I'd love it if we could keep the conversation on target without degenerating into stack attacks. If you don't want to weigh in, please feel no obligation to do so. I do agree that we could pare down the profile into more actionable sections. I

Ipython 0.11 + Custom Profiles

2011-10-10 Thread Chris Green
final was out, it's possible the API drifted along the way. -- Chris Green -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this gr

Re: assertFormSetError

2011-06-27 Thread Martin Green
Thank you for reviewing it. Cheers, Martin On Mon, Jun 27, 2011 at 2:29 PM, Russell Keith-Magee wrote: > On Mon, Jun 27, 2011 at 12:58 AM, Martin Green > wrote: >> The unittest client currently does not allow for the testing of >> non-formset errors.  I have made a ticket

assertFormSetError

2011-06-26 Thread Martin Green
The unittest client currently does not allow for the testing of non-formset errors. I have made a ticket for this https://code.djangoproject.com/ticket/11603, which now has an upto date patch for adding it into trunk. Could I check that: * this functionality is desired. * what version of django

Re: assertFormSetError

2011-06-26 Thread Martin Green
Documentation has now be changed assuming that it will be added to Django 1.4, after input from IRC channel. Martin On Sun, Jun 26, 2011 at 5:58 PM, Martin Green wrote: > The unittest client currently does not allow for the testing of > non-formset errors.  I have made a ticket for this &

Re: Documentation restructuring

2008-01-19 Thread Mark Green
On Tue, 2007-10-23 at 15:02 +0200, Nis Jørgensen wrote: > Kenneth Gonsalves skrev: > > one thing I would like to see is: table of contents available on all > > pages. Now I have to go to 'documentation' and click on dbiapi. Then, > > if I want to go to 'creating models' I go back to 'documen

Infinite redirect issue integrating django_cas / @permission_required

2007-12-19 Thread Chris Green
I've been working on Brian Beck's original django_cas module which is used for only authentication against Yale CAS (central authentication service). Django_cas relies on the contrib.auth backend for storing all existing user permissions. The django_cas plugin takes the url for /accounts/login/

Re: Bug #1443 / Dates prior to 1900 Potential Patch

2007-12-18 Thread Chris Green
On Dec 18, 4:07 pm, Justin Bronn <[EMAIL PROTECTED]> wrote: > I added your patch to the ticket. It's much easier to submit > attachments, etc. when you register: > > http://www.djangoproject.com/accounts/register/ Ah thanks; I got confused on code.djangoproject.com when I got an apache auth dial

Bug #1443 / Dates prior to 1900 Potential Patch

2007-12-18 Thread Chris Green
I ran into dates prior to 1900 being unsupported while ago and finally got around to working with it. I attempted to attach this to Bug #1443 but got rejected as potential spam. The patch is against today's SVN and the unittest suite works against the sqllite3 backend. Unfortunately, MySQL 4.x

Re: Django 1.0 features -- the definitive list

2007-11-30 Thread Mark Green
On Fri, 2007-11-30 at 00:33 -0600, Adrian Holovaty wrote: > (I've been saving this e-mail since the last sprint. Given that we're > sprinting again this weekend, I figured it was about time to get this > conversation started.) > > Let's get a definitive list of features we want in Django 1.0, and

Re: ticket #5986, reviews welcome

2007-11-28 Thread Mark Green
On Fri, 2007-11-23 at 03:39 -0800, Patryk Zawadzki wrote: > On 20 Lis, 16:15, "Michal Salaban" <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > We have created a patch which allows customizing the order of Fields in > > Forms.http://code.djangoproject.com/ticket/5986 > > > > The initial idea (with

Re: i18n missing feature ... continued (proposed solution for the upcoming sprint)

2007-11-20 Thread Mark Green
On Mon, 2007-11-19 at 19:11 +0100, Wolfram Kriesing wrote: > [...] > * Step 2, may be encapsulate the stuff you don't want the translators > to touch, the same way variables get used > {% blocktrans %} > Received on {{ message.created|date as date }} > from > {{ '' as link_open }

Re: i18n missing feature ... continued (proposed solution for the upcoming sprint)

2007-11-18 Thread Mark Green
On Mon, 2007-11-19 at 11:38 +1100, Malcolm Tredinnick wrote: > > On Mon, 2007-11-19 at 00:22 +0100, Mark Green wrote: > > > > On Sun, 2007-11-18 at 02:01 -0800, alain D. wrote: > [...] > > > Your syntax is interesting but : > > > - I'm not sure

Re: i18n missing feature ... continued (proposed solution for the upcoming sprint)

2007-11-18 Thread Mark Green
On Sun, 2007-11-18 at 02:01 -0800, alain D. wrote: > Hi, > > I agree that my proposed syntax was a little bit horrible ... but I > really wonder if it can be different. > > Your syntax is interesting but : > - I'm not sure it's really "djangoic" in the sense that it introduce > a new way t

Re: i18n missing feature ... continued (proposed solution for the upcoming sprint)

2007-11-18 Thread Mark Green
On Sun, 2007-11-18 at 11:23 -0600, Jacob Kaplan-Moss wrote: > On 11/17/07, Mark Green <[EMAIL PROTECTED]> wrote: > > {% blocktrans with value|filter as number %} > > This will have [[]]one item[[]] inside > [...] > > I stopped reading here. Anything that involv

Re: i18n missing feature ... continued (proposed solution for the upcoming sprint)

2007-11-17 Thread Mark Green
Sorry, I made a (hopefully obvious) mistake in my example, see below: On Sun, 2007-11-18 at 04:33 +0100, Mark Green wrote: > --- > > Template: > > - > {% blocktrans with value|filter as number %} > This will have [[]]one item[[]] inside > {% plural %} > This wi

Re: i18n missing feature ... continued (proposed solution for the upcoming sprint)

2007-11-17 Thread Mark Green
Hi, On Fri, 2007-11-16 at 02:11 -0800, alain D. wrote: > Hi, > >Following up on a previous discussion about an important but > complex i18n missing feature : > http://groups.google.com/group/django-developers/browse_thread/thread/c88b582fa4764aaa > > I've been thinking over and over about

Re: An addendum to the escaping proposals

2007-11-13 Thread Chris Green
On Nov 10, 2007 8:58 PM, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > Yeah, I'm not really sure what I mean, design-wise. I feel a little > uncomfortable about requiring the csrf key all the time in form > submissions, but I can't pin down why yet. As a consequence of that, the > middleware do

Great Computing Surface for Road Warriors

2007-06-01 Thread green
Despite having worked with a laptop day in day out, I only landed up with aching wrists, strained neck and back; with my work still pending. I could quote several reasons for it - my laptop processor runs too hot, my laptop keeps slipping from the pillow, plus the aching back. I know most of you a

newforms feedback

2006-12-19 Thread Alan Green
o.newforms import * >>> class F(Form): url = URLField(label='') ... >>> F().as_p() u'Url: ' 3. maxlength vs max_length is going to annoy me until it is made consistent. I know you're working on it. :) C

Re: RequiredIfOtherFieldsGiven validator

2006-09-14 Thread Alan Green
> know and I'll write up a ticket with patch. > -- > This message has been scanned for memes and > dangerous content by MindScanner, and is > believed to be unclean. > > > > -- Alan Green [EMAIL PROTECTED] - http://bright-green.com --~--~-~--~--

Re: Comment on auto-escaping proposals

2006-09-12 Thread Alan Green
om/group/django-developers/browse_thread/thread/9d14bc19120c2d49/5c7bf721a18a0465?#5c7bf721a18a0465 Cheers, Alan. -- Alan Green [EMAIL PROTECTED] - http://bright-green.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: RDBMS vs ODBMS

2006-08-30 Thread Alan Green
;s clients are even wary of what they would call "new and untested" RDBMSs, such as MySQL and PostgreSQL! Alan. -- Alan Green [EMAIL PROTECTED] - http://bright-green.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go

Admin "View on site" link broken

2006-08-27 Thread Alan Green
. The change_form.html template contains this code: {% if has_absolute_url %}{% trans "View on site" %}{% endif%} This looks like a bug with some history. What is going on here? Alan. -- Alan Green [EMAIL PROTECTED] - http://bright-green.com --~--~-~--~~~---~-

Re: Default escaping -- again!

2006-08-21 Thread Alan Green
o seeing how it works in my templates, Alan. -- Alan Green [EMAIL PROTECTED] - http://bright-green.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this g

Re: A model_object.is_saved() method

2006-08-13 Thread Alan Green
On 8/13/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > This is an interesting feature request/idea. If we were to add a > default method along the lines of is_saved(), I think it would make > the most sense if that method actually *checked* the database rather > than just checking that the prima

A model_object.is_saved() method

2006-08-12 Thread Alan Green
ved()" method. Does either of these options sound reasonable? If so, I'm happy to make up a patch, including changes to db-api.txt. Alan. -- Alan Green [EMAIL PROTECTED] - http://bright-green.com --~--~-~--~~~---~--~~ You received this message because

Re: Proposal: make templatetag loading magic a little more invisible

2006-08-10 Thread Alan Green
On 8/11/06, James Bennett <[EMAIL PROTECTED]> wrote: > The reason for this is that django/templatetags/__init__.py, when it > loops over INSTALLED_APPS to find templatetag libraries, > indiscriminately quashes ImportError -- apparently on the assumption > that any ImportError being raised is a r

Re: Model inheritance redux

2006-08-07 Thread Alan Green
dmin app will now be able show Addresses on the Person and Organisation pages, so that's about 6 boring pages I won't have to write next time. Cheers, Alan. -- Alan Green [EMAIL PROTECTED] - http://bright-green.com --~--~-~--~~~---~--~~ You received this message

Re: Model inheritance redux

2006-08-07 Thread Alan Green
#x27;t say so yet, but I think the proposal you outlined is a sensible compromise between functionality and implementation complexity. Cheers, Alan. > > Regards, > Malcolm > > > > > > -- Alan Green [EMAIL PROTECTED] - http://bright-green.com --~--~-~--~~-

Re: Model inheritance redux

2006-08-07 Thread Alan Green
; > def detail_view(model_name, id): > ... # or map to a different view altogether > > Neither seem like very good solutions to me. Am I missing something? > > > > > -- Alan Green [EMAIL PROTECTED] - http://bright-green.com --~--~-~--~~---