Re: Fwd:Django-palooza
Sounds like he has some good ideas, but one or two people nixed them and he's tarring the whole community with that brush. I've posted to say that my experiences with djangonauts have been very positive. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@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-developers -~--~~~~--~~--~--~---
Re: Django-palooza
> note: "one or two people nixed them" -> maybe you are having more details > than me, or you´re just assuming. Good point - perhaps instead of this; Sounds like he has some good ideas, but one or two people nixed them and he's tarring the whole community with that brush. I should have written this; Sounds like he has had some good ideas, but thinks they've been nixed unduly and he's tarring the whole community with that brush. Tone ;) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@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-developers -~--~~~~--~~--~--~---
Re: Tutorial updates for magic removal
Thanks for this Jeremy - it's very helpful! (and shows how much cleaner django is going to be with magic removal in place) I'm still getting my head around magic-removal (I'll be posting a question shortly) so I may have missed the obvious, but I think there are some oversights: 375 & 441: >>> Poll.objects.all() and should 484 be; >>> c.Poll (much less sure about this) hth Cheers, Tone --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@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-developers -~--~~~~--~~--~--~---
Magic Removal: verbose_name not worrking?
Hi, I have this model; class Event(models.Model): EVENTTYPE = ( ('Meet','Meeting'), ('Conf1', 'Conference Announcement'), ('Conf2', 'Conference Announcement and Call for Papers'), ('Adv', 'Advisory Board'), ('Diss','Dissemination Event'), ) title = models.CharField(maxlength=100) byline = models.CharField(maxlength=50, blank=True) description = models.TextField() what = models.CharField(maxlength=10, choices=EVENTTYPE) whenStart = models.DateTimeField() whenEnd = models.DateTimeField() where = models.CharField(maxlength=255) contact = models.ForeignKey(Person, related_name = 'contact') editor = models.ForeignKey(Person, related_name = 'editor') modified = models.DateTimeField(auto_now = True) groups = models.ManyToManyField(WorkGroup, blank=True) def __repr__(self): return "%s" % self.title def _get_contactName(self): return "%s" % self.contact.fullName contactName = property(_get_contactName) def _sameDay(self): dateStart = self.whenStart.date() dateEnd = self.whenEnd.date() return dateStart == dateEnd sameDay = property(_sameDay) class Admin: list_display = ('title', 'what', 'whenStart', 'whenEnd', 'contactName') and it works rather nicely (I really like the property stuff in MR) However, I can't get the verbose_name of the 'what' field, eg In [79]: events = Event.objects.all() In [80]: events Out[80]: [Engaging with Interprofessional Healthcare Education in the North East, Tea Time] In [81]: events[0].what Out[81]: 'Conf2' In [82]: events[0].what.verbose_name --- exceptions.AttributeErrorTraceback (most recent call last) /Users/tonymcd/Sites/magic/site1/ AttributeError: 'str' object has no attribute 'verbose_name' Is this a 'me' issue or is this something that's not finished in MR yet. If it's the latter, I can do a workaround, if the former - I can learn! ;) Cheers, Tone --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@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-developers -~--~~~~--~~--~--~---
Re: Magic Removal: verbose_name not worrking?
Thanks for the info Malcolm, it sounds like this is more a 'not completed yet', so I've gone to doing a workaround. One thing though; events[0]._meta.get_field('what').verbose_name returns 'what' It seems that ._meta. is only working on the field definitions, not the value returned. In [101]: events[0]._meta.get_field('what').__dict__ Out[101]: {'attname': 'what', 'blank': False, 'choices': (('Meet', 'Meeting'), ('Conf1', 'Conference Announcement'), ('Conf2', 'Conference Announcement and Call for Papers'), ('Adv', 'Advisory Board'), ('Diss', 'Dissemination Event')), 'column': 'what', 'creation_counter': 15, 'db_column': None, 'db_index': False, 'default': , 'deprecated_args': [], 'editable': True, 'help_text': '', 'maxlength': 10, 'name': 'what', 'null': False, 'prepopulate_from': None, 'primary_key': False, 'radio_admin': None, 'rel': None, 'unique': False, 'unique_for_date': None, 'unique_for_month': None, 'unique_for_year': None, 'validator_list': [], 'verbose_name': 'what'} Cheers again, Tone --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@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-developers -~--~~~~--~~--~--~---
Re: Tutorial updates for magic removal
Where is it ChaosKCW? Cheers, Tone --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@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-developers -~--~~~~--~~--~--~---
Re: Magic Removal: verbose_name not worrking?
D'oh! - I should have picked *that* one up. one thing - events[0].what.get_what_display() doesn't work, this does ;) events[0].get_what_display() thanks all! Cheers, Tone --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@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-developers -~--~~~~--~~--~--~---
Re: Tutorial updates for magic removal
D'oh! - thanks guys ;) Cheers, Tone --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@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-developers -~--~~~~--~~--~--~---
Anyone using RazorLogix for hosting?
Hi all, Razorlogix, http://www.razorlogix.net/?do=features, looks quite a neat hosting service (mod_python, one slick installs for django, trac, svn, MySQL and PostGres etc.) Does anyone have any opinions on them? Thanks a lot in advance, Tone. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@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-developers -~--~~~~--~~--~--~---
Re: Anyone using RazorLogix for hosting?
oh #$$!@ - that was supposed to go into django-users. Apologies all. Tone --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@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-developers -~--~~~~--~~--~--~---
Re: Anyone using RazorLogix for hosting?
I didn't mean to start this discussion off in this group, but on reflection, it might be the better one of the two... Patrick, Can you not install MR into your own space (mine only takes up 18 Megs, and the $10 plan has 500 megs of disk) and use it from there? Would you not get the development server as well? Cheers, Tone --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@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-developers -~--~~~~--~~--~--~---
Re: ticket 1179
'...and am getting back in the game.' So I see! ;) http://code.djangoproject.com/log/django/branches/magic-removal (so that's what weekends are for...) Cheers, Tone --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@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-developers -~--~~~~--~~--~--~---
Re: Django/Dojo integration: take a look and speak up
Just a quick note from someone who has been trying to get his head around Dojo - this is really appreciated James! Cheers, Tone --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@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-developers -~--~~~~--~~--~--~---