Exemplo n.º 1
0
 def handle(self, *args, **options):
     game.autodiscover()
     app = GameApplication()
     SocketIOServer(("0.0.0.0", SOCKETIO_PORT), app).serve_forever()
Exemplo n.º 2
0
from django.conf.urls.defaults import patterns, include, url
from django.contrib import admin

from core import game


admin.autodiscover()
game.autodiscover()


urlpatterns = patterns("",
    ("^admin/", include(admin.site.urls)),
    url("", include("social_auth.urls")),
    url("", include("core.urls")),
)
Exemplo n.º 3
0
from django.conf.urls.defaults import patterns, include, url
from django.contrib import admin

from core import game

admin.autodiscover()
game.autodiscover()

urlpatterns = patterns(
    "",
    ("^admin/", include(admin.site.urls)),
    url("", include("social_auth.urls")),
    url("", include("core.urls")),
)