mod_wsgi and _imaging C module

2010-11-24 Thread Stranger
Hi all, I've got problem when trying to run my first django project through apache/mod_wsgi. After proper vhost configuration has been done and I ran my app and got this: Caught ImportError while rendering: The _imaging C module is not installed I googled a lot around this problem and found that

Re: superuser has no rights with newforms admin

2008-07-22 Thread stranger
I am using django (revision 8055.). after updating the site seems to work fine but the admin panel still shows me You don't have permission to edit anything. I do have admin.autodiscover() and induvidually registered models in admin.py in all apps. I tried commenting out the admin.site.register(

Re: Django Registration Error (Does not return from SMTP call)

2008-04-24 Thread stranger
Hey, I think you should take a look at this. I used this and its working fine. http://www.djangosnippets.org/snippets/141/ Do remember to install 'libgmail' module inorder to get this working. On Apr 24, 10:55 am, Szaijan <[EMAIL PROTECTED]> wrote: > I am building my first Django app and tr

Re: facing problem with magnolia sync script

2008-04-14 Thread stranger
Can anyone suggest a solution to get over the problem On Apr 13, 10:58 pm, stranger <[EMAIL PROTECTED]> wrote: > Hello everybody, > >        I am writing a blog app where I am syncing mymagnolialinks to > my weblog. I am using themagnoliaAPI for this. In my link model I > ha

facing problem with magnolia sync script

2008-04-13 Thread stranger
Hello everybody, I am writing a blog app where I am syncing my magnolia links to my weblog. I am using the magnolia API for this. In my link model I have a 'add_date' field to sync the created time of the magnolia link. In the syncing function I am using add_date = datetime(*(time.s

Re: need to change logic of a helper

2008-04-09 Thread stranger
I hope they are documented to some extent. Is there any resource to know such hidden gems... Its really very helpful at times. On Apr 9, 8:56 am, Rajesh Dhawan <[EMAIL PROTECTED]> wrote: > On Apr 9, 11:52 am, stranger <[EMAIL PROTECTED]> wrote: > > > Thanks a lot it wo

Re: need to change logic of a helper

2008-04-09 Thread stranger
Thanks a lot it worked... I never heard of MONTHS_3_REV. Must be a new one or I shouldn't have went through documentation. Anyway thanks On Apr 9, 7:47 am, Rajesh Dhawan <[EMAIL PROTECTED]> wrote: > Hi, > > > > > Now I want my url to be /2008/apr/08 instead of 2008/04/08. Thats > > means the 'a

need to change logic of a helper

2008-04-08 Thread stranger
hello group, I am writing a blog application. I am not using generic view as I have customized things. Now I wrote a helper.py in which I have def get_post(year, month, day, slug): year, month, day = int(year), int(month), int(day) try: return Post.objects.get(

writing a view similar to generic view

2008-04-06 Thread stranger
Hello all, I am writing a simple blog app. I wrote a post and comment model where I need views to serve them. I could use generic views but I think I cannot due to the fact that comment model needs to link to post model. So i am writing a view which serves url like: http://example.com/

mysql-devel on mac

2008-04-01 Thread stranger
Hello everyone, I am having problem with mysql-python installation on leopard. I am getting errors when compiling mysql-python. error: command 'gcc' failed with exit status 1 mysql.c:35:23: error: my_config.h: No such file or directory _mysql.c:40:19: error: mysql.h: No such file or direct

'jellyroll' a django app

2008-03-28 Thread stranger
Hi all, I am using jellyroll application written by jacob kaplan moss. http://code.google.com/p/jellyroll/ I want to add geo-latitude and geo-longitude fields for flickr model. Can anyone help me in syncing those 2 fields into my jellyroll app. When displaying the photo I am want to mashup

Re: add comments to entry & link models

2008-03-09 Thread stranger
gt; <[EMAIL PROTECTED]> wrote: > >> I'm not sure if you've seen this but check this page out. > > >>http://code.djangoproject.com/wiki/ > >> UsingFreeComment#AddingCommentstoD... > > >> It's pretty much exactly how I'm doing it. > > >> On Ma

Re: add comments to entry & link models

2008-03-09 Thread stranger
ECTED]> wrote: > I'm not sure if you've seen this but check this page out. > > http://code.djangoproject.com/wiki/UsingFreeComment#AddingCommentstoD... > > It's pretty much exactly how I'm doing it. > > On Mar 9, 4:16 pm, stranger <[EMAIL PROTECTED]>

Re: add comments to entry & link models

2008-03-09 Thread stranger
Hi I think after thinking a while I felt its much better to create a comment model for linking to both entry and link models. But I dont have to idea how to use the comment in the templates with generic views... Can anybody help me in this regard. On Mar 9, 12:55 pm, stranger <[EM

Re: add comments to entry & link models

2008-03-09 Thread stranger
need one more favour regarding the template for comment. I could n't find much documentation on using comment model. Can you tell me how to use it? Thank you for the help... your help is much appreciated. On Mar 9, 12:44 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrot

add comments to entry & link models

2008-03-09 Thread stranger
Hello, I would like to add comments(Freecomments) to Entry and Link model in blog application. I wish the comment model have name, email, website and body. Can anyone suggest me how to achieve this. The freecomments do not have website and email fields. if I write a model comment with the

Re: sync flickr to my django blog

2008-03-05 Thread stranger
HEllo group can anyone help me in this regard please... On Mar 4, 10:50 am, stranger <[EMAIL PROTECTED]> wrote: > hello group, > >       First of all I would like to thank this community for helping me > in solve my doubts regarding  django. And here I am again with anoth

sync flickr to my django blog

2008-03-04 Thread stranger
hello group, First of all I would like to thank this community for helping me in solve my doubts regarding django. And here I am again with another one. I am creating my blog using django and I want to integrate my flickr with my blog. I am using the code from here. http://www.djangosni

Re: revert database migration

2008-03-04 Thread stranger
Thank you... for the help I started using the django evolution its fine... On Mar 4, 3:24 am, "Ramiro Morales" <[EMAIL PROTECTED]> wrote: > On Tue, Mar 4, 2008 at 2:58 AM, stranger <[EMAIL PROTECTED]> wrote: > > After searching this group archive i didnot

Re: revert database migration

2008-03-03 Thread stranger
hat django donot track models. I migrated myself from Rails. In rails there is migration where we can make changes to models and sync with database. hope django will find a solution. On Mar 3, 8:58 pm, stranger <[EMAIL PROTECTED]> wrote: > Hi James, > >          I have been foll

Re: revert database migration

2008-03-03 Thread stranger
photo and the syncdb only synced the photo model but not the changes in the Post model. Can you suggest me if there is a way I can sync it or do I have to do manual SQl query. On Mar 2, 11:15 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > On Sun, Mar 2, 2008 at 11:45 P

revert database migration

2008-03-02 Thread stranger
Hello group, I have a quick question. I have a django project where I have model. I 'syncdb' the database with the model. After that I again added few attributes to the model. but when I apply the syncdb command its not syncing with the database. Is there a way in django where we can m

Re: Error when calling the metaclass bases __init__() got an unexpected keyword argument 'get_absolute_url'

2008-03-02 Thread stranger
Thank you for the help. On Mar 2, 5:26 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sun, 2008-03-02 at 09:25 -0800, stranger wrote: > > Hello group, > > >             I am trying to setup a blog using django on webfaction. I > > have a get_absolut

Error when calling the metaclass bases __init__() got an unexpected keyword argument 'get_absolute_url'

2008-03-02 Thread stranger
Hello group, I am trying to setup a blog using django on webfaction. I have a get_absolute_url() in meta class of Entry model which returns the url of the Entry. But I am getting an error stating Exception Type: TypeError Exception Value:Error when calling the metaclass ba

Re: webhostingbuzz, anyone tried

2007-11-09 Thread stranger
Hello guys. I am trying to learn Djangi these days but having tough time. ... I wanted to host my site using Django but I am currently with hostmonster.com they dont support Django... So if any of you with WebFaction hosting can share me some space.. I am willing to share my hostmonster space

Re: problem with Django

2007-11-08 Thread stranger
How can I contact you when I am in need any email or messenger please On Nov 8, 12:20 am, stranger <[EMAIL PROTECTED]> wrote: > God.. How stupid I am ? Everytime I encounter you I am safe. thanks a > lot I am getting the page. > So how to make apache server medi

Re: problem with Django

2007-11-08 Thread stranger
TED]> wrote: > On Nov 8, 7:13 pm, stranger <[EMAIL PROTECTED]> wrote: > > > Ya mapper is an application in crimemap project. There is an empty > > __init.py__ file. > > Currenly this is the only url i am using.. > > > (r'^crime/([a-zA-Z]+)', crimemap

Re: problem with Django

2007-11-08 Thread stranger
r' is a subdirectory of 'crimemap', does that directory > contain at least an empty __init__.py file? > > Graham > > On Nov 8, 7:02 pm, stranger <[EMAIL PROTECTED]> wrote: > > > Hello Graham, > > > I tried the method u told me...Bu

Re: problem with Django

2007-11-08 Thread stranger
anymore on 80 port as apache is running please suggest. On Nov 8, 12:02 am, stranger <[EMAIL PROTECTED]> wrote: > Hello Graham, > > I tried the method u told me...But still the same result. Let > me clear a few things. I created a new project "crimemap" in /home/

Re: problem with Django

2007-11-08 Thread stranger
> Check the file and directory permissions like suggested when you were > first trying to setup your site, this time looking at any new files > and directories you have added within your site area. They should have > permissions so they are readable to Apache. > > Graham > > On

Re: problem with Django

2007-11-07 Thread stranger
packages/django/core/ urlresolvers.py in _get_urlconf_module, line 255 Python Executable: /usr/bin/python Python Version: 2.5.0 On Nov 7, 11:16 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > On 08-Nov-07, at 12:34 PM, stranger wrote: > > > Can you please tell me how

Re: problem with Django

2007-11-07 Thread stranger
Can you please tell me how to put crimemap on path. What is sym- linking? Can you explain briefly? thanks a lot for the help.. On Nov 7, 11:02 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > On 08-Nov-07, at 12:23 PM, stranger wrote: > > > crimemap is the name of the proje

Re: problem with Django

2007-11-07 Thread stranger
ge shows the META and SETTINGS. yash On Nov 7, 10:29 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > On 08-Nov-07, at 11:53 AM, stranger wrote: > > >http://img158.imageshack.us/img158/7829/screenshotrm6.png > > > Please suggest me a solution. > > it would b

Re: mod_python: problem with http.conf

2007-11-05 Thread stranger
research is > required to work out how to configure SELinux to allow the user that > Apache runs as to access your files. > > I can't help you with SELinux. > > Graham > > On Nov 6, 10:28 am, stranger <[EMAIL PROTECTED]> wrote: > > > Ya I have run the comma

Re: mod_python: problem with http.conf

2007-11-05 Thread stranger
Hey I have set the SELINUX from enforcing to permissive and the localhost/mysite is working. I am getting the Django default page. On Nov 5, 3:28 pm, stranger <[EMAIL PROTECTED]> wrote: > Ya I have run the command and restarted Apache... I have found the > cause for the problem ca

Re: mod_python: problem with http.conf

2007-11-05 Thread stranger
hmod 0755 /home/priya > > Restart Apache for good measure and try again. > > As I originally said, all the directories down to the mysite directory > have to be readable and searchable to others. This means you personal > home directory as well. > > Graham > > On Nov 6,

Re: mod_python: problem with http.conf

2007-11-05 Thread stranger
It makes it > really hard having to go back and forth between messages. > > On Nov 6, 10:11 am, stranger <[EMAIL PROTECTED]> wrote: > > > I get this: > > > 8 drwxr-xr-x 3 root 4096 2007-11-04 02:20 . > > If you get this when running that command in your home

Re: mod_python: problem with http.conf

2007-11-05 Thread stranger
I get this: 8 drwxr-xr-x 3 root 4096 2007-11-04 02:20 . --~--~-~--~~~---~--~~ 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 t

Re: mod_python: problem with http.conf

2007-11-05 Thread stranger
Thank alot Graham. To which user, I must grant access? I know the command chmod.. and I traversed to mysite directory and chmod -R 755 * still no change. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django use

Re: mod_python: problem with http.conf

2007-11-05 Thread stranger
Yes my settings.py file is in the place you specified. I have restarted the apache: /etc/init.d/httpd restart I think u r right. Apache dont have right to read that module. Please specify me how to give access to apche to my mysite directory. --~--~-~--~~~---~--~--

Re: mod_python: problem with http.conf

2007-11-05 Thread stranger
Hello Graham, Just followed the same instructions as u said. SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE mysite.settings PythonDebug On PythonPath "['/home/priya'] + sys.path" No Change

Re: mod_python: problem with http.conf

2007-11-05 Thread stranger
Thank you Graham for the fast reply Could you please elaborate a little since i am new to django. SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE mysite.settings PythonDebug On ...and replace mysite.settings with the Pyth

mod_python: problem with http.conf

2007-11-05 Thread stranger
Hello I am using Fedora 7. I am using Django for the first time. I want the django to run on port 80. so that : http://localhost/mysite/ should retreive the Django dafault page. I have installed mod_python and imported it into http.conf. In http.conf I have also: SetHandler python-pro

Making Windows XP Start 60% Faster

2007-06-07 Thread Stranger
Making Windows XP Start 60% Faster Whenever you start your computer, you are faced with a few moments of thumb twiddling while Windows XP boots and prompts you to log on. Although you should expect to wait for a few moments, sometimes Windows XP seems to boot rather slowly. In fact, you may notic