Re: issue with django tagging

2008-12-10 Thread [EMAIL PROTECTED]
line 57, in _import_settings raise ImportError("Settings cannot be imported, because environment variable %s is undefined." % ENVIRONMENT_VARIABLE) ImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined. On Dec 10, 12:00 am, Mario &

Re: issue with django tagging

2008-12-10 Thread [EMAIL PROTECTED]
Thank you very much. I'll try it at once.BTW:when will the 0.3 version release? :) On Dec 10, 12:14 am, garagefan <[EMAIL PROTECTED]> wrote: > I had the same issue... you need to do two things... > > copy this into the setup.py > > from django.conf import settings >

issue with django tagging

2008-12-09 Thread [EMAIL PROTECTED]
he 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: How to import DoesNotExist exception ???

2008-12-08 Thread [EMAIL PROTECTED]
I'm not sure where you got that code snippet from, but DoesNotExist is an attribute on model classes, so that shoul read: except Tag.DoesNotExist. On Dec 8, 2:52 pm, Info Cascade <[EMAIL PROTECTED]> wrote: > How do I import the DoesNotExist exception? > > This doesn&#

Re: Ruby on Rails vs Django

2008-12-05 Thread [EMAIL PROTECTED]
arning new things, but sometime you just want to build something from tools you already understand. YMMV, Bryan p.s. I have not worked with Python3k. That will be a change, but it's a big number change. On Dec 5, 8:30 am, bruno desthuilliers <[EMAIL PROTECTED]> wrote: > On 5 déc,

Re: Ruby on Rails vs Django

2008-12-05 Thread [EMAIL PROTECTED]
yes... I saw that thread... but it is 14 months old !!! and in IT 14 months is a LOT On 5 dic, 10:17, "Marinho Brandao" <[EMAIL PROTECTED]> wrote: > http://www.google.com.br/search?q=Ruby+on+Rails+vs+Django > > 2008/12/5 [EMAIL PROTECTED] <[EMAIL PROTECTED]>: >

Ruby on Rails vs Django

2008-12-05 Thread [EMAIL PROTECTED]
oogle Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: More User/Profile troubles

2008-12-04 Thread [EMAIL PROTECTED]
Dec, 18:17, Brian Neal <[EMAIL PROTECTED]> wrote: > On Dec 4, 11:08 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote:> I apologise for spamming everyone, here i stuck it up at dpaste with > > the comments which makes it a bit clearer-http://dpaste.com/961

Re: More User/Profile troubles

2008-12-04 Thread [EMAIL PROTECTED]
I apologise for spamming everyone, here i stuck it up at dpaste with the comments which makes it a bit clearer- http://dpaste.com/96128/ On 4 Dec, 17:01, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I dont know why the margins are squashing everything, ill try and post &

Re: More User/Profile troubles

2008-12-04 Thread [EMAIL PROTECTED]
m.is_valid(): userformInstance = form.save() extraformedit = extraform.save(commit=False) extraformedit.user = userformInstance extraformedit.save() return HttpResponseRedirect("/") Hope that works a bit better. On 4 Dec, 16:57, "[EMAIL PROT

Re: More User/Profile troubles

2008-12-04 Thread [EMAIL PROTECTED]
ttached to extraformedit.save () #save the edited form to the database. return HttpResponseRedirect("/") Am I way off? Again I am very new to this so sorry if this is a stupid question. Phil On 3 Dec, 18:52, Brian Neal <[EMAIL PROTECTED]

More User/Profile troubles

2008-12-03 Thread [EMAIL PROTECTED]
using, am I on the right track at least? Any help Would be great! Phil --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Disappearing inline in admin

2008-12-03 Thread [EMAIL PROTECTED]
On Dec 3, 10:49 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > When I go to Article, the sections are there, inline, as they should > be. When I SAVE, all the sections disappear. Suggestions? Turns out there was a unicode error in the inline. Maybe it will help

Disappearing inline in admin

2008-12-03 Thread [EMAIL PROTECTED]
ved 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Query API: get all users without a group

2008-12-02 Thread [EMAIL PROTECTED]
You could do User.objects.exclude(groups__in=Group.objects.all ().query) which will actually generate a subquery. Alex On Dec 2, 10:45 am, Thomas Guettler <[EMAIL PROTECTED]> wrote: > Hi, > > I want to get all objects where the corresponding many-to-many field is > empty. >

Re: dynamic associations?

2008-11-29 Thread [EMAIL PROTECTED]
Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: adding with ORM is slow

2008-11-28 Thread [EMAIL PROTECTED]
Ah, you're correct, not sure what I was thinking of. Alex On Nov 28, 9:35 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Fri, 2008-11-28 at 18:26 -0800, [EMAIL PROTECTED] wrote: > > Can you try doing Country.objects.create(name=name) instead? > > Have a loo

Re: Raw SQL and model instances

2008-11-28 Thread [EMAIL PROTECTED]
Malcolm, I believe that should be params = dict(zip(fields, row)) On Nov 28, 8:34 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Fri, 2008-11-28 at 19:54 +0900, Russell Keith-Magee wrote: > > [...] > > > >>> cursor.execute('SELECT ...') > &g

Re: adding with ORM is slow

2008-11-28 Thread [EMAIL PROTECTED]
Can you try doing Country.objects.create(name=name) instead? On Nov 28, 8:50 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Fri, 2008-11-28 at 08:40 -0800, burb wrote: > > [...] > > > Code with cursor runs 100x faster than ORM code. > > [...] > > &g

new comments and ratings

2008-11-28 Thread [EMAIL PROTECTED]
tings on multiple categories. --~--~-~--~~~---~--~~ 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

Re: Address Book Contact Importer in Python/Django?

2008-11-27 Thread [EMAIL PROTECTED]
Thanks guys, I've had a think about your security points Jarek. I guess it's a tough decision to make... :-\ On Nov 27, 11:47 am, Brot <[EMAIL PROTECTED]> wrote: > does this help > Accessing your Gmail contact list with Python (http://www.holovaty.com/ > blog/archive/20

Re: Django 1.0 tutorial

2008-11-27 Thread [EMAIL PROTECTED]
hecked the docs but the example provided is not clear. --~--~-~--~~~---~--~~ 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

Address Book Contact Importer in Python/Django?

2008-11-27 Thread [EMAIL PROTECTED]
roup, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Caching and I18n

2008-11-25 Thread [EMAIL PROTECTED]
Maik --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more

path issue

2008-11-24 Thread [EMAIL PROTECTED]
he 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: redirection 2 links back after signing up?

2008-11-23 Thread [EMAIL PROTECTED]
23, 9:51 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I just solved this issue. I did by using using sessions. > > I initialize this in a couple of views. > > request.session['last'] = request.get_full_path() > > If a user tries to do something

Re: redirection 2 links back after signing up?

2008-11-23 Thread [EMAIL PROTECTED]
irected to what is specified in next.. fill out a form, yada yada yada. after success of that I then do this. return HttpResponseRedirect(request.session['last']) hope this helps. On Nov 5, 11:08 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > That is the prob

Re: help, ORM memory problems

2008-11-23 Thread [EMAIL PROTECTED]
Try doing Legacy.objects.all().iterator(), this isn't technically the public API, but this grabs the results at a lower level, so it doesn't get cached. On Nov 23, 5:44 pm, derek73 <[EMAIL PROTECTED]> wrote: > I have written a management script to migrate data from an exist

UnicodeEncodeError using mysql as db

2008-11-23 Thread [EMAIL PROTECTED]
rds, Luis --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit

Re: 'QuerySet' object has no attribute '_meta'

2008-11-21 Thread [EMAIL PROTECTED]
You can pass modelformset_factory a kwarg form which should just me the form class you want to use(aka make a ModelForm with the changes to the widgets). Alex On Nov 21, 7:25 pm, ayayalar <[EMAIL PROTECTED]> wrote: > Karen, > > On this note, is it possible to customize the widget

New Django user: How do I return the server's IP address?

2008-11-21 Thread [EMAIL PROTECTED]
;Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

change in admin template django/contrib/admin/templates/widget

2008-11-21 Thread [EMAIL PROTECTED]
group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Creating formsets through AJAX

2008-11-20 Thread [EMAIL PROTECTED]
On 20 nov, 14:31, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On 20 nov, 06:54, "Brian Rosner" <[EMAIL PROTECTED]> wrote: > > > > > On Wed, Nov 19, 2008 at 10:23 PM, [EMAIL PROTECTED] > > > <[EMAIL PROTECTED]> wrote: &

Re: Creating formsets through AJAX

2008-11-20 Thread [EMAIL PROTECTED]
On 20 nov, 06:54, "Brian Rosner" <[EMAIL PROTECTED]> wrote: > On Wed, Nov 19, 2008 at 10:23 PM, [EMAIL PROTECTED] > > > > <[EMAIL PROTECTED]> wrote: > > > On 20 nov, 06:01, "Brian Rosner" <[EMAIL PROTECTED]> wrote: > >> On W

Re: django site within 7 hours (a day)

2008-11-20 Thread [EMAIL PROTECTED]
lthough the submit button at the top doesn't seem to work... --~--~-~--~~~---~--~~ 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

Re: Creating formsets through AJAX

2008-11-19 Thread [EMAIL PROTECTED]
On 20 nov, 06:01, "Brian Rosner" <[EMAIL PROTECTED]> wrote: > On Wed, Nov 19, 2008 at 9:53 PM, [EMAIL PROTECTED] > > <[EMAIL PROTECTED]> wrote: > > > I use a fake queryset because it's the only way that I found to > > populate the fo

Re: Creating formsets through AJAX

2008-11-19 Thread [EMAIL PROTECTED]
On 20 nov, 05:33, "Brian Rosner" <[EMAIL PROTECTED]> wrote: > On Wed, Nov 19, 2008 at 9:14 PM, [EMAIL PROTECTED] > > > > <[EMAIL PROTECTED]> wrote: > > > On 20 nov, 05:01, "Brian Rosner" <[EMAIL PROTECTED]> wrote: > >>

Re: Creating formsets through AJAX

2008-11-19 Thread [EMAIL PROTECTED]
On 20 nov, 05:01, "Brian Rosner" <[EMAIL PROTECTED]> wrote: > On Wed, Nov 19, 2008 at 8:59 PM, Brian Rosner <[EMAIL PROTECTED]> wrote: > > On Wed, Nov 19, 2008 at 8:43 PM, Luper Rouch <[EMAIL PROTECTED]> wrote: > >> For django to save the for

Re: serving static file via django

2008-11-18 Thread [EMAIL PROTECTED]
yes..its just a transparent gif...i'm thinking of writing my own view, which will get the visitor data and then just call the static serve method provided by django. just dont know it its ok inproduction env though.. On Nov 19, 12:53 am, "David Zhou" <[EMAIL PROTECTED]> wro

Re: serving static file via django

2008-11-18 Thread [EMAIL PROTECTED]
s, -p On Nov 18, 10:23 pm, "David Zhou" <[EMAIL PROTECTED]> wrote: > On Tue, Nov 18, 2008 at 9:40 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > david, > > > can you illustrate how ? sorry -- havent worked with django signals > > earlier >

Re: serving static file via django

2008-11-18 Thread [EMAIL PROTECTED]
david, can you illustrate how ? sorry -- havent worked with django signals earlier thnx, -p On Nov 18, 7:06 pm, "David Zhou" <[EMAIL PROTECTED]> wrote: > On Tue, Nov 18, 2008 at 6:22 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > my requirement is that I n

serving static file via django

2008-11-18 Thread [EMAIL PROTECTED]
. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more opti

Re: Multithreaded Dev Server

2008-11-16 Thread [EMAIL PROTECTED]
group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Caching and I18n

2008-11-16 Thread [EMAIL PROTECTED]
=utf-8 Content-Language: de 200 OK I'm lost. Maybe Beegee from the other thread found a solution in the meantime. On Nov 16, 10:33 pm, "Ramiro Morales" <[EMAIL PROTECTED]> wrote: > On Sun, Nov 16, 2008 at 10:51 AM, [EMAIL PROTECTED] > > > > > > <[

Re: Post/redirect/get pattern for file upload with confirmation

2008-11-16 Thread [EMAIL PROTECTED]
at won't happen anytime soon. On Nov 16, 1:51 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi Malcolm, > thanks for the fast reply. > > What is the downside of sticking this kind of information into a > session, just that the session backend needs to ca

Caching and I18n

2008-11-16 Thread [EMAIL PROTECTED]
E_MIDDLEWARE_ANONYMOUS_ONLY = True --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Post/redirect/get pattern for file upload with confirmation

2008-11-16 Thread [EMAIL PROTECTED]
URL. Thanks Stefan On Nov 16, 1:16 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sun, 2008-11-16 at 12:58 +0100, Stefan Wallner wrote: > > p,,,[ > > > My basic idea would be to use the same URL and view/template for   > > getting the directory listing an

Re: Post/redirect/get pattern for file upload with confirmation

2008-11-16 Thread [EMAIL PROTECTED]
Hi Malcolm, thanks for the fast response. I had thought about both approaches, but both didn't feel 100% right (more a gut feeling than anything). On Nov 16, 1:16 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sun, 2008-11-16 at 12:58 +0100, Stefan Wallner wrote: >

Re: Multithreaded Dev Server

2008-11-15 Thread [EMAIL PROTECTED]
http://www.oebfare.com/blog/2008/nov/03/writing-custom-management-command/ The CherryPy WSGI server should make this really, you could probably even deploy on it if you wanted. On Nov 16, 1:15 am, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > On Nov 16, 4:40 pm, Chris <[EMAIL PROTE

Templates and method arguments for thumbnails

2008-11-15 Thread [EMAIL PROTECTED]
e 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: TemplateDoesNotExist

2008-11-14 Thread [EMAIL PROTECTED]
I think the problem was a combination of an incorrect template directory and forgetting to touch dispatch.fcgi, in any case, it seems to be working now. Thanks for the help, Jason On Nov 13, 4:32 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Thu, 2008-11-13 at 11:12 -0800

Re: Book or documentation first

2008-11-13 Thread [EMAIL PROTECTED]
rsion. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more

Re: Improvement: documentation example for extra Manager methods

2008-11-13 Thread [EMAIL PROTECTED]
a filtered queryset :-) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more opti

Improvement: documentation example for extra Manager methods

2008-11-13 Thread [EMAIL PROTECTED]
sage 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Using FilteredSelectMultiple with Ajax

2008-11-13 Thread [EMAIL PROTECTED]
HTML? Thanks L. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at

Re: TemplateDoesNotExist

2008-11-12 Thread [EMAIL PROTECTED]
fferent posts, one referencing the directory structure for the initial problem on Dreamhost and the test I did on my local machine using the development server - which also returned the same error. On Nov 12, 10:29 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Wed, 2008-11-12 at 22

Re: TemplateDoesNotExist

2008-11-12 Thread [EMAIL PROTECTED]
The directory structure is: /home/USERNAME/projects/django_templates/SITENAME/polls - index.html - base.html I'm sure it's my fault, I just don't see it. On Nov 12, 6:10 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Wed, Nov 12, 2008 at 1:39 PM, [EMAIL P

Re: TemplateDoesNotExist

2008-11-12 Thread [EMAIL PROTECTED]
s import Poll from django.http import HttpResponse def index(request): latest_poll_list = Poll.objects.all().order_by('-pub_date')[:5] t = loader.get_template('polls/index.html') c = Context({ 'latest_poll_list': latest_poll_list, }) return Http

Re: Performing an operation

2008-11-12 Thread [EMAIL PROTECTED]
Thanks for your help Daniel! I havent got hosting sorted yet so its something Ill have to set up later. I guess I can set up the custom command and do it manually for now. Phil On Nov 12, 5:29 pm, Daniel Roseman <[EMAIL PROTECTED]> wrote: > On Nov 12, 5:02 pm, "[EMAIL PROTE

Re: TemplateDoesNotExist

2008-11-12 Thread [EMAIL PROTECTED]
This is running on Dreamhost, who doesn't allow running independent servers, so I am currently unable to test using the development server. I'll set something up on my local machine and see what happens. Thanks, Jason On Nov 11, 8:49 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>

Performing an operation

2008-11-12 Thread [EMAIL PROTECTED]
this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

TemplateDoesNotExist

2008-11-11 Thread [EMAIL PROTECTED]
--~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: using Etags or http response code 304 (not modified)

2008-11-11 Thread [EMAIL PROTECTED]
Feedburner fetcher when there's no new content. -pranav. On Nov 10, 7:39 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Mon, Nov 10, 2008 at 4:14 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > I've tried using the USE_ETAGS=true in my p

Re: Sending mass, yet personalised email newsletters using Django

2008-11-11 Thread [EMAIL PROTECTED]
Hello Patrick, On Nov 11, 1:53 am, "Patrick J. Anderson" <[EMAIL PROTECTED]> wrote: > > Some of the main requirements are: > > * Personalised HTML/text messages > * Manual delivery twice a week > * Message logging/archiving > * Amount of newsleter issues: ~5

Re: Using Django

2008-11-10 Thread [EMAIL PROTECTED]
nt the next line to enable the admin: (r'^admin/(.*)', admin.site.root), # LINE 21 ) Thanks for all the help, Jason On Nov 7, 7:32 am, Blu3ness <[EMAIL PROTECTED]> wrote: > 500 error will generate a error log in your ~/logs/ directory, do a > little research on it, or m

using Etags or http response code 304 (not modified)

2008-11-10 Thread [EMAIL PROTECTED]
email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Browser access to manage.py / django command extensions

2008-11-10 Thread [EMAIL PROTECTED]
Maybe a button with a drop-down list for the commands he wants? Could be part of the admin. On Nov 10, 12:50 pm, Joe Murphy <[EMAIL PROTECTED]> wrote: > Hi all, > > Boss wants browser access to a couple custom django command extensions > -- wants it to be simple to admini

has more than 1 ForeignKey to

2008-11-10 Thread [EMAIL PROTECTED]
gle Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

django.db.models.Q

2008-11-09 Thread [EMAIL PROTECTED]
u 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: How to order a list with a self-referential foreign key? (a category list)

2008-11-08 Thread [EMAIL PROTECTED]
roups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

How to order a list with a self-referential foreign key? (a category list)

2008-11-07 Thread [EMAIL PROTECTED]
return False super(Category, self).save(force_insert, force_update) def __unicode__(self): return self.get_full_name() --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" grou

Re: Oracle Clob Field type

2008-11-07 Thread [EMAIL PROTECTED]
5, 9:06 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Wed, Nov 5, 2008 at 5:54 PM, [EMAIL PROTECTED] < > > > > [EMAIL PROTECTED]> wrote: > > > Noob here... > > > I have an existing table with two Clob fields. While defining the >

Re: Using Django

2008-11-06 Thread [EMAIL PROTECTED]
/2006/may/11/django-dreamhost/ which is where I heard about the Gordon Tillman fix. Thanks for the help thus far and any related to my new problem. Jason On Nov 6, 9:56 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I used the Gordon Tillman > setup:http://www.gordonti

Re: Using Django

2008-11-06 Thread [EMAIL PROTECTED]
[L] Here is my directory structure: home/USERNAME/ www.mysite.com/ www.anothersite.com/ www.yetanothersite.com/ projects/ django/ flup/ django_templates/ media/ mysite/ On Nov 5, 5:56 pm, AndyB <[EMAIL PROTECTED]> wrote: > http://wiki.dreamhost.co

Re: Installation of django in user account

2008-11-06 Thread [EMAIL PROTECTED]
No one? On Nov 5, 6:18 pm, "Tim O'Toole" <[EMAIL PROTECTED]> wrote: > Hi all, > > I was wondering how feasile it is it to install Django in a user > account without root access. I followed the instruction at: > > http://docs.djangoproject.com/en/dev/topics

Django Using Multiple Databases in a Web Application

2008-11-06 Thread [EMAIL PROTECTED]
settings.py If anyone can give me a step by step to create additional sqlite databases that I want to refer to in a Django Application it would be most appreciated. Kind Regards David Thomson [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message

Re: Keeping track of online users

2008-11-05 Thread [EMAIL PROTECTED]
On Nov 3, 12:07 am, JoeJ <[EMAIL PROTECTED]> wrote: > Are you looking for something like 'django-tracking' ?? >  http://code.google.com/p/django-tracking/ > > I was just perusing this last night, for use on a site of mine. > > -- joe excuse

Oracle Clob Field type

2008-11-05 Thread [EMAIL PROTECTED]
bed 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: redirection 2 links back after signing up?

2008-11-05 Thread [EMAIL PROTECTED]
s the best way to do this? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more

redirection 2 links back after signing up?

2008-11-05 Thread [EMAIL PROTECTED]
le Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Using Django

2008-11-04 Thread [EMAIL PROTECTED]
n Nov 3, 4:10 pm, Steve Holden <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > I understand the mapping of urls.py but I guess I'm not clear on a few > > things to begin with, like what is the equivalent to an index.html > > page in django? I know that the syste

Where can I find the "What's new" in detail in django's doc 1.0?

2008-11-04 Thread [EMAIL PROTECTED]
ooglegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Forms Question

2008-11-03 Thread [EMAIL PROTECTED]
Yep, you need to do the if is_valid() stuff, but other than the save() method it works like a normal form, more or less. On Nov 3, 8:07 pm, Robocop <[EMAIL PROTECTED]> wrote: > I tried that earlier but i failed terribly at syntax.  Should it be: > > f = ModelForm(request.POST) &g

Re: Using Django

2008-11-03 Thread [EMAIL PROTECTED]
0 am, "Low Kian Seong" <[EMAIL PROTECTED]> wrote: > Finding out a bit about urls.py and how it functions would do a world > of good. It is very flexible and powerful once you learn how to wield > it. > > Low Kian Seong > > http://lowkster.blogspot.com > > > &

Re: Password Field Form

2008-11-02 Thread [EMAIL PROTECTED]
Hi Nick, you can do this by passing the widget parameter to a CharField. A little example: password = forms.CharField(label=_(u'Password'),widget=forms.PasswordInput(render_value=False)) Lukas On Nov 2, 5:58 pm, nkulmati <[EMAIL PROTECTED]> wrote: > How com

Keeping track of online users

2008-11-01 Thread [EMAIL PROTECTED]
p. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: HttpRequest with chunked encoding is not buffered

2008-11-01 Thread [EMAIL PROTECTED]
any workaround? If mod_python does not work, what should I use? (My goal is to be able to receive chunked requests in some normal way in my django application). On Nov 1, 10:28 am, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > On Nov 1, 10:40 am, "Tomáš Brambora" <[EMAIL PROTE

Installing an app in a sub-directory of another site (urls question)

2008-11-01 Thread [EMAIL PROTECTED]
s, Lorenzo --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more

HttpRequest with chunked encoding is not buffered

2008-10-31 Thread [EMAIL PROTECTED]
---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at

Response is sent before post body arrives

2008-10-31 Thread [EMAIL PROTECTED]
mail to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Using Django

2008-10-31 Thread [EMAIL PROTECTED]
o users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: Execute a java program

2008-10-31 Thread [EMAIL PROTECTED]
On Oct 31, 2:21 pm, varikin <[EMAIL PROTECTED]> wrote: > On Oct 30, 5:12 am, "[EMAIL PROTECTED]" > > > > <[EMAIL PROTECTED]> wrote: > > Hi everyone I am newbie to django and I am italian so excuse me for my > > english :P > > I have to exec

Re: User.email

2008-10-31 Thread [EMAIL PROTECTED]
On Oct 31, 1:32 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Oct 31, 11:01 am, Daniel Roseman <[EMAIL PROTECTED]> > wrote: > > > > > On Oct 31, 9:51 am, "Alfredo Alessandrini" <[EMAIL PROTECTED]> > > wrote: > > &

Re: User.email

2008-10-31 Thread [EMAIL PROTECTED]
On Oct 31, 11:01 am, Daniel Roseman <[EMAIL PROTECTED]> wrote: > On Oct 31, 9:51 am, "Alfredo Alessandrini" <[EMAIL PROTECTED]> > wrote: > > > > > Hi, > > > I've this model: > > > from django.contrib.auth.models import User >

Re: FileField doesn't repopulate after a ValidationError on another field

2008-10-30 Thread [EMAIL PROTECTED]
, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Thu, Oct 30, 2008 at 10:52 AM, [EMAIL PROTECTED] < > > > > [EMAIL PROTECTED]> wrote: > > > Hello, > > > I've having a problem with FileField and ImageField. Basically, I have > > a f

FileField doesn't repopulate after a ValidationError on another field

2008-10-30 Thread [EMAIL PROTECTED]
s" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Re: content type

2008-10-30 Thread [EMAIL PROTECTED]
_view' definition. You need to generate a > HttpResponse object, set the response mimetype to the correct type of > file you're serving, and then set the 'Content-Disposition' key to > something like it says. Notice you can also set the filename if you > need to. > &g

Execute a java program

2008-10-30 Thread [EMAIL PROTECTED]
ers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

Syndication Feed-Problem

2008-10-30 Thread [EMAIL PROTECTED]
rInfo: listOfItems.append(selectedItem.item) return listOfItems --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~--~~~~--~~--~--~---

content type

2008-10-30 Thread [EMAIL PROTECTED]
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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/gr

  1   2   3   4   5   6   7   8   9   10   >