On Mon, Dec 1, 2008 at 10:06 PM, Karen Tracey <[EMAIL PROTECTED]> wrote: >> >> So, what is the difference between a callback function that is >> enclosed on single quotes from that which is not? > > Nothing really: > > http://docs.djangoproject.com/en/dev/topics/http/urls/#passing-callable-objects-instead-of-strings > > Karen >
hi, just a small follow-up. if there's no difference then why do I get an error when i put single quotes around the admin callback as in, (r'^admin/(.*)', 'admin.site.root') perhaps admin.site.root is an exception to the rule? -- There are seven words in this sentence. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---