Re: ImageFiled Uploads

2008-07-16 Thread Molly
Sorry, i'm still new to programming in general so I'm not familiar with that.. Wish i could help.. Good luck, Molly On Jul 16, 2:50 pm, d3f3nd3r <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Molly wrote: > > Also, make sur

Re: ImageFiled Uploads

2008-07-16 Thread Molly
Also, make sure you import ImageField at the top: from django.db.models import ImageField And, do you have the PIL downloaded?? Did you import Image? On Jul 16, 1:42 pm, Molly <[EMAIL PROTECTED]> wrote: > Dane: > > You need to make a path where your images will go. > > Fo

Re: ImageFiled Uploads

2008-07-16 Thread Molly
#x27;/media/' Hope that makes sense.. Molly On Jul 16, 12:21 pm, "Dane Hesseldahl" <[EMAIL PROTECTED]> wrote: > Hey guys, > I can't seem to find a good resource for the best way to handle this, so I > thought I'd ask. > > What is the best way to handle

Re: Take an integer and string and make one string

2008-07-16 Thread Molly
Awesome, thanks a lot guys, that solved it :) On Jul 16, 11:24 am, "Colin Bean" <[EMAIL PROTECTED]> wrote: > Format strings are your friend: > > "%s: %d" % (self.consequence, self.slope_height_rr) > > Colin > > On Wed, Jul 16, 2008 at 8:14 AM, Mol

Take an integer and string and make one string

2008-07-16 Thread Molly
the string one string. Any ideas? Thanks! Molly --~--~-~--~~~---~--~~ 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 th

Re: django as a windows application

2008-07-16 Thread Molly
Saptah, Yes it is possible. I just did it. It is a long process and very frustrating. I would look here: http://www.jjude.com/index.php/archives/70 He does a good job of explaining what to do. If you have any questions I will help you out if I know the answer. Good luck! Molly On Jul 16, 7

Re: ImageField error

2008-07-07 Thread Molly
Milan, Thanks a lot, that fixed my problem :) Molly On Jul 7, 12:49 am, "Milan Andric" <[EMAIL PROTECTED]> wrote: > On Sun, Jul 6, 2008 at 3:12 PM, Molly <[EMAIL PROTECTED]> wrote: > > > Millan, > > > I'm doing this in dev environment with the

Re: ImageField error

2008-07-06 Thread Molly
ent/1/media/images/uploaded/DCP_0326.JPG == Thanks a lot for your response. Sorry it took me awhile to respond, I was out of town for the past few days. Molly --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Dja

ImageField error

2008-07-02 Thread Molly
d it is there. When I open the picture, i get this error: error: (10061, 'Connection refused') I would

Re: CMD output

2008-06-30 Thread Molly
Okay, thank you, I will try that! Molly On Jun 28, 3:29 am, Joseph <[EMAIL PROTECTED]> wrote: > create a batch file (.bat) with that command: > some.exe > null > and the users can start the application by clicking on the batch file. > > There is a issue here as well - th

Re: CMD output

2008-06-27 Thread Molly
What if the exe is just clicked on though, then there wouldn't be any writing in the cmd to write that. Thanks for the help :) Molly On Jun 27, 10:35 am, Tim Chase <[EMAIL PROTECTED]> wrote: > > I created an exe app and when it is run in the CMD there is a lot of > > out

CMD output

2008-06-27 Thread Molly
I created an exe app and when it is run in the CMD there is a lot of output of what is going on on the site. I was wondering if there was a way for words that I write to show up and not all of the output. Thanks! Molly --~--~-~--~~~---~--~~ You received this

Re: ImageField

2008-06-25 Thread Molly
Solved. I had to import Image without the PIL On Jun 25, 9:24 am, Molly <[EMAIL PROTECTED]> wrote: > Nevermind, I figured out how to import it.. it works now when I say > import Image. > > When I go to run my app it does not work with that import. > The import I added is:

Re: ImageField

2008-06-25 Thread Molly
Nevermind, I figured out how to import it.. it works now when I say import Image. When I go to run my app it does not work with that import. The import I added is: import PIL.image Thanks :) Molly On Jun 25, 9:19 am, Molly <[EMAIL PROTECTED]> wrote: > This is what I got: >

Re: ImageField

2008-06-25 Thread Molly
File "", line 1, in ImportError: No module named Image >>> Do I need to add it to my imports?? if so, how would I do that? Thanks! Molly On Jun 25, 4:26 am, David Reynolds <[EMAIL PROTECTED]> wrote: > On 24 Jun 2008, at 6:36 pm, Molly wrote: > > > Maybe my Py

Re: ImageField

2008-06-24 Thread Molly
onware.com/products/pil/ . === Maybe my Python Imaging Library is in the wrong location?? Thanks :) Molly --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group.

ImageField

2008-06-24 Thread Molly
I was wondering if anyone could explain ImageField to me or know of a good website to explain it.. I have been trying and can't get it to work. I have read through the documentation but no luck. Thanks :) Molly --~--~-~--~~~---~--~~ You received this me

Re: CSS not working in exe

2008-06-23 Thread Molly
/viewvc/frepple/trunk/contrib/insta... > > Here's a patch for the django code to make also the django commands > work with the zip-file created by > py2exe:http://code.djangoproject.com/ticket/5825 unfortunately > not marked for the 1.0 release :-( > > Joha

Re: CSS not working in exe

2008-06-20 Thread Molly
Thanks for that tip, Chris! I have been wondering about that actually. I think I am going to switch to Apache, because I have been having a lot of trouble with the exe. Thanks for the help, I aprreciate it :) Molly On Jun 20, 10:56 am, chris vigelius <[EMAIL PROTECTED]> wrote: >

CSS not working in exe

2008-06-20 Thread Molly
contrib\admin\media\css\*.*")), (r"media\admin\js", glob.glob(r"C:\Python25\Lib\site-packages \django\contrib\admin\media\js\*.*")), (r"media\admin\img", glob.glob(r"C:\Python25\Lib\site-packages \django\contrib\admin\media\img\*.*")),

Re: Attribute Error: 'NoneType' object has no attribute 'get_field_sets'

2008-06-18 Thread Molly
t recognized as an internal or external command, operable program or batch file." so I got rid of the $ sign and tried it that way and it launched up the cmd quick and things ran through it, and closed. I then tried it, and still same error. Sorry if I don't understand! Thanks for the

Attribute Error: 'NoneType' object has no attribute 'get_field_sets'

2008-06-18 Thread Molly
'C:\\Python25\\lib\\plat-win', 'C:\\Python25\\lib\ \lib-tk', 'C:\\Python25', 'C:\\Python25\\lib\\site-packages', 'c:\ \dev'] Server time: Wed, 18 Jun 2008 11:48:51 -0400 ===

Re: Start server

2008-06-18 Thread Molly
27;ll get back to you though! Molly On Jun 17, 8:29 pm, Joseph <[EMAIL PROTECTED]> wrote: > Molly: When you get through, mind if you could share the code? > > Thank you, > Josephhttp://www.jjude.com --~--~-~--~~~---~--~~ You received this message bec

Re: serve static files

2008-06-17 Thread Molly
I think I may have figured out the problem.. I needed my admin_media folder to be in my media folder Thanks for the help :) I appreciate both of your responses! Molly On Jun 17, 1:37 pm, "Norman Harman" <[EMAIL PROTECTED]> wrote: > Molly wrote: > > How would I c

Re: serve static files

2008-06-17 Thread Molly
How would I call the static file in my browser?? Sorry, i'm still a beginner! :P Thanks for the response :) Molly On Jun 17, 12:16 pm, chris vigelius <[EMAIL PROTECTED]> wrote: > Am Dienstag, 17. Juni 2008 17:22:46 schrieb Molly: > > > I created a django app and turne

serve static files

2008-06-17 Thread Molly
go.views.static.serve', {'document_root': r'C:\dev\incidents\admin_media', 'show_indexes': True}), ) --- I can't see any problems.. I would appreciate any help you can give me! Thanks :) Molly --~--~-~--~~~---~--~~ You receive

Re: Start server

2008-06-17 Thread Molly
16, 2008 at 11:33 PM, Karen Tracey <[EMAIL PROTECTED]> wrote: > > On Mon, Jun 16, 2008 at 3:50 PM, Molly <[EMAIL PROTECTED]> wrote: > > >> Hey guys, > > >> I created an app and I am trying to launch the server through my > >> pyweb.py code sinc

Start server

2008-06-16 Thread Molly
uth' ---- I don't see how it works before it is an exe. Any ideas or possibly I need to run the server a different way?? I would really appreciate any help,