Re: unknown encoding: utf-8 error

2008-04-13 Thread Cephire
With help from the forum members and through many pages on the net, I was able to build a stand-alone app. I've blogged about it, with the hope that it might be helpful to someone else. Feel free to comment if there are any improvement. http://www.jjude.com/index.php/archives/70 Thank you all, J

Re: unknown encoding: utf-8 error

2008-04-11 Thread Cephire
I hope this will be last one on this thread. Now I am able to compile without any error and create an exe file out of it. I have hooked this with cherrypy (as I dont know how to hook the development server). When I open the browser, I get the below error: Traceback (most recent call last): Fil

Re: unknown encoding: utf-8 error

2008-04-11 Thread Cephire
got it resolved by manually importing all __import__ statements. thanks guys, joseph --~--~-~--~~~---~--~~ 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@googlegroup

Re: unknown encoding: utf-8 error

2008-04-11 Thread Cephire
e __init.py__? As I said before, this works fine in development (using the django server) and production server too(apache+mod_python). Thank you, Joseph On Apr 11, 5:02 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Fri, Apr 11, 2008 at 4:54 AM, Cephire <[EMAIL PROTECTE

unknown encoding: utf-8 error

2008-04-11 Thread Cephire
Hello all: I have the below in models.py class solForm(ModelForm): """ """ body = forms.CharField(max_length=150, widget=forms.Textarea(attrs={'rows':2, 'cols': 40}),label= u'Your Sol:') author = forms.CharField(widget=forms.HiddenInput) date = forms.CharF

Re: Basic Configuration Issue?

2008-03-31 Thread Cephire
Michael: I'm no good at regex to explain why it doesn't work. But chapter 3 of Django book (pg 16 of pdf format) says the below: "... You should exclude the expected slash at the beginning of the '^time/ $' expression in order to match /time/. Django automatically puts a slash before every expres

Re: Manipulating request.FILES

2008-03-31 Thread Cephire
Dimitri: I assume that you want to modify the name of the file that is submitted. It can be done in _save_FIELD_file of the model. Here is a snippet that i use to change the name of the uploaded avatar icon for the user. def _save_FIELD_file(self, field, filename, raw_contents, save=True)

Re: Django WORKS at Servage.net!

2006-07-20 Thread cephire
Carlos, I would definitely like to hear from you. I dont have shell access but have FTP. If you can share your experience, may be I will try and setup mine too. Thanks a lot Joseph --~--~-~--~~~---~--~~ You received this message because you are subscribed to the