Skip to content

Commit ff2016b

Browse files
committed
README: Remove some badly-parsed indents
1 parent 557807b commit ff2016b

File tree

1 file changed

+14
-16
lines changed

1 file changed

+14
-16
lines changed

README.rst

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,12 @@ All settings are contained in a PUSH_NOTIFICATIONS_SETTINGS dict.
5757
In order to use GCM, you are required to include GCM_API_KEY.
5858
For APNS, you are required to include APNS_CERTIFICATE.
5959

60-
- APNS_CERTIFICATE: Absolute path to your APNS certificate file. Certificates with passphrases are not supported.
61-
- GCM_API_KEY: Your API key for GCM.
62-
- APNS_HOST: The hostname used for the APNS sockets. When DEBUG=True, this defaults to gateway.sandbox.push.apple.com.
63-
When DEBUG=False, this defaults to gateway.push.apple.com.
64-
- APNS_PORT: The port used along with APNS_HOST. Defaults to 2195.
65-
- GCM_POST_URL: The full url that GCM notifications will be POSTed to. Defaults to https://android.googleapis.com/gcm/send.
66-
- GCM_MAX_RECIPIENTS: The maximum amount of recipients that can be contained per bulk message. If the registration_ids list
67-
is larger than that number, multiple bulk messages will be sent. Defaults to 1000 (the maximum amount supported by GCM).
60+
- APNS_CERTIFICATE: Absolute path to your APNS certificate file. Certificates with passphrases are not supported.
61+
- GCM_API_KEY: Your API key for GCM.
62+
- APNS_HOST: The hostname used for the APNS sockets. When DEBUG=True, this defaults to gateway.sandbox.push.apple.com. When DEBUG=False, this defaults to gateway.push.apple.com.
63+
- APNS_PORT: The port used along with APNS_HOST. Defaults to 2195.
64+
- GCM_POST_URL: The full url that GCM notifications will be POSTed to. Defaults to https://android.googleapis.com/gcm/send.
65+
- GCM_MAX_RECIPIENTS: The maximum amount of recipients that can be contained per bulk message. If the registration_ids list is larger than that number, multiple bulk messages will be sent. Defaults to 1000 (the maximum amount supported by GCM).
6866

6967
Sending messages
7068
----------------
@@ -127,10 +125,10 @@ attempt to send a message to the device fails after the call to the feedback ser
127125
Exceptions
128126
----------
129127

130-
- NotificationError(Exception): Base exception for all notification-related errors.
131-
- gcm.GCMError(NotificationError): An error was returned by GCM. This is never raised when using bulk notifications.
132-
- apns.APNSError(NotificationError): Something went wrong upon sending APNS notifications.
133-
- apns.APNSDataOverflow(APNSError): The APNS payload exceeds its maximum size and cannot be sent.
128+
- NotificationError(Exception): Base exception for all notification-related errors.
129+
- gcm.GCMError(NotificationError): An error was returned by GCM. This is never raised when using bulk notifications.
130+
- apns.APNSError(NotificationError): Something went wrong upon sending APNS notifications.
131+
- apns.APNSDataOverflow(APNSError): The APNS payload exceeds its maximum size and cannot be sent.
134132

135133

136134
Tastypie support
@@ -140,10 +138,10 @@ The app includes tastypie-compatible resources in push_notifications.api. These
140138
for more involved APIs.
141139
The following resources are available:
142140

143-
- APNSDeviceResource
144-
- GCMDeviceResource
145-
- APNSDeviceAuthenticatedResource
146-
- GCMDeviceAuthenticatedResource
141+
- APNSDeviceResource
142+
- GCMDeviceResource
143+
- APNSDeviceAuthenticatedResource
144+
- GCMDeviceAuthenticatedResource
147145

148146
The base device resources will not ask for authentication, while the authenticated ones will link the logged in user to
149147
the device they register.

0 commit comments

Comments
 (0)