Re: Need help selecting a Django hosting provider

2007-10-24 Thread Kenneth Gonsalves
On 24-Oct-07, at 9:53 PM, Joshua Simpson wrote: > I'm using WebFaction and Linode. WebFaction is great for ease of use, > Linode is great for Xen instances. Has anyone used WebFaction's SVN > app before? as a client or as a repository? I use it as a client, havent tried as a repository yet

FLATPAGES

2007-10-24 Thread AniNair
Hi . I am using django .97 , pre with python 2.5.1. I am trying to use flat pages, this is my middleware_cllasses in settings MIDDLEWARE_CLASSES = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.Au

Re: translation question ("how do I" question)

2007-10-24 Thread Kenneth Gonsalves
On 24-Oct-07, at 9:24 PM, alain D. wrote: > """By %}>{{ myobject.owner.username }}""" > > of course, I'd like to have : """by %(username)s""" as a key in my > translation files ... frankly I dont understand the question - are you generating html code in your view? -- regards kg http://law

Re: Entering Greek, cyrillic, or other 'weird' text

2007-10-24 Thread Kenneth Gonsalves
On 24-Oct-07, at 7:50 PM, bjornkri wrote: > Some data IS entered into the database - when I tried just now with a > 'content' of Greek text, I get the Incorrect string value message, but > when I go back to the admin interface the entry is there but filled > with question marks where the Greek t

elance'in django programmers

2007-10-24 Thread Roboto
Hey all, I'm just curious, but if you were elance your skills out, what would you normally charge? I was wondering what the going rate to hire a django cat would be on an hr basis Thanks, Rob --~--~-~--~~~---~--~~ You received this message because you are subs

Re: Selecting one field

2007-10-24 Thread Malcolm Tredinnick
On Thu, 2007-10-25 at 12:52 +1000, Malcolm Tredinnick wrote: [...] > Use my_queryset.values(...).distinct(). However, be aware of bug #2939 > and the fact that you can only use one value in the values() call on > trunk. Except possibly on MySQL, this would fail: > > my_queryset.values('fo

Re: Inserting a Dependant object (one with Foreign Key) into the DB

2007-10-24 Thread Malcolm Tredinnick
On Wed, 2007-10-24 at 13:29 -0700, jim wrote: > Hello, >I have a class which has a Foreign Key. e.g. > > class UserDescription(models.Model): >userid = models.ForeignKey(User) >title = models.CharField('user salutation', > max_length=5) >firstname = m

Re: Error with Psycopg2: argument of type _QuerySet is not iterable

2007-10-24 Thread Malcolm Tredinnick
On Wed, 2007-10-24 at 07:51 -0700, [EMAIL PROTECTED] wrote: > I have piece of code that works fine with Psycopg, but when I use > Psycopg2 in my settings file, I get this error: > > > if not assigned_user in > > User.objects.filter(groups__name__exact=assigned_group): > > ... > > TypeError: arg

Re: Can not load template library

2007-10-24 Thread Malcolm Tredinnick
On Wed, 2007-10-24 at 07:12 -0700, Greg wrote: > Hello, > I've developed a django app on my computer using the developmental > version of Django. I've recently started the process of migrating it > to a web hosting provider. When I try to access my site I get the > following error: > > Template

Re: Selecting one field

2007-10-24 Thread Malcolm Tredinnick
On Wed, 2007-10-24 at 06:41 +, Rufman wrote: > hey > > if I use the Django db api it automatically does SELECT * FROM Well, for accuracy, no it doesn't. But it does explicitly list all fields. > How > can I select only one (or a certain number of fields) so that I can > run a distinct

Re: Need help selecting a Django hosting provider

2007-10-24 Thread Zack
Yes. I've been happily using webfaction's svn app for a while. It's great. We originally went to webfaction because we couldn't find any competent rails hosting, but I'm very happy to see they are keen on django as that's where we are heading. Zack On Oct 24, 12:23 pm, Joshua Simpson <[EMAIL PRO

Re: django-admin.py Error

2007-10-24 Thread jnap
Nevermind. Found the problem. Here is what fixed it: ln -s /library/python/2.3/site-packages/django_src/django/ /Library/ Frameworks/Python.framework/Versions/Current/lib/python2.4/site- packages/django On Oct 24, 9:51 pm, jnap <[EMAIL PROTECTED]> wrote: > Hi - > > I did some research around t

django-admin.py Error

2007-10-24 Thread jnap
Hi - I did some research around the internet but couldn't come up with much. Has anyone encountered this error before? jnap:~ jnap$ django-admin.py Traceback (most recent call last): File "/usr/local/bin/django-admin.py", line 2, in ? from django.core import management ImportError: No mod

Re: Scaling the server

2007-10-24 Thread Graham Dumpleton
On Oct 25, 7:19 am, Michel Thadeu Sabchuk <[EMAIL PROTECTED]> wrote: > Hi Graham! > > > What percentage of requests are actually yielding static pages? > > People often too quickly run to lighttpd thinking it will somehow > > magically solve all their problems, but if the bulk of the requests > >

Re: Inserting a Dependant object (one with Foreign Key) into the DB

2007-10-24 Thread jim
OK..that worked. Thanx Jim On Oct 24, 6:16 pm, AndrewK <[EMAIL PROTECTED]> wrote: > http://www.djangoproject.com/documentation/db-api/#creating-objects > > Try UserDescrtiption(title='title', firstname='firstname', > middlename='middlename', lastname='lastname') > m.userid = u1 > m.save() > > O

Re: Error During Django Install on Mac

2007-10-24 Thread bramble
On Oct 24, 2:25 am, jnap <[EMAIL PROTECTED]> wrote: > I am new at this so I apologize if this is a stupid question... Hi jnap, You would probably benefit from learning some basic shell usage. For example: * using commands like ``cd``, ``ln``, ``sudo``, ``cp``, and so on. * how environment varia

Re: Error During Django Install on Mac

2007-10-24 Thread bramble
On Oct 24, 2:48 am, Ben van Staveren <[EMAIL PROTECTED]> wrote: > No offense but uh, RTFM? That wasn't particularly courteous. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this g

Django Admin - Strange Problem with Permissions and Groups

2007-10-24 Thread Tim
Hello, For some strange reason, I can't give a user permissions in my app. I've tried adding the permissions directly to the user, I've also tried added the user to a group and giving the group the permissions but in either case, when I log in with the user into the Django admin, I get "You don't

Handling legacy single-row tables

2007-10-24 Thread Bill Fenner
I've got a legacy application with a few tables that only have a single row, e.g., for configuration information. I can easily get the info with the following hack: pick a column to be a pretend primary key (so that django doesn't add the id field), and use Model.objects.get(foo__isnull=False) -

Re: Inserting a Dependant object (one with Foreign Key) into the DB

2007-10-24 Thread AndrewK
http://www.djangoproject.com/documentation/db-api/#creating-objects Try UserDescrtiption(title='title', firstname='firstname', middlename='middlename', lastname='lastname') m.userid = u1 m.save() On Oct 24, 1:29 pm, jim <[EMAIL PROTECTED]> wrote: > Hello, >I have a class which has a Foreign

Re: Example for update_object

2007-10-24 Thread Nathaniel Whiteinge
On Oct 24, 5:21 am, Florian Lindner <[EMAIL PROTECTED]> wrote: > I'm looking for an example on how to use the > django.views.generic.create_update.update_object generic view. The create and update generic views haven't been updated for newforms yet. There's a Django Snippet [1]_ that might be hel

Re: Scaling the server

2007-10-24 Thread Michel Thadeu Sabchuk
Hi Graham! > What percentage of requests are actually yielding static pages? > People often too quickly run to lighttpd thinking it will somehow > magically solve all their problems, but if the bulk of the requests > are actually dynamic and served by Django, and it is Django and the > database

More friends more money,get friends while get paid

2007-10-24 Thread jack
More friends more money,get friends while get paid http://groups.google.com/group/all-good-things/web/get-friends-while-get-paid Get 1 Million Guaranteed Real Visitors, FREE! http://www.t2000ultra.com/?rid=12740 --~--~-~--~~~---~--~~ You received this message beca

Re: DateTimeField auto_now / auto_now_add and UTC

2007-10-24 Thread SmileyChris
> Is there a way to get the > auto_now/auto_now_add feature of DateTimeField to use UTC? Those methods suck and hopefully will be removed. Use a callable default instead of auto_now_add (or overridden save instead of auto_now, like Jarek gave): from datetime import datetime class YourModel(model

Inserting a Dependant object (one with Foreign Key) into the DB

2007-10-24 Thread jim
Hello, I have a class which has a Foreign Key. e.g. class UserDescription(models.Model): userid = models.ForeignKey(User) title = models.CharField('user salutation', max_length=5) firstname = models.CharField('user firstname', max_length=50) middlename

Re: Getting image field in a template

2007-10-24 Thread Tim
Your issue is mostly with learning Django. For example the get_IMAGEFIELD_url is a feature of Django. More Python will help but I'd say you'd be better off figuring out more about Django first. Also, don't be afraid to search around in the Django code. Tim On Oct 24, 11:18 am, Page <[EMAIL PROT

Re: Correctly referencing media files in templates.

2007-10-24 Thread Taft
Excellent. That functionality is exactly what I was looking for. May I suggest that this feature be more explicitly covered in the documentation. The existing documentation is great if you know exactly what you are looking for. For a newbie struggling with where to put his/her stylesheets and

Re: Getting image field in a template

2007-10-24 Thread Page
Great. That works for bringing in the thumbnail. To display the larger image would I need to add a field similar to "item_thumb" in the PortfolioItem model? Or can I display the "image" field from my PortfolioImage model somehow? For the future can you point me to what I need to learn to be able

Re: Getting image field in a template

2007-10-24 Thread Marty Alchin
You want something like this: {% block image %} {% endblock %} -Gul --~--~-~--~~~---~--~~ 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 unsubs

Re: Correctly referencing media files in templates.

2007-10-24 Thread Marty Alchin
Once again, I'll defer to the Django documentation. My apologies for not including this link in my original message. http://www.djangoproject.com/documentation/templates_python/#django-core-context-processors-media And the following section, just above, shows that this context processor is in th

Re: Getting image field in a template

2007-10-24 Thread Page
Thanks for the feedback. Tim, I tried that but no luck. Here are my models: from django.db import models class PortfolioImage(models.Model): image = models.ImageField(upload_to="portfolio", core=True) alt_attribute = models.CharField(maxlength=100) def __str__(self):

Re: Correctly referencing media files in templates.

2007-10-24 Thread Leo Shklovskii
Awesome! Thanks for pointing that out Jonathan! I didn't find that when I was searching the Django Trac. -- --Leo Jonathan Buchanan wrote: > On 10/24/07, Leo Shklovskii <[EMAIL PROTECTED]> wrote: >> You also want to look here for a suggestion on how to access >> settings.MEDIA_URL: >> >> http:/

Re: Correctly referencing media files in templates.

2007-10-24 Thread Jonathan Buchanan
On 10/24/07, Leo Shklovskii <[EMAIL PROTECTED]> wrote: > > You also want to look here for a suggestion on how to access > settings.MEDIA_URL: > > http://www.b-list.org/weblog/2006/jun/14/django-tips-template-context-processors/ > > I know (at least one of) the ticket(s) for embedding access to the

Re: Correctly referencing media files in templates.

2007-10-24 Thread Taft
You've pointed out a glaring error in my first post. MEDIA_ROOT should really be MEDIA_URL. My bad. However, my point remains. On the page you link to, it tells you how to access the settings from within python code but no mention is made of how to access settings from the template code. As L

Re: Correctly referencing media files in templates.

2007-10-24 Thread Leo Shklovskii
You also want to look here for a suggestion on how to access settings.MEDIA_URL: http://www.b-list.org/weblog/2006/jun/14/django-tips-template-context-processors/ I know (at least one of) the ticket(s) for embedding access to the MEDIA_URL in the default context has been closed as wontfix, but

Re: Correctly referencing media files in templates.

2007-10-24 Thread Marty Alchin
On 10/24/07, Taft <[EMAIL PROTECTED]> wrote: > I'd like to do something like this: > > > > ... > type="text/css" title="Style" /> > ... > > ... > > > > Though I've searched high and low, I can't seem to find documentation > that tells me how to do something like this. And l

Re: Need help selecting a Django hosting provider

2007-10-24 Thread Joshua Simpson
I'm using WebFaction and Linode. WebFaction is great for ease of use, Linode is great for Xen instances. Has anyone used WebFaction's SVN app before? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users"

Re: Getting image field in a template

2007-10-24 Thread Tim
Try Tim On Oct 24, 9:37 am, Steve Potter <[EMAIL PROTECTED]> wrote: > On Oct 24, 1:35 am, Page <[EMAIL PROTECTED]> wrote: > > > > > I'm new to Django and Python but trying to catch on. I have an image > > model for a portfolio page. I also have a model for the portfolio > > information for th

Correctly referencing media files in templates.

2007-10-24 Thread Taft
I have searched the list and haven't found anything that directly addresses this. Forgive me if it is redundant. The first question I have regards where to put media such as the .css files and related images which will define the style of my site. In the settings file, there are two locations w

translation question ("how do I" question)

2007-10-24 Thread alain D.
Hi, Here is a chunk of django template ... I'd like to translate it using django i18n mecanism but I'm hitting a problem (I guess it's the same I was hitting a few months ago [see history]). I guess there is no perfect solution for that right now, but a working workaround would be good enough :

Re: Getting image field in a template

2007-10-24 Thread Steve Potter
On Oct 24, 1:35 am, Page <[EMAIL PROTECTED]> wrote: > I'm new to Django and Python but trying to catch on. I have an image > model for a portfolio page. I also have a model for the portfolio > information for that page. > > After creating a template for the portfolio item detail page I can > pul

Re: DateTimeField auto_now / auto_now_add and UTC

2007-10-24 Thread Jarek Zgoda
Joe Holloway napisaƂ(a): > I'm looking to store UTC date/times so I don't have to worry about > time zones until I localize the display. From looking at the code in > DateTimeField I think I've answered my own question, but I just want > to ask here for the sake of conversation. Is there a way to

Re: Django rearranges query strings?

2007-10-24 Thread tomris
http://www.cnd-industry.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-users@googlegroups.com To unsubscribe from this group, send email to [EM

Re: DateTimeField auto_now / auto_now_add and UTC

2007-10-24 Thread tomris
http://www.cnd-industry.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-users@googlegroups.com To unsubscribe from this group, send email to [EM

Re: Error with Psycopg2: argument of type _QuerySet is not iterable

2007-10-24 Thread tomris
http://www.cnd-industry.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-users@googlegroups.com To unsubscribe from this group, send email to [EM

Re: Can not load template library

2007-10-24 Thread tomris
http://www.cnd-industry.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-users@googlegroups.com To unsubscribe from this group, send email to [EM

Re: newbie problem: no django.core.management

2007-10-24 Thread tomris
http://www.cnd-industry.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-users@googlegroups.com To unsubscribe from this group, send email to [EM

DateTimeField auto_now / auto_now_add and UTC

2007-10-24 Thread Joe Holloway
I'm looking to store UTC date/times so I don't have to worry about time zones until I localize the display. From looking at the code in DateTimeField I think I've answered my own question, but I just want to ask here for the sake of conversation. Is there a way to get the auto_now/auto_now_add fe

Re: Django rearranges query strings?

2007-10-24 Thread Dani
Yep, its the slash thing, fixed it by adding an extension. I guess (without looking at the code) the rearrange is just because the internal query string dictionary is not ordered. But still - the encoding after the redirect shouldn't change. For example, my query string contains a=%E0 it will be r

Admin error trying to run Django 91& 97 on same hostname w/different ports

2007-10-24 Thread [EMAIL PROTECTED]
I'm running Django 91 and 97 on my development server with different port numbers and I'm getting admin errors when I log in to the 91 sites. If I hit refresh enough times, eventually it works. i.e. http://tbodev:9000 <-- Django 91 http://tbodev:1 <-- Django 97 It appears to be session rela

Error with Psycopg2: argument of type _QuerySet is not iterable

2007-10-24 Thread [EMAIL PROTECTED]
I have piece of code that works fine with Psycopg, but when I use Psycopg2 in my settings file, I get this error: > if not assigned_user in > User.objects.filter(groups__name__exact=assigned_group): > ... TypeError: argument of type '_QuerySet' is not iterable Am I doing something obviously wr

Re: Entering Greek, cyrillic, or other 'weird' text

2007-10-24 Thread bjornkri
Got it! It was a core problem, so to speak... I tried dropping the database and create it again, this time with the crucial (apparently) option CHARACTER SET utf8. So, for anyone who has the same problem: CREATE DATABASE CHARACTER SET utf8; It's in the manual and everything :P Did that and tr

Re: Entering Greek, cyrillic, or other 'weird' text

2007-10-24 Thread bjornkri
I did that, but that made no difference. Even if the title field doesn't have any special characters it still crashes. Some data IS entered into the database - when I tried just now with a 'content' of Greek text, I get the Incorrect string value message, but when I go back to the admin interface

Can not load template library

2007-10-24 Thread Greg
Hello, I've developed a django app on my computer using the developmental version of Django. I've recently started the process of migrating it to a web hosting provider. When I try to access my site I get the following error: TemplateSyntaxError at / 'sc_details' is not a valid tag library: Cou

Re: Entering Greek, cyrillic, or other 'weird' text

2007-10-24 Thread Kenneth Gonsalves
On 24-Oct-07, at 4:42 PM, bjornkri wrote: > def __unicode__(self): > return self.title def __unicode__(self): return u"%s" % self.title<- try this -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~~

Re: Example for update_object

2007-10-24 Thread Horst Gutmann
Just spam ;-) On 10/24/07, Florian Lindner <[EMAIL PROTECTED]> wrote: > > Am Mittwoch, 24. Oktober 2007 schrieb tomris: > > http://www.cnd-industry.com/ > > Is is just spam or meant serious in a way I don't understand? > > Regards, > > Florian > > > > > --~--~-~--~~~-

Re: Example for update_object

2007-10-24 Thread Florian Lindner
Am Mittwoch, 24. Oktober 2007 schrieb tomris: > http://www.cnd-industry.com/ Is is just spam or meant serious in a way I don't understand? Regards, Florian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: newbie problem: no django.core.management

2007-10-24 Thread johannes
Ok. Thank you all. I now downloaded the current release directly from djangoproject and everything worked fine. I didn't find out what was exactly wrong with the macports django package, but probably the problem was that I use the Macpython 2.5 binary package and not the py25 package from macports

Re: Entering Greek, cyrillic, or other 'weird' text

2007-10-24 Thread tomris
http://www.cnd-industry.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-users@googlegroups.com To unsubscribe from this group, send email to [EM

Example for update_object

2007-10-24 Thread Florian Lindner
Hello, I'm looking for an example on how to use the django.views.generic.create_update.update_object generic view. Some of the concrete question I have: Is object.get_absolute_url() a function I need to implement in my model? The documentation of the view links to the manipulator and formfield

Re: Entering Greek, cyrillic, or other 'weird' text

2007-10-24 Thread bjornkri
Yeah, here's the model: class Page(models.Model): language = models.CharField(maxlength=2, choices=LANGUAGE_CHOICES) title = models.CharField(maxlength=60) path = models.SlugField(prepopulate_from=('language','title',)) content = models.TextField(blank=True) class Admin():

Re: Entering Greek, cyrillic, or other 'weird' text

2007-10-24 Thread Kenneth Gonsalves
On 24-Oct-07, at 3:37 PM, bjornkri wrote: > 0.97-pre-SVN-6603 (just updated, had the same on -6596) are you using the __unicode__(self): return u"string to return" syntax? -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~

Re: Error During Django Intall on Mac

2007-10-24 Thread Francis Lavoie
Because this is a secured area in your system. If you want to change something you need admin/root acces like when you install software. try : sudo ln -s /usr/local/lib/python2.3/site-packages/django_src/django/ bin/django-admin.py /usr/local/bin/django-admin.py it will ask for your passwor

Re: Query on Instant Messaging

2007-10-24 Thread Jon Atkinson
I've used xmpppy in the past to communicate with users over instant message: http://xmpppy.sourceforge.net/ If you're just wanting users of the same site to communicate, have you considered something like IRC? It's incredibly simple to use (you can run the server on the same machine as the site)

Re: Entering Greek, cyrillic, or other 'weird' text

2007-10-24 Thread bjornkri
0.97-pre-SVN-6603 (just updated, had the same on -6596) On Oct 24, 11:44 am, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > On 24-Oct-07, at 1:28 PM, bjornkri wrote: > > > I was sure this must be a common problem, as I've tried two different > > installations with completely different setups, and

Re: Entering Greek, cyrillic, or other 'weird' text

2007-10-24 Thread Kenneth Gonsalves
On 24-Oct-07, at 1:28 PM, bjornkri wrote: > I was sure this must be a common problem, as I've tried two different > installations with completely different setups, and the same results > in both cases. But looking up the error message, "Incorrect string > value", didn't give me anything what ve

Re: Error During Django Install on Mac

2007-10-24 Thread Jon Atkinson
> The link should technically go in /usr/local/bin as Django > was build locally, and it's part of the distributors package set > :-) Oops, that should read "it's NOT part of the distributors package set". --Jon --~--~-~--~~~---~--~~ You received this message be

Re: Error During Django Install on Mac

2007-10-24 Thread Jon Atkinson
Hi, > sudo ln -s pathtodjango/bin/django-admin.py /usr/bin/django-admin.py ... that was my next step :-) The link should technically go in /usr/local/bin as Django was build locally, and it's part of the distributors package set :-) --Jon --~--~-~--~~~---~--~~

Re: Error During Django Install on Mac

2007-10-24 Thread Kenneth Gonsalves
On 24-Oct-07, at 12:31 PM, jnap wrote: > Now I get this error: -bash: django-admin.py: command not found when I > run django-admin.py startproject testproject sudo ln -s pathtodjango/bin/django-admin.py /usr/bin/django-admin.py -- regards kg http://lawgon.livejournal.com http://nrcfosshelpli

Re: Error During Django Install on Mac

2007-10-24 Thread Kenneth Gonsalves
On 24-Oct-07, at 12:15 PM, jnap wrote: > > anyone? > > On Oct 24, 2:36 am, jnap <[EMAIL PROTECTED]> wrote: >> sorry for another dumb question...but how do i do it as root? on ubuntu - type sudo ln -s etc on other distros type su, press enter and enter the root password and then execute the co

Re: Error During Django Install on Mac

2007-10-24 Thread Jon Atkinson
Please could you run the following command in your terminal, and paste the output into your reply: echo $PATH --Jon On 10/24/07, jnap <[EMAIL PROTECTED]> wrote: > > Don't know what RTFM means but sudo works. > > Now I get this error: -bash: django-admin.py: command not found when I > run django

Re: Does anyone know where I can find cache tag library?

2007-10-24 Thread Nicholas Ding
Thanks a lot, I've checked out from svn. On 10/23/07, Karen Tracey <[EMAIL PROTECTED]> wrote: > > If you're referring to template fragment caching, it's been in trunk since > rev. 6580 (just a couple of days). Doc is here: > > > http://www.djangoproject.com/documentation/cache/#template-fragment-c

Re: Query on Instant Messaging

2007-10-24 Thread Samuel Adam
http://www.jabber.org/about/overview.shtml On Oct 24, 10:06 am, Subramanyam <[EMAIL PROTECTED]> wrote: > Hi > > Do we have any libraries in django to provide instant messaging or are > there any open source project that we can integrate it into our web > server (Django-server ) and provide instan

Query on Instant Messaging

2007-10-24 Thread Subramanyam
Hi Do we have any libraries in django to provide instant messaging or are there any open source project that we can integrate it into our web server (Django-server ) and provide instant messaging Just like what gmail has, some web-page based messaging between contacts of the same domain users

Entering Greek, cyrillic, or other 'weird' text

2007-10-24 Thread bjornkri
I was sure this must be a common problem, as I've tried two different installations with completely different setups, and the same results in both cases. But looking up the error message, "Incorrect string value", didn't give me anything. So, sorry if this has been asked already, blame it on a wea

Re: Django rearranges query strings?

2007-10-24 Thread Samuel Adam
It may have something to do with the CommonMiddleware: http://www.djangoproject.com/documentation/middleware/#django-middleware-common-commonmiddleware It doesn't see the trailing slash on your query : /app? and redirects to /app/? Your redirect is strange, it could be a misuse of a regexp in y

Re: Error During Django Install on Mac

2007-10-24 Thread jnap
Don't know what RTFM means but sudo works. Now I get this error: -bash: django-admin.py: command not found when I run django-admin.py startproject testproject I suppose I am running it from the wrong directory but I have tried multiple ones and I get the same result with each try. On Oct 24, 2