null ordering in mysql

2006-12-14 Thread MC
Problem: I order dates and null values in ascending order under MySQL. To my surprise, null values are listed first, then actual dates. Turns out that in MySQL, null values are LOWER than non-null values, whereas Postgresql is the reverse. As outlined here http://troels.arvin.dk/db/rdbms/#select-o

Re: null ordering in mysql

2006-12-16 Thread MC
erent behavioral cases. Thanks for your help! On Dec 14, 11:30 am, Don Arbow <[EMAIL PROTECTED]> wrote: > On Dec 14, 2006, at 12:49 AM, MC wrote: > > > > > > > > > Problem: > > I order dates andnullvalues in ascending order under MySQL. To my > > su

Re: django problem at dreamhost

2006-02-24 Thread MC
I too have had issues with dreamhost concerning core files and performance. Every week I'll find a build up of 4-5 core.* dumped files. And most of the time my site gutata.com performs very slowly on gower.dreamhost.com. Granted I'm using the cheapest package and perhaps I have a slow implementati

Absolute beginner step by step

2016-06-11 Thread Mc. Holid
Dear All, Could anyone help to share the point for absolute beginner guide. I have already know a little bit about html, and having strong background in vb6. Thanks for any kind help. Best Regards Mchoud -- You received this message because you are subscribed to the Google Groups "Django u

Re: Absolute beginner step by step

2016-06-14 Thread Mc. Holid
rtual environments and then point your IDE at the one > needed for a particular project, you should be ok. You don't even have to > activate the environments because you are using them for storage of python > and django versions only. > > Good luck > > Gary R. > > >

Re: How to copy data from one server (mysql) to another server(mysql) on regular basis. Need to replicate data

2016-06-14 Thread Mc. Holid
i think it would be able to be handle by generating syncronisation script with sql yog and run the script from linux cron, or by using the events if you use mysql as the db On Tuesday, June 14, 2016 at 10:30:40 PM UTC+7, sushovan majumdar wrote: > > Hello, > I have to move data from database se

Development Server Loading Time Issue: posix.waitpid

2016-04-15 Thread chris mc
Hi guys, I'm fairly new to Django. I'm running Django 1.3 (stuck with it unfortunately) and on my own machine I'm using the development server: python manage.py runserver When I make a change to a pyhton file the development server restarts but it's extremely slow to load again. Is this how it

template loading error

2020-10-09 Thread MC CREATIONS
i have problem that am creating a Django project with outside template .but now the problem is that template is not fully leading .only load partial template, here all the static file are correct but no picture and images are not display.how can i solve it .help me -- You received this message

Re: Mysql sleeping queries

2007-06-20 Thread Sean Mc Allister
Just to let you know, I'm using postgres and I am also experiencing the same problems with revisions above 5481. It doesn't seem to leave every connection open, but more like 2 out of 3 or something like that. so it's not only a mysql thing. Sean David Reynolds wrote: > > On 19 Jun 2007, at 5:16

Re: Apache auth

2007-06-22 Thread Sean Mc Allister
Hi, I haven't seen this error myself yet, but you could try to use the patch here: http://code.djangoproject.com/ticket/3583 SmileyChris was so nice as to improve my initial patch, and possibly this will sooner or later even make it into trunk. cheers, Sean David Reynolds wrote: > Hi, > > I've b

Re: Apache auth

2007-06-24 Thread Sean Mc Allister
that helps, Sean David Reynolds wrote: > > Sean, > > On 22 Jun 2007, at 10:26 am, Sean Mc Allister wrote: > >> Hi, >> I haven't seen this error myself yet, but you could try to use the patch >> here: >> http://code.djangoproject.com/ticket/3583 >> S

subclassing form_for_model

2007-05-04 Thread Sean Mc Allister
Hi, can somebody give me a hint how to subclass a form_for_model class? I have read ticket 3815, but that doesn't seem to work too well for me. If I simply subclass the Form, the new fields aren't added if I subclass with argument form=newforms.Form only the new fields are there (see below for det

Re: Securing static files

2007-05-18 Thread Sean Mc Allister
Hi, I made something similar by creating an Apache AccessHandler. You can have a look at the code here: http://www.djangosnippets.org/snippets/62/ You would have to change the permission checking to your needs, but basically you can do anything you want inside those functions, like check if the u