Re: Adding optional SITE_DOMAIN and SITE_NAME variables in settings.py

2010-03-12 Thread aditya
Could you be more specific? I'm not sure what you mean. Aditya On Mar 12, 5:26 pm, Gabriel Hurley wrote: > You seem to be missing the point of the code you reference above. You > should probably read up on the "Sites" framework that ships with > Django: > > http://docs.djangoproject.com/en/dev/re

Re: Adding optional SITE_DOMAIN and SITE_NAME variables in settings.py

2010-03-12 Thread Gabriel Hurley
You seem to be missing the point of the code you reference above. You should probably read up on the "Sites" framework that ships with Django: http://docs.djangoproject.com/en/dev/ref/contrib/sites/ All the best, - Gabriel On Mar 12, 1:39 pm, aditya wrote: > Description > = > This

Re: Transactions in Model.clean()

2010-03-12 Thread James Bennett
On Fri, Mar 12, 2010 at 9:50 AM, orokusaki wrote: > @James Bennett I was suggesting a new feature. Is it still not > appropriate? It still is not appropriate, and it's not hard at all to see why: *ANY* question which begins "How do I do this in Django" belongs on the django-users list, even if yo

Re: [GSoC] Making django.db usable outside Django

2010-03-12 Thread Mathieu Leduc-Hamel
Yes I understood it was not necessarily the plan to split everything, but for me I thought it could be a good start. Is there anything that could block us to do it (Yes i know it's not a priority) ? On Fri, Mar 12, 2010 at 4:15 PM, Yuvi Panda wrote: > @Mathieu: I don't think splitting up everyth

Re: [Proposal] Adding optional SITE_DOMAIN and SITE_NAME variables in settings.py

2010-03-12 Thread Rajeev J Sebastian
On Sat, Mar 13, 2010 at 3:09 AM, aditya wrote: > Description > = > This page of the Django documentation shows how to use the 'Sites' > framework to get the domain of the current site: > > http://docs.djangoproject.com/en/dev/ref/contrib/sites/ > > I've noticed that 'domain = Site.objects.

[Proposal] Adding optional SITE_DOMAIN and SITE_NAME variables in settings.py

2010-03-12 Thread aditya
Description = This page of the Django documentation shows how to use the 'Sites' framework to get the domain of the current site: http://docs.djangoproject.com/en/dev/ref/contrib/sites/ I've noticed that 'domain = Site.objects.get_current().domain' is becoming a common idiom in Django. Mo

Re: [GSoC] Making django.db usable outside Django

2010-03-12 Thread Yuvi Panda
@Mathieu: I don't think splitting up everything is going to happen anytime soon. The proposal is just to rip out the ORM so it can be used outside - not to make it easy to use other ORMs in Django with the same amount of integration. On Sat, Mar 13, 2010 at 12:05 AM, Mathieu Leduc-Hamel wrote: >

Re: [GSoC] Making django.db usable outside Django

2010-03-12 Thread Mathieu Leduc-Hamel
It would be very very cool to have the orm separated from everything else ! And by the way, there could be some other cool possibilities as: - Bug fix of separated component and not all the framework unnecessary - You just install what you need, by example, I've just on a project without any datab

Re: [GSoC] Making django.db usable outside Django

2010-03-12 Thread Yuvi Panda
Besides the smaller dependency, it can be more easily integrated into other frameworks. No manage.py, settings.py, etc, so you can integrate settings, management, etc with the rest of the target framework. It would be cleaner. On Fri, Mar 12, 2010 at 7:06 PM, Dougal Matthews wrote: > On 12 March

Re: Transactions in Model.clean()

2010-03-12 Thread orokusaki
@James Bennett I was suggesting a new feature. Is it still not appropriate? -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com. To unsubscribe from this group, send email

Hladame Django programatorov (Looking for Django developers - Slovakia)

2010-03-12 Thread Ivan Mincik
We are looking for experienced Django developers for work in our office located in Eastern Slovakia (Presov). For more information please look here: http://gista.sk/index.php/o-splocnosti/ponuka-prace or send email directly to me. Thanks, -- Ivan Mincik Gista s.r.o. signature.asc Description:

Re: [GSoC] Making django.db usable outside Django

2010-03-12 Thread Dougal Matthews
On 12 March 2010 12:51, Yuvi Panda wrote: > I'm a CS student from India and am planning to apply for this year's GSoC > to work on Django. > > My project idea is to rip out the Django ORM so it could be used outside > django. django.db will be isolated (ie. dependencies on other parts of > django

[GSoC] Making django.db usable outside Django

2010-03-12 Thread Yuvi Panda
I'm a CS student from India and am planning to apply for this year's GSoC to work on Django. My project idea is to rip out the Django ORM so it could be used outside django. django.db will be isolated (ie. dependencies on other parts of django will be cut or folded back into django.db), and packag

Re: Small "bug" in inline_formsetfactory

2010-03-12 Thread James Bennett
On Fri, Mar 12, 2010 at 2:43 AM, Harro wrote: > See ticket: http://code.djangoproject.com/ticket/13095 Quoting from http://docs.djangoproject.com/en/dev/internals/contributing/#id1 "Don’t post to django-developers just to announce that you have filed a bug report. All the tickets are mailed to a

Small "bug" in inline_formsetfactory

2010-03-12 Thread Harro
See ticket: http://code.djangoproject.com/ticket/13095 Just posting the used code here: # models.py class Choice(models.Model): """ A choice in a poll """ poll = models.ForeignKey(Poll, related_name='choices', verbose_name=_('Poll')) choice = models.CharField(_('Choice