Hi I am trying to get a sitemap index generated however I only get
"Exception Type:ValueError
Exception Value:Empty module name"
I am not sure what I am doing wrong.
urls.py
sitemaps = {
'blog':BlogSitemap,
'gallery':GallerySitemap,
}
urlpatterns = patterns('',
Hi,
I just read chapter 12 in djangobook.com on authentication:
http://www.djangobook.com/en/beta/chapter12/
I am creating a new user in response to a registration form I've made,
doing something like this:
from django.contrib import auth
from django.contrib.auth.models import User
def
On 8/4/07, Aljosa Mohorovic <[EMAIL PROTECTED]> wrote:
> i'm trying to find a way to translate newforms errors but i can't find
> it in docs.
> does anybody know if this is documented somewhere?
Newforms error messages should be Unicode strings, so use the
'ugettext' or 'ugettext_lazy' functions
i'm trying to find a way to translate newforms errors but i can't find
it in docs.
does anybody know if this is documented somewhere?
it's simple to display form errors just by displaying messages on
english but i don't know a good way to do it on some other language.
any tips on how to
On 8/4/07, eXt <[EMAIL PROTECTED]> wrote:
> You shold read very good summary on extending user model here:
> http://www.amitu.com/blog/2007/july/django-extending-user-model/
This method will probably have serious problems on multi-site
installations, and -- unlike AUTH_PROFILE_MODULE -- has no
On Aug 1, 11:04 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> >From the documentation:
>
> "A ValuesQuerySet is useful when you know you're only going to need
> values from a small number of the available fields and you won't need
> the functionality of a model instance object. It's more
On Aug 1, 10:07 pm, "Lic. José M. Rodriguez Bacallao"
<[EMAIL PROTECTED]> wrote:
> how can I change the "related_name" value in a ForeignKey field dynamically
> at model creation time?
>
What do you really mean I don't understand, give an example
Speed up your system, repair registry base, uninstall hidden windows
components and get rid of boring errors with powerful tips and tricks.
http://windowsxpsp2pro.blogspot.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
About a month ago I quit my job at Hollister. I didn't quit it because
I didn't like it there I quit because I was making about 150-200
dollars a day filling out opinion surveys for Nike. I mean seriously
that's close to four times what I was making at Hollister. There are
still job openings if
On Sat, Aug 04, 2007 at 12:09:07PM +0200, Michael Elsdoerfer wrote:
>
> > def save(self):
> > if self.id is not None:
> > old_self = self.__class__.get(id = self.id)
> > if self.id is None or (old_self.city != self.city) or (
> > old_self.state != self.state):
> >
Windows XP tips and tricks. Learn how to bypass very common windows
problems, to speed up your system and make it more reliable with useful tips
and tricks.
http://windowsxpsp2pro.blogspot.com
--~--~-~--~~~---~--~~
You received this message because you are
Hi!
You shold read very good summary on extending user model here:
http://www.amitu.com/blog/2007/july/django-extending-user-model/
Regards
--
Jakub Wisniowski
On 4 Sie, 12:54, ocgstyles <[EMAIL PROTECTED]> wrote:
> Perfect. I google'd AUTH_PROFILE_MODULE and found a nice writeup:
>
>
Perfect. I google'd AUTH_PROFILE_MODULE and found a nice writeup:
http://www.b-list.org/weblog/2006/06/06/django-tips-extending-user-model
Looks like that will suit my needs.
Thanks
On Aug 3, 7:56 am, daev <[EMAIL PROTECTED]> wrote:
> You can create Profile model that can have all additional
On Aug 4, 8:05 pm, David Reynolds <[EMAIL PROTECTED]> wrote:
> On 4 Aug 2007, at 6:00 am, Kenneth Gonsalves wrote:
>
> > could you mention what exactly the problems you are facing - as i
> > mentioned, on one site i have faced the problem of the initial screen
> > in admin loading with the fields
Need another tester? Count me in.
2007/8/4, Mir Nazim <[EMAIL PROTECTED]>:
>
> Me too me too.
>
> Ben, Let us know if you need help with testing or some thing else.
> I will more interested in Models and View than template.
>
>
>
> On Aug 3, 11:51 am, "Matt Davies" <[EMAIL PROTECTED]> wrote:
> >
Trac seems a good idea. Self hosted is always better.
Well, if the project goes active, just drop me a line.
I'm pretty busy atm, but I can find time to help with this project.
Thanks for the reply, emperor.
2007/8/3, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> Well, all that stuff is still up
> def save(self):
> if self.id is not None:
> old_self = self.__class__.get(id = self.id)
> if self.id is None or (old_self.city != self.city) or (
> old_self.state != self.state):
> self.geocode = self.get_geocode()
> super(SiteUser, self).save()
You can also
On 4 Aug 2007, at 6:00 am, Kenneth Gonsalves wrote:
could you mention what exactly the problems you are facing - as i
mentioned, on one site i have faced the problem of the initial screen
in admin loading with the fields of the admin screen of the previous
site accessed in another browser tab.
On 3 Aug 2007, at 3:55 pm, James Tauber wrote:
A number of sites I'm working on will optionally notify users of
certain events via email. Think of the email you get from a social
networking site when someone wants to add you as a friend. Or forum
software that emails subscribers to a thread
Me too me too.
Ben, Let us know if you need help with testing or some thing else.
I will more interested in Models and View than template.
On Aug 3, 11:51 am, "Matt Davies" <[EMAIL PROTECTED]> wrote:
> Ben, I'd be interested in looking at that application.
>
> Need someone to help with
Hi Przemek,
Is that running by runserver:8000?
Is your django dev server serving static files?
What log file is show?
On 8/3/07, Matt Davies <[EMAIL PROTECTED]> wrote:
> Hi Przemek
>
> I do, but I hand the request from apache to Lighttpd, which in it's conf
> file handles the serving of docs.
>
Hi,
fedora 7
django 0.96
DATABASE_ENGINE = 'sqlite3'
maybe its late but DateField is causing me some grief when trying to
load some test data from
the command line (ie: not via admin web).
in model
test_date = models.DateField()
in another python script (run on command line ) that imports
On 03-Aug-07, at 10:02 PM, Nis Jørgensen wrote:
>> how about surrounding the statement with a try and work the leap year
>> to regular year case with the exception?
> That seems like overkill. There isn't really any leap-year handling
> necessary:
>
> import datetime.date as date
this should
23 matches
Mail list logo