ShaastraWebops / ERP14

The Enterprise Resource Planner for Shaastra 2014
0 stars 0 forks source link

Encoding or something shows in dashboard #3

Closed pandaops closed 11 years ago

pandaops commented 11 years ago

Content-Type: text/html; charset=utf-8
shows above the dashboard table. Hide/delete.

AbdealiLoKo commented 11 years ago

Solved in c134b3034b88e94644425ee0bf645179d735b425

Another feature in this commit+fix is that dajax and dajaxice is now a module in "misc". This is a good approach that helps a lot. It makes the code larger, but it allows modularity between various years and other modules. So, right now, the only "dependency" the site has is django and python ... very minimal.

EDIT : this was mainly because we were using the "str()" or "unicode()" function to get html in form of string for dajax's json. The more elegant solution is to use render_to_html(). Which was also dont in this commit.