Re: How to save multiple model form in one template?

2018-09-19 Thread Everett White
Hey y’all 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d147297c-7a7d-4637-8d80-0ffd453003e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: mysqlclient is already installed but it will give an error,please help

2018-09-05 Thread Everett White
Hey yay 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5af47051-dea8-4069-afc0-3cc192fd5219%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Database Setup

2010-10-22 Thread Everett
Thanks everyone for all your help! I found a binary for Python 2.7
Here's a the link: http://www.codegood.com/archives/129
Just in case someone stumbles upon these posts.

On Oct 16, 3:58 pm, Karen Tracey  wrote:
> 2010/10/16 Jonathan Barratt 
>
> > Hope you have visual studio installed! :p
>
> If you do not, or if you do not want to go to the trouble of building
> MySQLdb from source, it is usually possible to find Windows binary packages
> for MySQLdb by searching Google with terms like:
>
> mysqldb windows binaries python 2.7
>
> I have never built MySQLdb from scratch on Windows, I've always used
> pre-built binaries. (Though I have also not yet bothered to find binaries
> for Python 2.7...I have Windows boxes and use them for testing Django but I
> do not actually do any Django development on them, and I have not had time
> lately to do much Windows testing.)
>
> Karen

-- 
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: Database Setup

2010-10-16 Thread Everett
Ok...I'm confused nowdo I have to build the bindings or just copy
them into the site-packages directory?

On Oct 14, 4:26 am, Sithembewena Lloyd Dube <zebr...@gmail.com> wrote:
> I recall having a similar problem. Get the MySQL bindings appropriate to
> your Python version below and install to your site-packages folder:
>
> http://sourceforge.net/projects/mysql-python/
>
> 2010/10/13 Everett <rocketco...@gmail.com>
>
>
>
>
>
>
>
> > On Oct 13, 2:34 am, Jonathan Barratt <jonathan.barr...@knifeict.com>
> > wrote:
> > > On 13 ต.ค. 2010, at 10:19, Everett wrote:
>
> > > > I'm running Django on Windows. When I edited the settings.py file for
> > > > the MySql database I'm running in an XAMPP package, the Django
> > > > development server throws a bunch of unhandled exceptions. It starts
> > > > out like this:
>
> > > 
>
> > > The most useful error message will be the last entry in the traceback
> > rather than the start of it. Please provide that message and we may have
> > more to go on.
>
> > > > Is this because of how I'm running the MySQL database? Or the
> > > > information in the settings.py file is off? Cause when I take all the
> > > > database settings out of the settings.py file the development server
> > > > runs fine.
>
> > > If there are no DB settings then obviously Django doesn't try to talk to
> > the DB, so yes that does suggest the problem is in the Django-DB
> > interaction.
>
> > > 
>
> > > > Any ideas?
>
> > > The first idea that pops into my head is that you may not have Python's
> > MySQL bindings installed (perhttp://
> > docs.djangoproject.com/en/dev/topics/install/#get-your-databas...), which
> > is available athttp://sourceforge.net/projects/mysql-python/
>
> > > If do already have that package installed then we'll just have to see the
> > most recent call that threw an exception...
>
> > > Best wishes,
> > > Jonathan
>
> > Ok I was just assuming Python already had the MySQL bindings.
> > So I've downloaded the MySQL-python-1.2.3.tar.gz, I decompressed it,
> > read that I needed easy_install or setuptools. So I installed
> > setuptools/easy_install but for some reason it won't install the MySQL-
> > python files. I tried getting easy_install to download it, wouldn't
> > work. I tried to get it to use the compressed version, still didn't
> > work. I'm guessing it's not working cause the easy_install needs an
> > egg file, yet there doesn't seem to be one in any of the directories.
>
> > As for the errors at the bottom of the thrown exceptions:
>
> > raise ImproperlyConfigured("Error loading MySQLdb module: %s" %e)
> > django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb
> > module: No module named MySQLdb
>
> > does that help?
>
> > Thanks
>
> > --
> > 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...@google 
> > groups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/django-users?hl=en.
>
> --
> Regards,
> Sithembewena Lloyd Dubehttp://www.lloyddube.com

-- 
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: Database Setup

2010-10-13 Thread Everett


On Oct 13, 2:34?am, Jonathan Barratt <jonathan.barr...@knifeict.com>
wrote:
> On 13 ?.?. 2010, at 10:19, Everett wrote:
>
> > I'm running Django on Windows. When I edited the settings.py file for
> > the MySql database I'm running in an XAMPP package, the Django
> > development server throws a bunch of unhandled exceptions. It starts
> > out like this:
>
> 
>
> The most useful error message will be the last entry in the traceback rather 
> than the start of it. Please provide that message and we may have more to go 
> on.
>
> > Is this because of how I'm running the MySQL database? Or the
> > information in the settings.py file is off? Cause when I take all the
> > database settings out of the settings.py file the development server
> > runs fine.
>
> If there are no DB settings then obviously Django doesn't try to talk to the 
> DB, so yes that does suggest the problem is in the Django-DB interaction.
>
> 
>
> > Any ideas?
>
> The first idea that pops into my head is that you may not have Python's MySQL 
> bindings installed 
> (perhttp://docs.djangoproject.com/en/dev/topics/install/#get-your-databas...),
>  which is available athttp://sourceforge.net/projects/mysql-python/
>
> If do already have that package installed then we'll just have to see the 
> most recent call that threw an exception...
>
> Best wishes,
> Jonathan

Ok I was just assuming Python already had the MySQL bindings.
So I've downloaded the MySQL-python-1.2.3.tar.gz, I decompressed it,
read that I needed easy_install or setuptools. So I installed
setuptools/easy_install but for some reason it won't install the MySQL-
python files. I tried getting easy_install to download it, wouldn't
work. I tried to get it to use the compressed version, still didn't
work. I'm guessing it's not working cause the easy_install needs an
egg file, yet there doesn't seem to be one in any of the directories.

As for the errors at the bottom of the thrown exceptions:

raise ImproperlyConfigured("Error loading MySQLdb module: %s" %e)
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb
module: No module named MySQLdb

does that help?

Thanks

-- 
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.



Database Setup

2010-10-12 Thread Everett
I'm running Django on Windows. When I edited the settings.py file for
the MySql database I'm running in an XAMPP package, the Django
development server throws a bunch of unhandled exceptions. It starts
out like this:

Unhandled exception in thread started by 
Traceback (most recent call last):
File "D:\Python27\lib\site-packages\django\core\managment\base.py",
line 249 in validate

Is this because of how I'm running the MySQL database? Or the
information in the settings.py file is off? Cause when I take all the
database settings out of the settings.py file the development server
runs fine.

Database settings:

'ENGINE': 'django.db.backends.mysql',
'NAME': 'djangodb',
'USER': 'admin',
'PASSWORD': ' ',
'HOST': 'localhost',
'PORT': ' ',

Any ideas?

-- 
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 setup

2010-10-12 Thread Everett


On Oct 12, 8:44 pm, Kenneth Gonsalves  wrote:
> well, you only need to do this once - after that you can use manage.py
> from within your project. So I would not bother about this.
> --
> regards
> Kenneth Gonsalves

Oh ok, thanks for the prompt reply.

-- 
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.



Django setup

2010-10-12 Thread Everett
I recently installed Django on Windows, but I can't get the django-
admin.py startproject to work unless I type the full path for django-
admin.py. Do I need to add this to my System Variables? If so what do
I put in for it? I've already tried the path.

-- 
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.