Re: Ticket #14007: Automatically discover models within a package without using the app_label Meta attribute

2010-07-28 Thread Rajeev J Sebastian
On Wed, Jul 28, 2010 at 10:45 PM, Jacob Kaplan-Moss <ja...@jacobian.org> wrote: > On Wed, Jul 28, 2010 at 12:09 PM, Rajeev J Sebastian > <rajeev.sebast...@gmail.com> wrote: >> I think it might be useful for people refactoring their ever-growing >> models.py > &g

Re: Ticket #14007: Automatically discover models within a package without using the app_label Meta attribute

2010-07-28 Thread Rajeev J Sebastian
quot; is a package, and because of this, every model within submodules needs an app_label in the Meta. I think it might be useful for people refactoring their ever-growing models.py Regards Rajeev J Sebastian -- You received this message because you are subscribed to the Google Groups "Dj

Re: Django 1.2 release candidate available

2010-05-05 Thread Rajeev J Sebastian
the django gods :D Regards Rajeev J Sebastian -- 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 to d

Re: Django 1.2 release candidate available

2010-05-05 Thread Rajeev J Sebastian
On Thu, May 6, 2010 at 10:37 AM, James Bennett <ubernost...@gmail.com> wrote: > On Wed, May 5, 2010 at 11:53 PM, Rajeev J Sebastian > <rajeev.sebast...@gmail.com> wrote: >> When can we start discussing potential small/micro fixes for the next >> version of django? >

Re: Django 1.2 release candidate available

2010-05-05 Thread Rajeev J Sebastian
oday. Congrats on yet another great Django release! When can we start discussing potential small/micro fixes for the next version of django? Regards Rajeev J Sebastian -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post

Re: GSoC - Class based serializers

2010-03-28 Thread Rajeev J Sebastian
t; things like the "model" field, to collapse the fields dict into the > main obj dict, etc.).  Lastly, I think a more detailed timeline would > be helpful, it's important to get estimates of how long each smaller > change will take (and it helps you flesh out what pieces of work g

Re: Proposal - hook to modify links in object-tools

2010-03-23 Thread Rajeev J Sebastian
On Tue, Mar 23, 2010 at 12:20 PM, George Karpenkov <true.chesh...@gmail.com> wrote: > once again, I'm happy to write a patch if people think it's a good > idea Love it! :) Regards Rajeev J Sebastian -- You received this message because you are subscribed to the Google Gro

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

2010-03-14 Thread Rajeev J Sebastian
ite.get_current(), as you seem to have misunderstood. Regards Rajeev J Sebastian -- 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

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

2010-03-14 Thread Rajeev J Sebastian
"example.com". Anyway, nothing to get so worked up about as you have done. Regards Rajeev J Sebastian -- 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.

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

2010-03-13 Thread Rajeev J Sebastian
no, that doesn't solve the issue (the solution was outlined by the OP). Its just easier to have this in the settings (imo), because at the point of time (or phase of development) where this is useful, there are usually no fixtures. Regards Rajeev J Sebastian -- You received this message because you ar

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

2010-03-13 Thread Rajeev J Sebastian
ttings SITE_DOMAIN and SITE_NAME instead of blindly using 'example.com'. This prevents the need to go in an edit the domain within the admin (or run some python code in shell) everytime one does a syncdb. It is, quite simply, a suggestion to allow overriding the django default when creating the *d

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

2010-03-12 Thread Rajeev J Sebastian
def_name = settings.SITE_NAME >        except: def_name = "example.com" > > and then create the new site using: >        s = Site(domain=def_domain, name=def_name) > > > I hope this is the correct place to post this! I wanted to hear what > other people though

Re: admin javacripts

2010-02-19 Thread Rajeev J Sebastian
about it. It is merely my helpless reaction towards this unfortunate direction in Django and Django ecosystem in general. As someone wrote earlier, *some* choice has to made, and it might as well be jquery. So be it. Amen. Regards Rajeev J Sebastian [1]: http://jqueryvsmootools.com/ -- You received

Re: admin javacripts

2010-02-19 Thread Rajeev J Sebastian
at an old checkout: > >  http://code.djangoproject.com/browser/django/trunk/django/contrib/admin/options.py#L273 ... just when I was relieved :P Regards Rajeev J Sebastian -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, se

Re: admin javacripts

2010-02-19 Thread Rajeev J Sebastian
On Fri, Feb 19, 2010 at 8:01 PM, Javier Guerra <jav...@guerrag.com> wrote: > On Fri, Feb 19, 2010 at 6:32 AM, Rajeev J Sebastian > <rajeev.sebast...@gmail.com> wrote: >> On Thu, Feb 18, 2010 at 8:09 PM, Rob Hudson <r...@cogit8.org> wrote: >>> While certain pa

Re: admin javacripts

2010-02-19 Thread Rajeev J Sebastian
On Thu, Feb 18, 2010 at 8:09 PM, Rob Hudson <r...@cogit8.org> wrote: > While certain parts of the admin are (or will be) using jQuery > (widgets, etc.) This really sucks. Kindly don't do this. Regards Rajeev J Sebastian -- You received this message because you are subscribed t

Re: Proposal: Tutorial Refresh

2009-10-11 Thread Rajeev J Sebastian
l > seems completely unnecessary. +1 I've trained 8 apprentices over the past 1-1/2 years. The existing django tutorial is invaluable since it can be done in about a day. Regards Rajeev J Sebastian --~--~-~--~~~---~--~~ You received this message becaus

Re: Model.objects.raw() (#11863)

2009-10-02 Thread Rajeev J Sebastian
by the DB. For e.g. "SELECT a.*, db_specific_function(a.id) as my_annotation FROM raw_query_author a ORDER BY a.id" Regards Rajeev J Sebastian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Djang

Re: Model-validation: call for discussions

2009-01-19 Thread Rajeev J Sebastian
xcept the problem of too many levels of indirection" - Kevlin Henney http://en.wikipedia.org/wiki/Abstraction_layer http://en.wikipedia.org/wiki/Butler_Lampson Regards Rajeev J Sebastian --~--~-~--~~~---~--~~ You received this message because you are

Re: RequestContext rarely used (branched from Feature reviews for 1.1)

2008-11-20 Thread Rajeev J Sebastian
mplate everwhere! I always try to "delegate" to the generic views. Regards Rajeev J Sebastian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to

Re: Implementing a pure RDF backend for Django

2008-10-26 Thread Rajeev J Sebastian
d faceted browser going using mootools in the frontend and a custom metadata layer. This allowed me to plugin in any ontology (with little modification) and browse the triple store with the faceted browser. Creating triples was also done as a framework with some mootools code in the frontend, and i

Re: GET requests should not alter data?

2008-10-16 Thread Rajeev J Sebastian
On Fri, Oct 17, 2008 at 12:54 AM, James Bennett <[EMAIL PROTECTED]> wrote: > > On Thu, Oct 16, 2008 at 7:11 AM, Rajeev J Sebastian > <[EMAIL PROTECTED]> wrote: >> Without trying to read deeply between the lines, the thread seemed to >> come to a point where th

Re: GET requests should not alter data?

2008-10-16 Thread Rajeev J Sebastian
request could cause a db write. I *think* thats where Amit is now. (He also mentioned this as the second option) Hope I'm right ... Regards Rajeev J Sebastian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Dj

Re: About FireSymfony and Django

2008-10-15 Thread Rajeev J Sebastian
Umm ... Sorry to post that email to the public django-devel list :) I realise it is not for django usage, but core django development. It happened by mistake. Regards Rajeev J Sebastian. --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: About FireSymfony and Django

2008-10-15 Thread Rajeev J Sebastian
to take a look at what you have, and try to port it to Django. Regards Rajeev J Sebastian On Thu, Oct 16, 2008 at 6:27 AM, Alvaro Videla <[EMAIL PROTECTED]> wrote: > > Hi, > > As you may guess, I'm a symfony develper and the creator of > FireSymfony. I read here: http://oebfare.

Re: GET requests should not alter data?

2008-10-15 Thread Rajeev J Sebastian
agmatic reasons > that have already been elucidated. I think Amit was just suggesting that these exceptions be documented, and not in the pursuit of a purist goal :) Regards Rajeev J Sebastian --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: I want a pony: Django Cheeseshop

2008-09-18 Thread Rajeev J Sebastian
e going to be reusable, might as well distribute them as eggs. Or you could just have people drop packages into a specific directory in your project. (Pinax for e.g., has apps/) Regards Rajeev J Sebastian [1] http://peak.telecommunity.com/DevCenter

Re: Proposal: installmedia command - A story for distributing media with apps

2008-09-16 Thread Rajeev J Sebastian
? Anyway, I've attached our media app (with the command, etc). If you want any changes to be included, please do tell me. Regards Rajeev J Sebastian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Djan

Re: Proposal: installmedia command - A story for distributing media with apps

2008-09-16 Thread Rajeev J Sebastian
e things very simple. Regards Rajeev J Sebastian --~--~-~--~~~---~--~~ 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

Re: djangoproject.com/documentation/ redirected

2008-09-09 Thread Rajeev J Sebastian
he new docs...I've been making some > improvements to the new index, which I agree could use some work. Great! Looking forward to it. Regards Rajeev J Sebastian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &quo

Re: djangoproject.com/documentation/ redirected

2008-09-09 Thread Rajeev J Sebastian
d docs frontpage/ToC available at some URL ? That one seemed nicer: more info/links was available without having to scroll down. (Perhaps, its also that I havent gotten used to the new docs yet ...) Regards Rajeev J Sebastian --~--~-~--~~~---~--~~ You rec

Re: Proposal: Widget Templates

2008-09-05 Thread Rajeev J Sebastian
te (because 90% of the time, the styling for a given widget on a given site is the same), ... *and* this should be modifiable, i.e. we should be able to set the template for any widget, in each form (maybe using some widget API in the form __init__ method).

Re: ANNOUNCE: Django 1.0 released

2008-09-03 Thread Rajeev J Sebastian
Hi James, The release notes has a string that seems wrong ... "Django 1.0 represents revision 88XX of our public repository". Did you forget the XX bit ? Regards Rajeev J Sebastian On Thu, Sep 4, 2008 at 5:37 AM, James Bennett <[EMAIL PROTECTED]> wrote: > > The

Re: Make clickable area of object links larger

2008-07-11 Thread Rajeev J Sebastian
ow do you make the whole area clickable with just > style rules? I believe you can set the display of the anchor to block. That should fill the outer block. Regards Rajeev J Sebastian --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: GSOC: More backends for djangosearch

2008-07-07 Thread Rajeev J Sebastian
The latest PG has its own text indexing/search system ... is this what you are referring to by "tsearch2" ? Regards Rajeev J Sebastian On Mon, Jul 7, 2008 at 11:55 PM, Ben Firshman <[EMAIL PROTECTED]> wrote: > > A quick update! > > School things are well and truly

Re: Community representation, or, #django user "Magus-" needs to go far away

2008-07-01 Thread Rajeev J Sebastian
+1 to Tom, though magus On Tue, Jul 1, 2008 at 7:34 PM, Tom Tobin <[EMAIL PROTECTED]> wrote: > On Tue, Jul 1, 2008 at 4:25 AM, Kenneth Gonsalves > <[EMAIL PROTECTED]> wrote: >> >> why should he be more polite? He follows the policy of 'teaching to >> fish' rather than spoonfeeding. I have several

Re: RFC: Django 1.0 roadmap and timeline

2008-06-12 Thread Rajeev J Sebastian
Hi Jacob, On Thu, Jun 12, 2008 at 5:03 AM, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > 7. Land GeoDjango as ``django.contrib.gis``. Not that I have any right to say anything ... but should this really be a django contrib ? Isn't it more of an external application ? Regards

Re: Response to "Shortcutting render_to_response"

2008-06-10 Thread Rajeev J Sebastian
lling a generic view in a function is quite common and in fact an elegant use of the language. The fact that generic views all use RequestContext is also widely known. So your patch is not strictly necessary. it simply adds burden for people learning to use django. Regards Raj

Re: Dev attitude towards Windows and IIS

2008-05-07 Thread Rajeev J Sebastian
plore (considering windows in general, maybe you should think again about IIS support expecially given the good alternatives). Regards Rajeev J Sebastian > Thanks. > > Randy > > > --~--~-~--~~~---~--~~ You received this message because you

Re: Model Inheritance in qsrf and User?

2008-04-30 Thread Rajeev J Sebastian
kind of purpose anyway). In fact, I would so far as to say "never use inheritance, unless you really know what you are doing". of course, Inheritance being the first thing people teach about OO doesnt help at all. regards Rajeev J Sebastian --~--~-~--~~~---~--

Re: Model Inheritance in qsrf and User?

2008-04-25 Thread Rajeev J Sebastian
gt; Could you elaborate or point to elaboration on why non-abstract > inheritance is a bad fit for extending user? Because every app has its own concept/method of how to link info to a User object, hence that information is best held in other models each with a FK to t

Re: [GSoC] Aggregate Support to the ORM

2008-04-22 Thread Rajeev J Sebastian
just as the builtin sum, avg, etc ? Regards Rajeev J Sebastian On Wed, Apr 23, 2008 at 1:54 AM, Nicolas E. Lara G. <[EMAIL PROTECTED]> wrote: > > Hello, > I have been selected to implement Aggregate support in the Django ORM > as a project for Google Summer of Code

Re: Template.render() should accept a dictionary, not just a Context object

2008-04-11 Thread Rajeev J Sebastian
eturn self.nodelist.render(context) > > This is backwards compatible and would make the template system that > tiny bit nicer to use. The problem with this is that we have to pass an instance of a subclass of Context, rather than something that has the interface of a Context. Is it

Re: Easier URL patterns

2008-04-09 Thread Rajeev J Sebastian
t read? Django is the web framework for perfectionists with deadlines! Regards Rajeev J Sebastian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send e

Re: Easier URL patterns

2008-04-09 Thread Rajeev J Sebastian
anging on stuff, copying the pattern into Kodos and typing in > the URL I wanted to match it has usually pointed out my mistake in about 90 > seconds. Eric3/Eric4 also has a very good regexp tool which is integrated with it, but also executable standalone from the shel

Re: GSoC proposal: Resource-based Models

2008-04-02 Thread Rajeev J Sebastian
>class Meta: >source = sources.FOAFSource() > Btw, RDFAlchemy provides a kind of ORMish layer. I am using it currently in one of my semweb projects though it hasnt yet reached the power of ActiveRDF. Regards Rajeev J Sebastian --~--~-~--~~~---~-

Re: ModelAdmin and AlreadyRegistered

2008-03-02 Thread Rajeev J Sebastian
Hello Micheal, I guess my very terse response caused some misunderstanding. I meant, we (i.e., dinamis.com in our inhouse projects) put all our admin related stuff for each app in an /admin.py and load it at startup. Sorry for the misunderstanding I caused. Regards Rajeev J Sebastian On Sun

Re: ModelAdmin and AlreadyRegistered

2008-03-02 Thread Rajeev J Sebastian
in.py in installed apps sounds good to me. We already do this. Regards Rajeev J Sebastian --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to