messages and notifications app problem.

2008-12-19 Thread mtnpaul
First I installed the messages application and everything worked pretty well (emails got sent, messages got sent). But according to the docs I should have notifications installed. Now no emails get sent out. Any ideas what I'm doing wrong. I have put in the urls path for notifications, and I put

Saving a query set to a model

2008-12-20 Thread mtnpaul
Any thoughts or ideas on doing this? Can I just pickle the query set to a string and save it? --~--~-~--~~~---~--~~ 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@go

Django ugettext() got an unexpected keyword argument 'default' (template error)

2009-12-16 Thread mtnpaul
I'm not looking for an answer, just thought I would post this problem so if someone else gets it they'll have one place to look anyways. I had a model with some field names greater than 31 characters. Since most databases restrict column name length to 31 characters I would get this error when try

Re: Django ugettext() got an unexpected keyword argument 'default' (template error)

2009-12-16 Thread mtnpaul
We have not made a final decision on our database engine. I actually prefer Postgresql. During early development I also am probably wrong about the "most databases" statement above . Oracle (I believe) is limited to 30 characters (MySQL is 64). Postgresql 7.2 had a limit of 32 characters. On Dec

Facebook

2010-07-21 Thread mtnpaul
Trying to decide on which way to go with facebook http://github.com/teebes/django-facebookconnect.git or http://code.google.com/p/django-facebookconnect/ ? Same name, but very different apps. Does anyone have experience with either one? Does anyone have any other suggestions? -- You received thi

"JSON Template" language

2010-01-01 Thread mtnpaul
I've done a bit of JSON work on previous projects, but my new project seems likely to use it in a lot of places. Has anyone used the "JSON Template" language (http://json-template.googlecode.com/svn/trunk/doc/ Introducing-JSON-Template.html) ? What are your thoughts on it? Any unit testing issues

Re: Reasons why syncdb ignores an application?

2010-01-27 Thread mtnpaul
In manage.py you could add sys.path.insert(0, "/path/to/web") Just before the if __name__="__main__": line You will also need to handle this in your wsgi file for deployment. Are you using "South"? If so, new tables for something you have migrated will not be built by syncdb. On Jan 27, 1

Deleting a user generates a comment related error

2010-03-29 Thread mtnpaul
trying to delete a user via admin results in the following error message: relation "django_comments" does not exist. I'm not using regular comments but threaded comments. Any idea how to fix this problem (without creating a fake django_comments table)? Django 1.1.1 Thanks, Paul -- You receive

Best solution to this problem?

2010-04-07 Thread mtnpaul
I have a logged in user. The user does a search for other uses on the system. The other users can have various type(s) of privacy set for their profiles. Privacy levels are Public, Friend, Community (think Pinax Tribe), and Private. I want to display a list of the users, and depending on the use

vista install

2008-01-24 Thread mtnpaul
Well I got a new laptop that has vista on it (not my choice). I'm trying to install django, but keep getting the same strange message when I try to create a project C:\>django-admin.py startproject testproject results in the following Type 'django-admin.py help' for usage. I've tried both pytho

Re: Mod_python error: "PythonHandler django.core.handlers.modpython"

2007-01-09 Thread mtnpaul
Are they both installed into the same python version? Maybe you installed Django into python 2.4, and mod_python into python 2.5 (at least it appears to be in 2.5). From what I looked at I thought django was best installed in 2.4 (sorry, I don't recall where I saw that). Of course then mod_python

Re: reload(module) not working

2007-01-26 Thread mtnpaul
I believe that reload requires a fairly new version of mod_py in apache2. Which version are you running? On Jan 26, 7:57 am, "Manish Singh" <[EMAIL PROTECTED]> wrote: > Hi, > > I have this sample snippet, which works find when run from command line > > def walk_and_execute_all_parse_modules(dir)

Filter problem

2007-01-26 Thread mtnpaul
I wrote a small function as follows from models import MyModel def simple_contain( MyModelA , clean_dictionary, my_field_name) my_filter_field= my_field_name + '__contains' x = MyModelA.objects.filter(my_filter_field = form_data[my_field_name] return x . k = simple_contain(M

subversion and staying up to date

2007-02-01 Thread mtnpaul
I'm developing a new project based off one of the recent trunks. I did this because I wanted to use newforms. Since the project is in a constant state of flux should I checkout a new version every day, every week, or month. It seems that if I do this every day, that maybe the least painful in the