Re: can any on help me how to create a sample model project.

2009-12-16 Thread Kenneth Gonsalves
On Wednesday 16 Dec 2009 1:53:10 pm Justin Steward wrote:
> Not sure on the name of the corresponding red hat package.
> 

yum search *mysql*

-- 
regards
Kenneth Gonsalves
Senior Project Officer
NRC-FOSS
http://nrcfosshelpline.in/web/

--

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: can any on help me how to create a sample model project.

2009-12-16 Thread Justin Steward
On Wed, Dec 16, 2009 at 5:53 AM, chiranjeevi muttoju
 wrote:
> hi as i said that i had installed the mysql in other machine. when i
> installing the python-mysql connector using the command
> python setup.py build
>

At a wild guess, not knowing what you've got installed already, sounds
like you don't have the mysql client libraries installed.

In ubuntu that would be sudo apt-get install libmysqlclient15-dev

Not sure on the name of the corresponding red hat package.

~Justin

--

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: can any on help me how to create a sample model project.

2009-12-15 Thread chiranjeevi muttoju
hi as i said that i had installed the mysql in other machine. when i
installing the python-mysql connector using the command
python setup.py build

it giving the fallowing error:
[r...@scci01 MySQL-python-1.2.3c1]# python setup.py build
sh: mysql_config: command not found
Traceback (most recent call last):
  File "setup.py", line 15, in 
metadata, options = get_config()
  File "/root/chiru/MySQL-python-1.2.3c1/setup_posix.py", line 43, in
get_config
libs = mysql_config("libs_r")
  File "/root/chiru/MySQL-python-1.2.3c1/setup_posix.py", line 24, in
mysql_config
raise EnvironmentError("%s not found" % (mysql_config.path,))
EnvironmentError: mysql_config not found


what is the modifications to setup_posix.py file, plz help me..
thanku.

On Tue, Dec 15, 2009 at 8:31 PM, Simon Brunning wrote:

> 2009/12/15 chiranjeevi muttoju :
> > ImportError: No module named setuptools
>
> Seems pretty self-evident to me. Try installing setuptools first.
>
> --
> Cheers,
> Simon B.
>
> --
>
> 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.
>
>
>


-- 
▒▒�...@g@d...@◄▒▒

--

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: can any on help me how to create a sample model project.

2009-12-15 Thread Simon Brunning
2009/12/15 chiranjeevi muttoju :
> ImportError: No module named setuptools

Seems pretty self-evident to me. Try installing setuptools first.

-- 
Cheers,
Simon B.

--

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: can any on help me how to create a sample model project.

2009-12-15 Thread chiranjeevi muttoju
the content of that file is..
[options]
# embedded: link against the embedded server library
# threadsafe: use the threadsafe client
# static: link against a static library (probably required for embedded)

embedded = False
threadsafe = True
static = False

# The path to mysql_config.
# Only use this if mysql_config is not on your PATH, or you have some weird
# setup that requires it.
#mysql_config = /usr/local/bin/mysql_config

# The Windows registry key for MySQL.
# This has to be set for Windows builds to work.
# Only change this if you have a different version.
registry_key = SOFTWARE\MySQL AB\MySQL Server 5.0


plz help me..

On Tue, Dec 15, 2009 at 8:08 PM, chiranjeevi muttoju
wrote:

>   $ tar xfz MySQL-python-1.2.1.tar.gz
>   $ cd MySQL-python-1.2.1
>   $ # edit site.cfg if necessary
>   $ python setup.py build
>   $ sudo python setup.py install # or su first
>
> this is the installation process specified.. I think the 3rd step is for
> mysql settings.. i instaled the my sql in other mechine of ip x.x.x.x. then
> how can i change that file..
>
> if i run 4th command directly its not working it gives the error..
>
>
> Traceback (most recent call last):
>   File "setup.py", line 5, in 
> from setuptools import setup, Extension
> ImportError: No module named setuptools
>
>
>
> On Tue, Dec 15, 2009 at 8:00 PM, Simon Brunning 
> wrote:
>
>> 2009/12/15 chiranjeevi muttoju :
>> > hey i installed django on one machine, and sql in another machine.. in
>> which
>> > mechine i need to install the sql connector.
>>
>> The Django machine.
>>
>> --
>> Cheers,
>> Simon B.
>>
>> --
>>
>> 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.
>>
>>
>>
>
>
> --
> ▒▒�...@g@d...@◄▒▒
>



-- 
▒▒�...@g@d...@◄▒▒

--

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: can any on help me how to create a sample model project.

2009-12-15 Thread chiranjeevi muttoju
  $ tar xfz MySQL-python-1.2.1.tar.gz
  $ cd MySQL-python-1.2.1
  $ # edit site.cfg if necessary
  $ python setup.py build
  $ sudo python setup.py install # or su first

this is the installation process specified.. I think the 3rd step is for
mysql settings.. i instaled the my sql in other mechine of ip x.x.x.x. then
how can i change that file..

if i run 4th command directly its not working it gives the error..

Traceback (most recent call last):
  File "setup.py", line 5, in 
from setuptools import setup, Extension
ImportError: No module named setuptools


On Tue, Dec 15, 2009 at 8:00 PM, Simon Brunning wrote:

> 2009/12/15 chiranjeevi muttoju :
> > hey i installed django on one machine, and sql in another machine.. in
> which
> > mechine i need to install the sql connector.
>
> The Django machine.
>
> --
> Cheers,
> Simon B.
>
> --
>
> 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.
>
>
>


-- 
▒▒�...@g@d...@◄▒▒

--

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: can any on help me how to create a sample model project.

2009-12-15 Thread Simon Brunning
2009/12/15 chiranjeevi muttoju :
> hey i installed django on one machine, and sql in another machine.. in which
> mechine i need to install the sql connector.

The Django machine.

-- 
Cheers,
Simon B.

--

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: can any on help me how to create a sample model project.

2009-12-15 Thread chiranjeevi muttoju
hey i installed django on one machine, and sql in another machine.. in which
mechine i need to install the sql connector.

On Tue, Dec 15, 2009 at 7:51 PM, Simon Brunning wrote:

> 2009/12/15 chiranjeevi muttoju :
> > i've downloaded the mysql connector "MySQL-python-1.2.3c1.tar.gz'
> > could u please tellme how to instal that in linux..
>
> If you untar it, you should find installation instructions in the README.
>
> --
> Cheers,
> Simon B.
>
> --
>
> 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.
>
>
>


-- 
▒▒�...@g@d...@◄▒▒

--

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: can any on help me how to create a sample model project.

2009-12-15 Thread Simon Brunning
2009/12/15 chiranjeevi muttoju :
> i've downloaded the mysql connector "MySQL-python-1.2.3c1.tar.gz'
> could u please tellme how to instal that in linux..

If you untar it, you should find installation instructions in the README.

-- 
Cheers,
Simon B.

--

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: can any on help me how to create a sample model project.

2009-12-15 Thread chiranjeevi muttoju
i've downloaded the mysql connector "MySQL-python-1.2.3c1.tar.gz'
could u please tellme how to instal that in linux..

On Tue, Dec 15, 2009 at 7:36 PM, Simon Brunning wrote:

> 2009/12/15 chiranjeevi muttoju :
> > i cont able to understand how to modify the settings for mysql..
> > when i run the cammand 'python manage.py shell'
> > it gives the error no modulr fing for No module named MySQLdb
>
> You've not installed the database module that Python needs to talk to
> MySql - see .
>
> --
> Cheers,
> Simon B.
>
> --
>
> 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.
>
>
>


-- 
▒▒�...@g@d...@◄▒▒

--

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: can any on help me how to create a sample model project.

2009-12-15 Thread Simon Brunning
2009/12/15 chiranjeevi muttoju :
> i cont able to understand how to modify the settings for mysql..
> when i run the cammand 'python manage.py shell'
> it gives the error no modulr fing for No module named MySQLdb

You've not installed the database module that Python needs to talk to
MySql - see .

-- 
Cheers,
Simon B.

--

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: can any on help me how to create a sample model project.

2009-12-15 Thread chiranjeevi muttoju
i cont able to understand how to modify the settings for mysql..
when i run the cammand 'python manage.py shell'
it gives the error no modulr fing for No module named MySQLdb

the actual error is::
---
[r...@scci01 book]# python manage.py shell
Traceback (most recent call last):
  File "manage.py", line 11, in 
execute_manager(settings)
  File
"/usr/local/lib/python2.6/site-packages/django/core/management/__init__.py",
line 362, in execute_manager
utility.execute()
  File
"/usr/local/lib/python2.6/site-packages/django/core/management/__init__.py",
line 303, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
  File
"/usr/local/lib/python2.6/site-packages/django/core/management/base.py",
line 195, in run_from_argv
self.execute(*args, **options.__dict__)
  File
"/usr/local/lib/python2.6/site-packages/django/core/management/base.py",
line 222, in execute
output = self.handle(*args, **options)
  File
"/usr/local/lib/python2.6/site-packages/django/core/management/base.py",
line 351, in handle
return self.handle_noargs(**options)
  File
"/usr/local/lib/python2.6/site-packages/django/core/management/commands/shell.py",
line 17, in handle_noargs
from django.db.models.loading import get_models
  File "/usr/local/lib/python2.6/site-packages/django/db/__init__.py", line
41, in 
backend = load_backend(settings.DATABASE_ENGINE)
  File "/usr/local/lib/python2.6/site-packages/django/db/__init__.py", line
17, in load_backend
return import_module('.base', 'django.db.backends.%s' % backend_name)
  File "/usr/local/lib/python2.6/site-packages/django/utils/importlib.py",
line 35, in import_module
__import__(name)
  File
"/usr/local/lib/python2.6/site-packages/django/db/backends/mysql/base.py",
line 13, in 
raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e)
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module:
No module named MySQLdb


---

On Tue, Dec 15, 2009 at 7:19 PM, Simon Brunning wrote:

> 2009/12/15 'chiru'tha :
> > hey i've seen dat.. bt i cont able to create a new one.. i'm doing
> > some mistake while setting settings. If u createed a project.. plz
> > tell me the process in detail.. plz.
> > thanku..
>
> Sorry, but that *is* the process.
>
> Why don't you tell us what went wrong? Perhaps we can help.
>
> --
> Cheers,
> Simon B.
>
> --
>
> 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.
>
>
>


-- 
▒▒�...@g@d...@◄▒▒

--

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: can any on help me how to create a sample model project.

2009-12-15 Thread Simon Brunning
2009/12/15 'chiru'tha :
> hey i've seen dat.. bt i cont able to create a new one.. i'm doing
> some mistake while setting settings. If u createed a project.. plz
> tell me the process in detail.. plz.
> thanku..

Sorry, but that *is* the process.

Why don't you tell us what went wrong? Perhaps we can help.

-- 
Cheers,
Simon B.

--

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: can any on help me how to create a sample model project.

2009-12-15 Thread 'chiru'tha
hey i've seen dat.. bt i cont able to create a new one.. i'm doing
some mistake while setting settings. If u createed a project.. plz
tell me the process in detail.. plz.
thanku..

On Dec 15, 6:25 pm, Simon Brunning  wrote:
> 2009/12/15 'chiru'tha :
>
> > hi..
> > I'm new to Django, i need it in my project applications, can any one
> > guide me to create a new model project(using MySql database). plz give
> > the process in detail..
>
> http://lmgtfy.com/?q=django+tutorial
>
> --
> Cheers,
> Simon B.

--

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: can any on help me how to create a sample model project.

2009-12-15 Thread Simon Brunning
2009/12/15 'chiru'tha :
> hi..
> I'm new to Django, i need it in my project applications, can any one
> guide me to create a new model project(using MySql database). plz give
> the process in detail..

http://lmgtfy.com/?q=django+tutorial

-- 
Cheers,
Simon B.

--

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.




can any on help me how to create a sample model project.

2009-12-15 Thread 'chiru'tha
hi..
I'm new to Django, i need it in my project applications, can any one
guide me to create a new model project(using MySql database). plz give
the process in detail..

OS-- read hat
DB:mysql5
python2.6
Django-1.1.1


thanku..

--

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.