I just found out that the following code gives the same result:
urlpatterns = patterns('',
url(r'^admin/', include(admin.site.urls)),
)
as this one:
urlpatterns = patterns('',
(r'^admin/', include(admin.site.urls)),
)
So, what is the utility of using the url() function in the first way of coding?