Skip to content

Commit 1e894cd

Browse files
committed
Upgrade pythonkc-meetups to 0.1.0 and provide num_past_events to client object (based on django settings)
1 parent d832175 commit 1e894cd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pythonkc_site/meetups/events.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
raise ImproperlyConfigured('MEETUP_API_KEY is required in settings')
2323

2424

25-
meetups = PythonKCMeetups(api_key, http_timeout=6)
2625
num_past_events = getattr(settings, 'MEETUP_SHOW_PAST_EVENTS', 3)
26+
meetups = PythonKCMeetups(api_key, num_past_events=num_past_events, http_timeout=6)
2727

2828

2929
def memoize_in_cache(cache_key, cache_timeout_seconds=None):

pythonkc_site/requirements/project.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ Django==1.3.1
22
gondor==1.0.5
33
psycopg2==2.4.2
44
South==0.7.3
5-
pythonkc-meetups==0.0.6
5+
pythonkc-meetups==0.1.0
66
django-redis-cache==0.9.2

0 commit comments

Comments
 (0)