from django.conf.urls import url, include
from django.contrib import admin

from apps.login_register.models import User
from apps.dojobites_app.models import Restaurant, Comment, Choice

class UserAdmin(admin.ModelAdmin):
    pass
admin.site.register(User, UserAdmin)
class RestaurantAdmin(admin.ModelAdmin):
    pass
admin.site.register(Restaurant, RestaurantAdmin)
class CommentManager(admin.ModelAdmin):
    pass
admin.site.register(Comment, CommentManager)
class ChoiceManager(admin.ModelAdmin):
    pass
admin.site.register(Choice, ChoiceManager)

urlpatterns = [
    url(r'^admin/', admin.site.urls),
    url(r'^', include("apps.login_register.urls", namespace="users")),
    url(r'^bites/', include('apps.dojobites_app.urls', namespace='bites')),
]
