Re: Integrating Selenium tests into Django unit tests.

2011-08-12 Thread Almad
On 3 srp, 21:56, Tom Christie wrote: > I just had to do the same thing. Tried to use the django-sane-testing > package, but didn't have much success there. Might I ask what was the problem? > Cheers, >   T. Thanks, Almad -- You received this message because you are

reverse() and include('app, namespace='app)

2010-08-28 Thread Almad
or shall it be reported as a bug? Thanks, Almad -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-user

How to distribute static/media files with reusable applications?

2010-06-02 Thread Almad
Hi, is there any "standard"/convention on how to distribute media files (css, js, images, ...) with reusable applications? How is it then integrated into project? Thanks, Almad -- You received this message because you are subscribed to the Google Groups "Django users" gr

Re: reverse() and Django with fastcgi behind lighty with sockets

2009-10-12 Thread Almad
On Oct 12, 1:32 am, sleepyjames wrote: > you need to set FORCE_SCRIPT_NAME in your settings. > > http://docs.djangoproject.com/en/dev/ref/settings/#force-script-name Missed that - thanks! Almad --~--~-~--~~~---~--~~ You received this message becaus

reverse() and Django with fastcgi behind lighty with sockets

2009-10-11 Thread Almad
27;m redirecting user using reverse() (like, {% url login %}, user gets redirected to /django.fcgi/login/ instead of /login/. Anyone else having this issue? Any reasonable solution/workaround? Almad --~--~-~--~~~---~--~~ You received this message because you are sub

Re: Multithreaded development server

2009-01-28 Thread Almad
On 28 Led, 15:20, Ned Batchelder wrote: > Almad, you've pointed to ticket 10117 a few times now, but I don't see > how this has anything to do with a single-threaded server.  I think if > you could clarify that point, maybe we'd be able to make some progress > on t

Re: Multithreaded development server

2009-01-28 Thread Almad
On 28 Led, 06:01, Malcolm Tredinnick wrote: > On Tue, 2009-01-27 at 06:21 -0800, Almad wrote: > > On Jan 26, 1:19 am, Russell Keith-Magee > > wrote: > Perhaps you could show some simplified example code? I have at least a > few dozen tests that do this and they don'

Re: Multithreaded development server

2009-01-28 Thread Almad
On 28 Led, 01:25, Russell Keith-Magee wrote: > On Tue, Jan 27, 2009 at 11:21 PM, Almad wrote: > Sorry, but my stress-induced fibritis can only take so much. As a > hint, if you ever find yourself in a position where you need to > apologize at the end of an email for the tone you&#x

Re: Multithreaded development server

2009-01-27 Thread Almad
On Jan 27, 3:21 pm, Almad wrote: > On Jan 26, 1:19 am, Russell Keith-Magee > wrote: > i guess PHP users are our target group. Sorry, that was too bitter, unneccessary, offensive and intended to be removed by my self-censoring filte

Re: Multithreaded development server

2009-01-27 Thread Almad
On Jan 26, 1:19 am, Russell Keith-Magee wrote: > On Sun, Jan 25, 2009 at 10:45 PM,Almad wrote: > > I still feel kinda weird that I must hack around Django so much to > > make basic testing things working :-]]] > > Let's be clear here - the "basic testing" th

Re: Multithreaded development server

2009-01-27 Thread Almad
On Jan 26, 6:21 pm, birkin wrote: > On Jan 24, 7:08 pm,Almad wrote: > > A very simple solution in > this edge-case of mine is to simply start up an additional terminal > window and execute the runserver command again Don't You have a race condition where both servers are

Re: Multithreaded development server

2009-01-25 Thread Almad
ing it too: http://devel.almad.net/trac/django-sane-testing/changeset/00d317877c55 I still feel kinda weird that I must hack around Django so much to make basic testing things working :-]]] Almad --~--~-~--~~~---~--~~ You received this message because you are subscri

Re: Multithreaded development server

2009-01-25 Thread Almad
ase maintainance. Thanks, Almad --~--~-~--~~~---~--~~ 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, s

Multithreaded development server

2009-01-24 Thread Almad
Hello, is there a way to run development server multithreaded, so it can handle recurring requests? Thanks, Almad --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this g

Re: Port large webapp from PHP to Django: tips, experiences, links needed

2009-01-22 Thread Almad
EST_RUNNER='djangosanetesting.testrunner.run_tests' works Well, docs and setuptools thinigies is what's left ;) Almad On Jan 22, 11:32 am, Malcolm Tredinnick wrote: > It's a little disappointing that there aren't a lot more people blogging > about using their test libr

Re: Organising django projects

2007-07-29 Thread Almad
> Has this been discussed before? What are the dev's feelings on this? I'd like to hear them too. > -justin Almad --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" gr

Organising django projects

2007-07-28 Thread Almad
Hi, I'd like to ask how to organize Django application. To me, structure of project/app is nice idea, however I have problems applying it in practice, so I'd like to ask about best practices. Problems come, when application structure become deeper and nested. Is it usual to start an application

Re: Integrating Selenium web tests with django test suite

2007-06-05 Thread Almad
On Jun 4, 4:15 am, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On 6/2/07,Almad<[EMAIL PROTECTED]> wrote: > I haven't played with Selenium integration extensively; however, the > broad use case (tests against a live server) is one that I am > inter

Integrating Selenium web tests with django test suite

2007-06-01 Thread Almad
27;, 'path'), '-port', str(config.get('selenium', 'port'))], \ stdout=PIPE, stdin=PIPE, stderr=PIPE) # wait until server start #FIXME find a way to resolve that server is started sleep(2) is just ugly. How do You integrate Your tests with Se

Re: Unicode-branch: testers wanted

2007-05-30 Thread Almad
also work. > Any failures are bugs (either in Django or your code). > > Please open a ticket in Trac with a (simple) example of what is going > wrong. I played with it a bit and discovered that unicode description won't work for me. Filled as #4430 > Regards, > Mal

Re: Best practice: How to test site using openid-only login

2007-05-29 Thread Almad
g, I thought that client really fills form & co. However, I just passed openid_url instead of identity_url to login() function and thus login failed. I can just use login() to pass it to my openid backend and then I'm logged in without need to go through openid verification process. Almad -

Best practice: How to test site using openid-only login

2007-05-29 Thread Almad
Any suggestions? (I'd like to use as less workaround/hacks as possible) Thanks, Almad --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dj

Re: Unicode-branch: testers wanted

2007-05-29 Thread Almad
Hi, I'm trying to migrate to unicode branch, but Syndication framework won't work for me (usual UnicodeDecodeError). I made sure that all strings are u'' ones. Is this middleware ready for unicode? Thank You, Almad --~--~-~--~~~---~--~---

Re: Problem with string slicing in templates on non-ascii characters

2007-05-29 Thread Almad
Unicode branch really solved my problem. Thank You very much. Almad On May 27, 2:36 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sat, 2007-05-26 at 15:25 -0700,Almadwrote: > > Hello, > > > when displaying list of my arcitles, I'm displaying first char of m

Problem with string slicing in templates on non-ascii characters

2007-05-26 Thread Almad
is be considered as django bug? Thank You, Almad --~--~-~--~~~---~--~~ 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

Re: Problems with session middleware

2007-02-15 Thread Almad
Hello, please...nobody have a clue? I've run into same issue again and it's somehow making django usuable for me :-( (and yes, still with the freshest trunk) Thank You, Almad On Jan 28, 4:30 pm, "Almad" wrote: > Hello, > > I'd like to ask about session

Problems with session middleware

2007-01-28 Thread Almad
x27;, 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', ) I'm using svn trunk, issue same with old revisions as well as HEAD. What am I doing wrong? :] Thank You, Almad --~--~-~--~~-