multilanguage folder names in urls?

2007-03-29 Thread voltron
Hi! Is it possible to use i18n for folder names in url patterns? For example "/accounts" in english would translate automatically to "konten" in German. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Djan

Re: Binary Data fields?

2007-02-19 Thread voltron
, "Honza Král" <[EMAIL PROTECTED]> wrote: > On 2/19/07, voltron <[EMAIL PROTECTED]> wrote: > > > > > How would I go about saving images in a database? The imageField saves > > images in the file system, how can I cleanly in a Djangoish way > > override

Binary Data fields?

2007-02-19 Thread voltron
How would I go about saving images in a database? The imageField saves images in the file system, how can I cleanly in a Djangoish way override this? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django u

Preliminary or draft Django Book as PDF?

2007-02-13 Thread voltron
Hi all! I think it would be cool to be able to read the Django book in PDF format, it´s much more comfortable to read on the train when one has no access to the net, and one avoids the Script execution errors that always crop up from the site. Do the authors have something of the sort somewhere?

Re: Registration confirmation view

2007-02-13 Thread voltron
Thanks for the tip Scoot! On Feb 12, 2:51 pm, "ScottB" <[EMAIL PROTECTED]> wrote: > On Feb 11, 3:42 pm, "voltron" <[EMAIL PROTECTED]> wrote: > > > I plan on using newForms and the auth module for my site. All of the > > examples I have seen invol

Registration confirmation view

2007-02-11 Thread voltron
Hi all, I plan on using newForms and the auth module for my site. All of the examples I have seen involve extracting form data and creating a user in the database immediately, how can I "shortcircuit" this process to allow one to confirm ones registration per email? What is the preferred "Django

Re: Installed apps settings, necessary?

2007-02-10 Thread voltron
Thank you all for the clarification! On Feb 10, 5:32 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > On 2/9/07, voltron <[EMAIL PROTECTED]> wrote: > > > what are the advantages of adding the apps to the settings file? > > Several things: > > * If an

Re: are the Installed apps settings necessary?

2007-02-10 Thread voltron
Aha! Thanks for the answers. --~--~-~--~~~---~--~~ 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

Installed apps settings, necessary?

2007-02-09 Thread voltron
Hi all, going bto install apps, one must add them to ty the book, the INSTALLED_APPS tuple setting, I noticed however that one that one can wire up views and in app directories and they work fine even if not added to the tuple in the settings file. My question: what are the advantages of adding

are the Installed apps settings necessary?

2007-02-09 Thread voltron
I posted this yesterday, but It did not show up, strange. According to the manual, one has to add apps to the INSTALLED_APPS setting tuple to make the usable in a project. I have created several test apps with views wired to urls in the projects url conf file, I was able to call up all urls witho

Re: Newbie going nuts: Serving admin media files

2007-02-08 Thread voltron
Hi Matt! Have you checked your urls.py settings? You should map "yoursite/data/ admin" to the admin view On Feb 8, 10:11 pm, "oggie rob" <[EMAIL PROTECTED]> wrote: > > and have forgotten what I did. Now, when I try to call up my admin > > pages, I get nothing. A blank. So my hunch is that apa

Re: Multiple profiles

2007-02-06 Thread voltron
> > @login_required > def myview(request): > profile = request.user.get_profile().get_for_user() > > On Feb 5, 5:01 pm, "voltron" <[EMAIL PROTECTED]> wrote: > > > Hi, > > > Accoridng to the Django book, one could extend the basic user model

Newforms usage and documentation

2007-02-05 Thread voltron
I found this great tutorial, is it still valid? Can I base my code on this tutorial without fearing that things might break later? Is there another source for newforms docs? Tutorial link : http://code.pui.ch/2007/01/07/using-djangos-newforms/ thanks --~--~-~--~~~---

Multiple profiles

2007-02-05 Thread voltron
Hi, Accoridng to the Django book, one could extend the basic user model by adding a profile class, this class is then set in the settings module thus: AUTH_PROFILE_MODULE = "myapp.mysiteprofile" How do I set multiple profiles? I would like to have different types of users, diffrentiating via d

Re: Admin page -Loging in problems

2007-02-05 Thread voltron
Hmm, I reset the database, restarted, invoked syncdb again, now it works :) On Jan 29, 9:20 pm, "voltron" <[EMAIL PROTECTED]> wrote: > Yes I did add the admin app, all models validated properly and I can > start the internal Django server > > On Jan 29, 5:04 am,

Admin Media strangeness

2007-02-04 Thread voltron
Hi all, copying the admin media folder(c:\Python24\Lib\site-packages\django \contrib\admin\media) to my web servers root (c:\xampplite\htdocs \admin_media) calling this url; http://localhost/django/admin/ , I get the admin pages showing up fine with the right CSS. My apache config looks like thi

Re: Admin page -Loging in problems

2007-01-29 Thread voltron
b.admin' in the installed apps section of > settings.py. Please check > > Ramdas > On 1/29/07, voltron <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > I have created my test app with several models, I called syncdb > > several times to correct som

Re: Admin page -Loging in problems

2007-01-29 Thread voltron
7; in the installed apps section of > settings.py. Please check > > Ramdas > On 1/29/07, voltron <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > I have created my test app with several models, I called syncdb > > several times to correct some errors in my models,

Re: Admin page -Loging in problems

2007-01-29 Thread voltron
Any ideas? I`m really stuck On Jan 29, 5:04 am, "Ramdas S" <[EMAIL PROTECTED]> wrote: > You have obviously not done something right with settings.py. > > Have you included 'dajngo.contrib.admin' in the installed apps section of > settings.py. Please check &g

Admin page -Loging in problems

2007-01-28 Thread voltron
Hi, I have created my test app with several models, I called syncdb several times to correct some errors in my models, but not once was I asked to create a superuser. No tracebacks, models ok, I run the interanal Django server, I try to log in from the admin page, but I have no username or p

Authentication and User DB

2006-12-15 Thread voltron
Hi, Can I just extend the Django User model( class) so that the Authentication middleware is also available for use? I have several other fields that I need for my site. Can I have 2 different types of user databases and still use Djangos Authentication middleware? A site that I´m developing ma

Re: Pickled Objects or Tuples?

2006-11-28 Thread voltron
Thank you all for your help. Just one other question, I noticed that one could use a field type called "CommaSeparatedIntegerField" when laying down models, could I use this instead of pickling tuples? What is the difference? Thanks --~--~-~--~~~---~--~~ You re