Skip to content
This repository has been archived by the owner on Nov 25, 2017. It is now read-only.

switch to collections.OrderedDict #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions googlecharts/templatetags/charts.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
import inspect
import colorsys

from collections import SortedDict

from itertools import chain

from django import template
from django.conf import settings
from django.utils.datastructures import SortedDict
from django.utils.encoding import smart_str
from django.utils.html import escape
from django.utils.safestring import mark_safe, SafeData
Expand Down Expand Up @@ -948,4 +949,4 @@ def flatten(iterator):
for j in flatten(iter(i)):
yield j
else:
yield i
yield i