Skip to content

Commit

Permalink
Add import in the example
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Scarlato (Jungmann) committed Apr 27, 2016
1 parent dd53eb5 commit bdedc66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ Include in your urls.py the ``django_telegrambot.urls`` using the same value of
Then use it in a project creating a module ``telegrambot.py`` in your app ::

#myapp/telegrambot.py
from telegram.ext import CommandHandler, MessageHandler, Filters
from django_telegrambot.apps import DjangoTelegramBot

# Define a few command handlers. These usually take the two arguments bot and
Expand Down
1 change: 1 addition & 0 deletions example/telegrambot.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# -*- coding: utf-8 -*-
# Example code for telegrambot.py module
from telegram.ext import CommandHandler, MessageHandler, Filters
from django_telegrambot.apps import DjangoTelegramBot

import logging
Expand Down

0 comments on commit bdedc66

Please sign in to comment.