forked from JungDev/django-telegrambot
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ImportError: No module named 'views'
- Loading branch information
Francesco Scarlato (Jungmann)
committed
Jan 28, 2016
1 parent
bddb6e7
commit 78d5d21
Showing
3 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
__version__ = '0.1.4' | ||
__version__ = '0.1.5' | ||
default_app_config = 'django_telegrambot.apps.DjangoTelegramBot' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
|
||
from django.conf.urls import url, include, patterns | ||
from views import webhook | ||
from . import views | ||
|
||
urlpatterns = [ | ||
url(r'(?P<bot_token>.+?)/$', webhook, name='webhook'), | ||
url(r'(?P<bot_token>.+?)/$', views.webhook, name='webhook'), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters