[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: contributing to the DDTSS



En cette agréable journée du mercredi 14 mars 2012,

Martijn van Oosterhout a écrit :

 

> Meh, annoying that's not backward compatible. I've made a new sample,

> can you try it now?

>

> After you've created a user for yourself, if you set the "superuser"

> flag on that user you get can get access to all the admin screens

> (should probably put that in the README actually).

 

I now can see the languages on the first page :)

 

But when I go to my language translation page, I got a template error :

 

Template error

In template /home/adrien/code/debian/debian-l10n/DDTSS-Django/src/ddtp/templates/ddtss/index_lang.html, error at line 323

Caught ProgrammingError while rendering: (ProgrammingError) ERREUR: la relation « statistic_tb » n'existe pas LINE 2: FROM statistic_tb AS statistic_tb_1, statistic_tb ^

313

314

<div class=forreview>

315

<h2>Pending review ({{ pending_review|length }})

316

<div class="help" title="List of translations that need review. Note: it may ask you review something you already reviewed. This is because someone has changed it.">?</div>

317

</h2>

318

<ol>

319

{% for trans in pending_review %}

320

{% if forloop.first %}<ol _onmouseover_="return reset_flot('flot_lang_review')">

321

<script type="text/_javascript_">

322

$(function () {

323

{{trans.Get_flot_data}}

324

$.plot($("#flot_lang_review"), [ {label: "Quote" , yaxis: 1, data: quote},

325

{label: "Pending Translated" , yaxis: 2, data: trans},

326

{label: "Pending Reviewed", yaxis: 2, data: revie} ],

327

{

328

yaxis: { },

329

y2axis: {show:1 },

330

//yaxis: [{show:0 , min: 0, max: 100 }, {show:0 ,position: "left"}],

331

xaxis: {show:0 },

332

legend: { show: 1, position: "nw" }

333

});

 

I have not enough time to test more before my holliday, tomorrow. When I come back (in 2 weeks), I will continue to test it.

 

Adrien

 


Reply to: