Re: MySQL-python 1.2.3 and OS X 10.5: 64- or 32-bit?

2010-01-22 Thread Chhouk Voeun
Please don't send to me, I have a lot of mails. I'm bored


On Fri, Jan 22, 2010 at 5:29 PM, Chhouk Voeun <voeun.chh...@gmail.com>wrote:

> Please don't send to me , I'm not member django-users.
>
>
> On Fri, Jan 22, 2010 at 4:41 PM, Dave E <dever...@innotts.co.uk> wrote:
>
>> I've been happily using (32-bit) Django and MySQL in development on an
>> existing machine running OS X 10.4 Tiger, and have set up a similar
>> environment in 10.5 Leopard on a new 64-bit MacBook, with a
>> (separately) working MySQL and Python 2.6.4.
>>
>> Now I want them to communicate, easy_install MySQL-python gave ld
>> warnings that the file is not of the required architecture, so I
>> tested my Python 2.4.6 install (from the Mac OS X disc image)...
>>
>> >>> import sys
>> >>> sys.maxint
>> 2147483647
>>
>> ...my Python install is 32-bit and (I think?) won't install MySQL-
>> python for my 64-bit MySQL. There are lots of hacks out there for
>> MySQL-python on OS X (mostly 1.2.2), but - after hours of reading -
>> I'm pretty sure they won't fix this architecture mismatch. I'm posting
>> here because I can't decide whether to:
>>
>>* remove the 64-bit MySQL install (thorough method?) and install
>> the 32-bit MySQL (disc image);
>>* re-install Python in 64-bit mode from the tarball,
>>  --with-universal archs-64-bit and --enable-universalsdk=
>>  as detailed in Python.org's 2.6 news.
>>
>> So my questions for anyone who has encountered this issue are:
>>
>>   1. Is installing 64-bit Python on OS X 10.5 worth bothering with?
>>   2. If so, (naive, lazy question!) how are the two required
>> arguments above combined?
>>   3. If I just skip along in 32-bit (as on my working setup) what am
>> I missing?
>>
>> I'm after a hassle-free install that's easy to reproduce on other
>> machines (possible student use) so I'd really welcome opinions,
>> please!
>>
>> ---
>> PS if you're on stackoverflow and want some rep, here it is:
>>
>> http://stackoverflow.com/questions/1969222/mysql-python-1-2-3-and-os-x-10-5-64-or-32-bit
>>
>> --
>> 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-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>>
>

-- 
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-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: MySQL-python 1.2.3 and OS X 10.5: 64- or 32-bit?

2010-01-22 Thread Chhouk Voeun
Please don't send to me , I'm not member django-users.

On Fri, Jan 22, 2010 at 4:41 PM, Dave E  wrote:

> I've been happily using (32-bit) Django and MySQL in development on an
> existing machine running OS X 10.4 Tiger, and have set up a similar
> environment in 10.5 Leopard on a new 64-bit MacBook, with a
> (separately) working MySQL and Python 2.6.4.
>
> Now I want them to communicate, easy_install MySQL-python gave ld
> warnings that the file is not of the required architecture, so I
> tested my Python 2.4.6 install (from the Mac OS X disc image)...
>
> >>> import sys
> >>> sys.maxint
> 2147483647
>
> ...my Python install is 32-bit and (I think?) won't install MySQL-
> python for my 64-bit MySQL. There are lots of hacks out there for
> MySQL-python on OS X (mostly 1.2.2), but - after hours of reading -
> I'm pretty sure they won't fix this architecture mismatch. I'm posting
> here because I can't decide whether to:
>
>* remove the 64-bit MySQL install (thorough method?) and install
> the 32-bit MySQL (disc image);
>* re-install Python in 64-bit mode from the tarball,
>  --with-universal archs-64-bit and --enable-universalsdk=
>  as detailed in Python.org's 2.6 news.
>
> So my questions for anyone who has encountered this issue are:
>
>   1. Is installing 64-bit Python on OS X 10.5 worth bothering with?
>   2. If so, (naive, lazy question!) how are the two required
> arguments above combined?
>   3. If I just skip along in 32-bit (as on my working setup) what am
> I missing?
>
> I'm after a hassle-free install that's easy to reproduce on other
> machines (possible student use) so I'd really welcome opinions,
> please!
>
> ---
> PS if you're on stackoverflow and want some rep, here it is:
>
> http://stackoverflow.com/questions/1969222/mysql-python-1-2-3-and-os-x-10-5-64-or-32-bit
>
> --
> 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-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
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-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django Developer Position in New York City, Urgent Stuff

2009-10-11 Thread Chhouk Voeun
mother fucker so many sending mail i' m bored don't send

On Sat, Oct 10, 2009 at 3:04 AM, Shaun Hinklein (Sysmind L.L.C) <
shaunhinkl...@gmail.com> wrote:

>
> Hey :)
> I'm messaging all of you in regards to a Django Developer position
> located in New York City. The position is extremely urgent and the
> candidate would start probably next week. If you, or one of your
> colleagues, is interested in this position, please contact me with
> your resume at 609-897-9670 x104 or at my email at sh...@sysmind.com
> Thanks for your time!
> Sincerely,
> Shaun
>
> The stuff you care about:
> There is no rate cap.
> The rate is good.
>
> >
>

--~--~-~--~~~---~--~~
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, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: How does admin generate HTML for adding objects?

2009-07-03 Thread Chhouk Voeun
I want to stop join group

--~--~-~--~~~---~--~~
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, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Tracking a bad import

2009-07-01 Thread Chhouk Voeun
i want to use map url (http:\\localhost:8080\main).oh i use window

--~--~-~--~~~---~--~~
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, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Tracking a bad import

2009-07-01 Thread Chhouk Voeun
i use window and i can start page .the sample code follow:# Copyright 2008
Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


"""Bootstrap for running a Django app under Google App Engine.

The site-specific code is all in other files: settings.py, urls.py,
models.py, views.py.  And in fact, only 'settings' is referenced here
directly -- everything else is controlled from there.

"""

# Standard Python imports.
import os
import sys
import logging
import __builtin__



# Google App Hosting imports.
from google.appengine.ext.webapp import util

import pickle
sys.modules['cPickle'] = pickle

# Enable info logging by the app (this is separate from appserver's
# logging).
logging.getLogger().setLevel(logging.INFO)

# Force sys.path to have our own directory first, so we can import from it.
sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))

# Must set this env var *before* importing any part of Django.
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'

# Make sure we can import Django.  We may end up needing to do this
# little dance, courtesy of Google third-party versioning hacks.  Note
# that this patches up sys.modules, so all other code can just use
# "from django import forms" etc.
try:
  from django import v0_96 as django
except ImportError:
  pass

# Import the part of Django that we use here.
import django.core.handlers.wsgi


def main():
  # Create a Django application for WSGI.
  application = django.core.handlers.wsgi.WSGIHandler()

  util.run_wsgi_app(application)

if __name__ == '__main__':
  main()

--~--~-~--~~~---~--~~
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, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: django cache framework not work well on mod_python of apache

2009-07-01 Thread Chhouk Voeun
no i use window

--~--~-~--~~~---~--~~
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, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: postgres schemas and django admin

2009-07-01 Thread Chhouk Voeun
Page not found (404)  Request Method: GET  Request URL:
http://localhost:8080/main

Using the URLconf defined in urls, Django tried these URL patterns, in this
order:

   1. ^$
   2. ^new$
   3. ^edit/(\d+)$

The current URL, /main, didn't match any of these.
 You're seeing this error because you have DEBUG = True in your Django
settings file. Change that to False, and Django will display a standard 404
pa

--~--~-~--~~~---~--~~
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, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Tracking a bad import

2009-07-01 Thread Chhouk Voeun
 Page not found (404)  Request Method: GET  Request URL:
http://localhost:8080/main/

Using the URLconf defined in pollango.urls, Django tried these URL patterns,
in this order:

   1. ^$
   2. ^create/$
   3. ^poll/(?P[^\.^/]+)/$
   4. ^poll/(?P[^\.^/]+)/results/$

The current URL, /main/, didn't match any of these.

You're seeing this error because you have DEBUG = True in your Django
settings file. Change that to False, and Django will display a standard 404
page.

--~--~-~--~~~---~--~~
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, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---