Re: ANN: django-admin-tools 0.8.1 released

2017-05-30 Thread 'Abraham Varricatt' via Django users
By chance do you have any screenshots in your documentation?

-Abraham V.


On Tuesday, May 30, 2017 at 8:39:54 AM UTC-4, izi wrote:
>
> Hello, 
>
> We are happy to announce the availability of the version 0.8.1 of 
> django-admin-tools: 
> https://pypi.python.org/pypi/django-admin-tools/0.8.1 
>
> Django-admin-tools is a collection of extensions/tools for the default 
> django administration interface, it includes: 
> * a full featured and customizable dashboard, 
> * a customizable menu bar, 
> * tools to make admin theming easier. 
>
> This version fixes some issues and adds support for Django 1.11. 
>
> Thanks to all the people who contributed to this release. 
>
> The project is hosted on Github: 
> https://github.com/django-admin-tools/django-admin-tools 
>
> Django-admin-tools is generously documented, you can browse the 
> documentation online here: 
> https://django-admin-tools.readthedocs.org/ 
>
> Regards, 
>
> -- 
> The django-admin-tools team 
> https://github.com/django-admin-tools/ 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d8180d1e-301a-4c51-9040-7a5397f76b3c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ANN: django-admin-tools 0.8.1 released

2017-05-30 Thread David Jean Louis
Hello,

We are happy to announce the availability of the version 0.8.1 of
django-admin-tools:
https://pypi.python.org/pypi/django-admin-tools/0.8.1

Django-admin-tools is a collection of extensions/tools for the default
django administration interface, it includes:
* a full featured and customizable dashboard,
* a customizable menu bar,
* tools to make admin theming easier.

This version fixes some issues and adds support for Django 1.11.

Thanks to all the people who contributed to this release.

The project is hosted on Github:
https://github.com/django-admin-tools/django-admin-tools

Django-admin-tools is generously documented, you can browse the
documentation online here:
https://django-admin-tools.readthedocs.org/

Regards,

-- 
The django-admin-tools team
https://github.com/django-admin-tools/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/18bcd59d-cc3a-8b63-f8d6-0ebb01a246a9%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


ANN: django-admin-tools 0.8.0 released

2016-08-12 Thread David Jean Louis
Hello,

We are happy to announce the availability of the version 0.8.0 of
django-admin-tools:
https://pypi.python.org/pypi/django-admin-tools/0.8.0

Django-admin-tools is a collection of extensions/tools for the default
django administration interface, it includes:
* a full featured and customizable dashboard,
* a customizable menu bar,
* tools to make admin theming easier.

This version fixes some issues and adds support for Django 1.10.

Thanks to all the people who contributed to this release.

The project is hosted on Github:
https://github.com/django-admin-tools/django-admin-tools

Django-admin-tools is generously documented, you can browse the
documentation online here:
https://django-admin-tools.readthedocs.org/

Regards,

-- 
The django-admin-tools team
https://github.com/django-admin-tools/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/57AD9FFE.6000102%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


ANN: django-admin-tools 0.7.0 released

2015-11-05 Thread David Jean Louis

Hello,

We are happy to announce the availability of the version 0.7.0 of 
django-admin-tools:

https://pypi.python.org/pypi/django-admin-tools/0.7.0

Django-admin-tools is a collection of extensions/tools for the default 
django administration interface, it includes:

 * a full featured and customizable dashboard,
 * a customizable menu bar,
 * tools to make admin theming easier.

This version fixes some issues and adds support for Django 1.9 and the 
new admin flat theme.


Thanks to all the people who contributed to this release.

The project is hosted on Github:
https://github.com/django-admin-tools/django-admin-tools

Django-admin-tools is generously documented, you can browse the 
documentation online here:

https://django-admin-tools.readthedocs.org/

Regards,

--
The django-admin-tools team
https://github.com/django-admin-tools/

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/563B3183.6030106%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: ANN: django-admin-tools 0.6.0 released

2015-07-07 Thread Leandro Zanuz
Hi, great news!

>From django-admin-tools 0.5.2 version to 0.6.0 had database changes or we
need execute migrate with --fake option?

By.

2015-07-07 14:19 GMT-03:00 David Jean Louis :

> Hello,
>
> We are happy to announce the availability of the version 0.6.0 of
> django-admin-tools:
> https://pypi.python.org/pypi/django-admin-tools/0.6.0
>
> Django-admin-tools is a collection of extensions/tools for the default
> django administration interface, it includes:
>  * a full featured and customizable dashboard,
>  * a customizable menu bar,
>  * tools to make admin theming easier.
>
> This version fixes many issues and adds support for newer Django versions.
> We dropped support for django 1.6 and lower and the app is now fully
> compatible with django 1.7 and 1.8.
> IMPORTANT: do *not* upgrade if your project is still running django 1.6 or
> lower, just stay with the 0.5.2 release.
>
> Thanks to all the people who contributed to this release.
>
> The project is now hosted on Github:
> https://github.com/django-admin-tools/django-admin-tools
>
> Django-admin-tools is generously documented, you can browse the
> documentation online here:
> https://django-admin-tools.readthedocs.org/
>
> Regards,
>
> --
> The django-admin-tools team
> https://github.com/django-admin-tools/
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/559C0A3D.4070403%40gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Enviado via UCSMail.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CACctwSgxSQenW42poXEMcHSj1jYKSWNb7bKHzFvc%2BP82vxHfsw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


ANN: django-admin-tools 0.6.0 released

2015-07-07 Thread David Jean Louis

Hello,

We are happy to announce the availability of the version 0.6.0 of 
django-admin-tools:

https://pypi.python.org/pypi/django-admin-tools/0.6.0

Django-admin-tools is a collection of extensions/tools for the default 
django administration interface, it includes:

 * a full featured and customizable dashboard,
 * a customizable menu bar,
 * tools to make admin theming easier.

This version fixes many issues and adds support for newer Django versions.
We dropped support for django 1.6 and lower and the app is now fully 
compatible with django 1.7 and 1.8.
IMPORTANT: do *not* upgrade if your project is still running django 1.6 
or lower, just stay with the 0.5.2 release.


Thanks to all the people who contributed to this release.

The project is now hosted on Github:
https://github.com/django-admin-tools/django-admin-tools

Django-admin-tools is generously documented, you can browse the 
documentation online here:

https://django-admin-tools.readthedocs.org/

Regards,

--
The django-admin-tools team
https://github.com/django-admin-tools/

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/559C0A3D.4070403%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Django-admin-tools unicode problem

2013-06-28 Thread Roberto López López

Hi,

I can perfectly understand Portuguese, but it's not the case for many
users of this mailing list. Please, stick to English...

Cheers,

Roberto



On 06/28/2013 01:35 PM, Sandro Dutra wrote:
> Como o Gilberto postou, pode haver um problema quando o teu editor de
> textos salva o arquivo do template, tente abrir este template pelo
> bloco de notas e ao 'salvar como' deve haver um campo lá embaixo para
> selecionar a 'Codificação', selecione UTF-8 e salve ou tente a
> configuração relativa no editor de textos que está a utilizar, talvez
> isto resolva o problema.
>
> Eu já tive esses problemas quando usava Notepad++, mas tenho utilizado
> PyCharm e não tive mais este tipo de problema, há opções gratuitas que
> devem lidar com isto também, tais como Sublime e Aptana.
>
>
> 2013/6/27 Jaimerson Leandro Amaro de Araújo  <mailto:jaimersonara...@gmail.com>>
>
> Cara, o problema é que a exceção tá sendo no template do
> aplicativo, que lê as informações do banco de dados. Alterar os
> arquivos do admin-tools é inviável em termos de portabilidade na
> hora do deploy. O que eu quero saber é se é possível mudar o
> encoding padrão desse app.
>
> Em quarta-feira, 26 de junho de 2013 11h22min18s UTC-3, Odin
> escreveu:
>
> Jaimerson, ainda assim creio que você deva tentar adicionar ao
> topo de suas views e/ou dos módulos usados do admin-tools a
> linha:
>
> # -*- coding: utf-8 -*- ou # -*- coding: iso-8859-1 -*-
>
> Isso permitirá ao Python ler o arquivo no encoding definido.
>
>
> 2013/6/26 Jaimerson Leandro Amaro de Araújo
> 
>
> Uh, I know it`s an encoding problem, I was hoping there
> was a way of changing default charset for that app.
>
> Em quarta-feira, 26 de junho de 2013 10h16min02s UTC-3,
> Odin escreveu:
>
> Think it's an encode problem. I never use this app but
> try to add this line o top of your views file:
>
>     # -*- coding: utf-8 -*-
>
>
> 2013/6/26 Jaimerson Leandro Amaro de Araújo
> 
>
> (I posted this on django-admin-tools mail list,
> but apparently there's no one alive there)
>
>
> Hello, I'm stuck in a encoding issue, on the
> dashboard template. Some of my models have fields
> with non-ascii characters (like "à" or "á"), and
> when I try to load the page, I get the following
> error:
>
>
>   DjangoUnicodeDecodeError at /
>
> 'ascii' codec can't decode byte 0xc3 in position 5: 
> ordinal not in range(128).
> You passed in  at 0xb581d98c> ()
>
> [...]
>
>
> Unicode error hint
>
> The string that could not be encoded/decoded was:
> *Conte��do*
>
> Please, advise. --
> You received this message because you are
> subscribed to the Google Groups "Django users" group.
> To unsubscribe from this group and stop receiving
> emails from it, send an email to
> django-users...@googlegroups.com.
> To post to this group, send email to
> django...@googlegroups.com.
>
> Visit this group at
> http://groups.google.com/group/django-users.
> For more options, visit
> https://groups.google.com/groups/opt_out.
>  
>  
>
>
> -- 
> You received this message because you are subscribed to
> the Google Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails
> from it, send an email to django-users...@googlegroups.com.
> To post to this group, send email to
> django...@googlegroups.com.
> Visit this group at
> http://groups.google.com/group/django-users.
> For more options, visit
> https://groups.google.com/groups/opt_out.
>  
>  
>
>
> -- 
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it,
>  

Re: Django-admin-tools unicode problem

2013-06-28 Thread Sandro Dutra
Como o Gilberto postou, pode haver um problema quando o teu editor de
textos salva o arquivo do template, tente abrir este template pelo bloco de
notas e ao 'salvar como' deve haver um campo lá embaixo para selecionar a
'Codificação', selecione UTF-8 e salve ou tente a configuração relativa no
editor de textos que está a utilizar, talvez isto resolva o problema.

Eu já tive esses problemas quando usava Notepad++, mas tenho utilizado
PyCharm e não tive mais este tipo de problema, há opções gratuitas que
devem lidar com isto também, tais como Sublime e Aptana.


2013/6/27 Jaimerson Leandro Amaro de Araújo 

> Cara, o problema é que a exceção tá sendo no template do aplicativo, que
> lê as informações do banco de dados. Alterar os arquivos do admin-tools é
> inviável em termos de portabilidade na hora do deploy. O que eu quero saber
> é se é possível mudar o encoding padrão desse app.
>
> Em quarta-feira, 26 de junho de 2013 11h22min18s UTC-3, Odin escreveu:
>>
>> Jaimerson, ainda assim creio que você deva tentar adicionar ao topo de
>> suas views e/ou dos módulos usados do admin-tools a linha:
>>
>> # -*- coding: utf-8 -*- ou # -*- coding: iso-8859-1 -*-
>>
>> Isso permitirá ao Python ler o arquivo no encoding definido.
>>
>>
>> 2013/6/26 Jaimerson Leandro Amaro de Araújo 
>>
>> Uh, I know it`s an encoding problem, I was hoping there was a way of
>>> changing default charset for that app.
>>>
>>> Em quarta-feira, 26 de junho de 2013 10h16min02s UTC-3, Odin escreveu:
>>>>
>>>> Think it's an encode problem. I never use this app but try to add this
>>>> line o top of your views file:
>>>>
>>>> # -*- coding: utf-8 -*-
>>>>
>>>>
>>>> 2013/6/26 Jaimerson Leandro Amaro de Araújo 
>>>>
>>>>> (I posted this on django-admin-tools mail list, but apparently there's
>>>>> no one alive there)
>>>>>
>>>>>
>>>>> Hello, I'm stuck in a encoding issue, on the dashboard template. Some
>>>>> of my models have fields with non-ascii characters (like "à" or "á"), and
>>>>> when I try to load the page, I get the following error:
>>>>> DjangoUnicodeDecodeError at /
>>>>>
>>>>> 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in 
>>>>> range(128).
>>>>> You passed in >>>> 0xb581d98c> ()
>>>>>
>>>>> [...]
>>>>> Unicode error hint
>>>>>
>>>>> The string that could not be encoded/decoded was: *Conte��do*
>>>>> Please, advise.
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Django users" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to django-users...@**googlegroups.**com.
>>>>> To post to this group, send email to django...@googlegroups.com.
>>>>>
>>>>> Visit this group at 
>>>>> http://groups.google.com/**group**/django-users<http://groups.google.com/group/django-users>
>>>>> .
>>>>> For more options, visit 
>>>>> https://groups.google.com/**grou**ps/opt_out<https://groups.google.com/groups/opt_out>
>>>>> .
>>>>>
>>>>>
>>>>>
>>>>
>>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users...@**googlegroups.com.
>>> To post to this group, send email to django...@googlegroups.com.
>>> Visit this group at 
>>> http://groups.google.com/**group/django-users<http://groups.google.com/group/django-users>
>>> .
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>> .
>>>
>>>
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Django-admin-tools unicode problem

2013-06-27 Thread Jaimerson Leandro Amaro de Araújo
Cara, o problema é que a exceção tá sendo no template do aplicativo, que lê 
as informações do banco de dados. Alterar os arquivos do admin-tools é 
inviável em termos de portabilidade na hora do deploy. O que eu quero saber 
é se é possível mudar o encoding padrão desse app.

Em quarta-feira, 26 de junho de 2013 11h22min18s UTC-3, Odin escreveu:
>
> Jaimerson, ainda assim creio que você deva tentar adicionar ao topo de 
> suas views e/ou dos módulos usados do admin-tools a linha:
>
> # -*- coding: utf-8 -*- ou # -*- coding: iso-8859-1 -*-
>
> Isso permitirá ao Python ler o arquivo no encoding definido.
>
>
> 2013/6/26 Jaimerson Leandro Amaro de Araújo 
> >
>
>> Uh, I know it`s an encoding problem, I was hoping there was a way of 
>> changing default charset for that app.
>>
>> Em quarta-feira, 26 de junho de 2013 10h16min02s UTC-3, Odin escreveu:
>>>
>>> Think it's an encode problem. I never use this app but try to add this 
>>> line o top of your views file:
>>>
>>> # -*- coding: utf-8 -*-
>>>
>>>
>>> 2013/6/26 Jaimerson Leandro Amaro de Araújo 
>>>
>>>> (I posted this on django-admin-tools mail list, but apparently there's 
>>>> no one alive there)
>>>>
>>>>
>>>> Hello, I'm stuck in a encoding issue, on the dashboard template. Some 
>>>> of my models have fields with non-ascii characters (like "à" or "á"), and 
>>>> when I try to load the page, I get the following error:
>>>> DjangoUnicodeDecodeError at / 
>>>>
>>>> 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in 
>>>> range(128).
>>>> You passed in  
>>>> ()
>>>>
>>>> [...]
>>>> Unicode error hint 
>>>>
>>>> The string that could not be encoded/decoded was: *Conte��do*
>>>> Please, advise. 
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "Django users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to django-users...@**googlegroups.com.
>>>> To post to this group, send email to django...@googlegroups.com.
>>>>
>>>> Visit this group at 
>>>> http://groups.google.com/**group/django-users<http://groups.google.com/group/django-users>
>>>> .
>>>> For more options, visit 
>>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>>> .
>>>>  
>>>>  
>>>>
>>>
>>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to django-users...@googlegroups.com .
>> To post to this group, send email to django...@googlegroups.com
>> .
>> Visit this group at http://groups.google.com/group/django-users.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Django-admin-tools unicode problem

2013-06-26 Thread gilberto dos santos alves
tudo depende do seu editor de texto. por exemplo no windows em português do 
brasil normalmente é usado o cp1250 como padrão. mas na hora de salvar o 
seu arquivo você pode escolher salvá-lo como utf-8 (aí no início do código 
vai a correspondente diretiva) se preferir salvar em outro codepage deve 
declarar esse codepage na diretiva  -*- coding: x -*-.
quando você define os nomes dos códigos de página unicode é possivel nomear 
os "elementos" do seu modelo usando acentuação e os caracteres da nossa 
língua. Estou nos finalmente das "modificações"  sugestões para que o 
tutorial da versão 1.6 contemple algumas explicações adicionais para nós 
que não usamos só a língua inglesa.

# -*- coding: utf-8 -*-


from django.db import models
class Poll(models.Model):
questão = models.CharField(max_length=200)
pub_date = models.DateTimeField('data da publicação')
class Choice(models.Model):
poll = models.ForeignKey(Poll)
choice_text = models.CharField(max_length=200)
votes = models.IntegerField(default=0)



Em quarta-feira, 26 de junho de 2013 11h11min20s UTC-3, Jaimerson Leandro 
Amaro de Araújo escreveu:
>
> Uh, I know it`s an encoding problem, I was hoping there was a way of 
> changing default charset for that app.
>
> Em quarta-feira, 26 de junho de 2013 10h16min02s UTC-3, Odin escreveu:
>>
>> Think it's an encode problem. I never use this app but try to add this 
>> line o top of your views file:
>>
>> # -*- coding: utf-8 -*-
>>
>>
>> 2013/6/26 Jaimerson Leandro Amaro de Araújo 
>>
>>> (I posted this on django-admin-tools mail list, but apparently there's 
>>> no one alive there)
>>>
>>>
>>> Hello, I'm stuck in a encoding issue, on the dashboard template. Some of 
>>> my models have fields with non-ascii characters (like "à" or "á"), and when 
>>> I try to load the page, I get the following error:
>>> DjangoUnicodeDecodeError at / 
>>>
>>> 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in 
>>> range(128).
>>> You passed in  
>>> ()
>>>
>>> [...]
>>> Unicode error hint 
>>>
>>> The string that could not be encoded/decoded was: *Conte��do*
>>> Please, advise. 
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to django-users...@googlegroups.com.
>>> To post to this group, send email to django...@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/django-users.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>  
>>>  
>>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Django-admin-tools unicode problem

2013-06-26 Thread Sandro Dutra
Jaimerson, ainda assim creio que você deva tentar adicionar ao topo de suas
views e/ou dos módulos usados do admin-tools a linha:

# -*- coding: utf-8 -*- ou # -*- coding: iso-8859-1 -*-

Isso permitirá ao Python ler o arquivo no encoding definido.


2013/6/26 Jaimerson Leandro Amaro de Araújo 

> Uh, I know it`s an encoding problem, I was hoping there was a way of
> changing default charset for that app.
>
> Em quarta-feira, 26 de junho de 2013 10h16min02s UTC-3, Odin escreveu:
>>
>> Think it's an encode problem. I never use this app but try to add this
>> line o top of your views file:
>>
>> # -*- coding: utf-8 -*-
>>
>>
>> 2013/6/26 Jaimerson Leandro Amaro de Araújo 
>>
>>> (I posted this on django-admin-tools mail list, but apparently there's
>>> no one alive there)
>>>
>>>
>>> Hello, I'm stuck in a encoding issue, on the dashboard template. Some of
>>> my models have fields with non-ascii characters (like "à" or "á"), and when
>>> I try to load the page, I get the following error:
>>> DjangoUnicodeDecodeError at /
>>>
>>> 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in 
>>> range(128).
>>> You passed in  
>>> ()
>>>
>>> [...]
>>> Unicode error hint
>>>
>>> The string that could not be encoded/decoded was: *Conte��do*
>>> Please, advise.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users...@**googlegroups.com.
>>> To post to this group, send email to django...@googlegroups.com.
>>>
>>> Visit this group at 
>>> http://groups.google.com/**group/django-users<http://groups.google.com/group/django-users>
>>> .
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>> .
>>>
>>>
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Django-admin-tools unicode problem

2013-06-26 Thread Jaimerson Leandro Amaro de Araújo
Uh, I know it`s an encoding problem, I was hoping there was a way of 
changing default charset for that app.

Em quarta-feira, 26 de junho de 2013 10h16min02s UTC-3, Odin escreveu:
>
> Think it's an encode problem. I never use this app but try to add this 
> line o top of your views file:
>
> # -*- coding: utf-8 -*-
>
>
> 2013/6/26 Jaimerson Leandro Amaro de Araújo 
> >
>
>> (I posted this on django-admin-tools mail list, but apparently there's no 
>> one alive there)
>>
>>
>> Hello, I'm stuck in a encoding issue, on the dashboard template. Some of 
>> my models have fields with non-ascii characters (like "à" or "á"), and when 
>> I try to load the page, I get the following error:
>> DjangoUnicodeDecodeError at / 
>>
>> 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in 
>> range(128).
>> You passed in  
>> ()
>>
>> [...]
>> Unicode error hint 
>>
>> The string that could not be encoded/decoded was: *Conte��do*
>> Please, advise. 
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to django-users...@googlegroups.com .
>> To post to this group, send email to django...@googlegroups.com
>> .
>> Visit this group at http://groups.google.com/group/django-users.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Django-admin-tools unicode problem

2013-06-26 Thread Sandro Dutra
Think it's an encode problem. I never use this app but try to add this line
o top of your views file:

# -*- coding: utf-8 -*-


2013/6/26 Jaimerson Leandro Amaro de Araújo 

> (I posted this on django-admin-tools mail list, but apparently there's no
> one alive there)
>
>
> Hello, I'm stuck in a encoding issue, on the dashboard template. Some of
> my models have fields with non-ascii characters (like "à" or "á"), and when
> I try to load the page, I get the following error:
> DjangoUnicodeDecodeError at /
>
> 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128).
> You passed in  
> ()
>
> [...]
> Unicode error hint
>
> The string that could not be encoded/decoded was: *Conte��do*
> Please, advise.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Django-admin-tools unicode problem

2013-06-26 Thread Jaimerson Leandro Amaro de Araújo
(I posted this on django-admin-tools mail list, but apparently there's no 
one alive there)

Hello, I'm stuck in a encoding issue, on the dashboard template. Some of my 
models have fields with non-ascii characters (like "à" or "á"), and when I 
try to load the page, I get the following error:
DjangoUnicodeDecodeError at / 

'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128).
You passed in  ()

[...]
Unicode error hint 

The string that could not be encoded/decoded was: *Conte��do*
Please, advise.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Django-admin-tools unicode problem

2013-06-26 Thread Jaimerson Leandro Amaro de Araújo
(I have posted this on django-admin-tools specific mailing list, but 
apparently there's no one alive there)
Hello, I'm stuck in a encoding issue, on the dashboard template. Some of my 
models have fields with non-ascii characters (like "à" or "á"), and when I 
try to load the page, I get the following error:
DjangoUnicodeDecodeError at / 

'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128).
You passed in  ()

[...]
Unicode error hint 

The string that could not be encoded/decoded was: *Conte��do*
Please, advise.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




ANN: django-admin-tools 0.5.0 released

2013-03-06 Thread David Jean Louis
Hello,

I'm happy to announce the availability of the version 0.5.0 of
django-admin-tools:
https://pypi.python.org/pypi/django-admin-tools/0.5.0

Django-admin-tools is a collection of extensions/tools for the default
django administration interface, it includes:
 * a full featured and customizable dashboard,
 * a customizable menu bar,
 * tools to make admin theming easier.

This version fixes many issues and adds support for newer Django versions.
The app is now compatible with Django 1.3, 1.4, 1.5 and python 2.6, 2.7.
Thanks to all the people who contributed to this release.

The project is hosted on Bitbucket:
https://bitbucket.org/izi/django-admin-tools/

Django-admin-tools is generously documented, you can browse the
documentation online here:
https://django-admin-tools.readthedocs.org/

Regards,

-- 
David Jean Louis

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: satchmo and django-admin-tools

2012-07-16 Thread Tomas Neme
> thanks for sharing, I'll try to understand it.
>
> where should I put this file? inside localsite?
>
> what admin template are you talking about? the admin tools or the plain
> admin?

dashboard's (it's part of admin_tools) admin/index template.

> I thought of using the admin tools templates and building from that, but all
> I got was noReverseMatch erros, looks like the INSTALLED_APPS order is
> significative and I don't understand it well.

well, I should probably just point you to this:
http://django-admin-tools.readthedocs.org/en/latest/index.html

and specifically this:
http://django-admin-tools.readthedocs.org/en/latest/quickstart.html

You probably didn't add dashboard to INSTALLED_APPS and you're
probably missing the urls as well.

> how can I configure it to ignore the satchmo admin templates?

and some of django's documentation as well..
https://docs.djangoproject.com/en/dev/ref/templates/api/#loading-templates

The short version is, usually, you put under
yourproject/templates/admin/index.html whatever template you want to
be used, but do go and read those docs

> btw, could I make all this work with grappelli? it seems I could enjoy some
> of the image uploading and wysiwyg editor

you can most probably make everything work with everything, I don't
know what grappelli is, bear in mind you might need to dig deep in the
admin templates to make javascript (specially jquery) play nice with
every app you use

-- 
"The whole of Japan is pure invention. There is no such country, there
are no such people" --Oscar Wilde

|_|0|_|
|_|_|0|
|0|0|0|

(\__/)
(='.'=)This is Bunny. Copy and paste bunny
(")_(") to help him gain world domination.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: satchmo and django-admin-tools

2012-07-16 Thread Avraham Serour
thanks for sharing, I'll try to understand it.

where should I put this file? inside localsite?

what admin template are you talking about? the admin tools or the plain
admin?

I thought of using the admin tools templates and building from that, but
all I got was noReverseMatch erros, looks like the INSTALLED_APPS order is
significative and I don't understand it well.

how can I configure it to ignore the satchmo admin templates?

btw, could I make all this work with grappelli? it seems I could enjoy some
of the image uploading and wysiwyg editor

thanks
avraham

On Mon, Jul 16, 2012 at 10:33 PM, Tomas Neme  wrote:

> > I thought they extended the templates instead of trying to replace
> > everything
>
> they don't replace everything. But the admin site's index template is
> called 'admin/index.html', so it's not easy to extend them. They DO
> extend admin/base.html.
>
>
> This is my dashboard.py file, where I create a module that emulates
> satchmo's template additions.
>
> https://gist.github.com/3124534
>
> There's a couple of things that are MY PREFERENCES, so it might not
> all be to your liking, please do try to read, understand, and modify
> as you like.
>
> with this, I just use dashboards' admin/index.html template
>
> --
> "The whole of Japan is pure invention. There is no such country, there
> are no such people" --Oscar Wilde
>
> |_|0|_|
> |_|_|0|
> |0|0|0|
>
> (\__/)
> (='.'=)This is Bunny. Copy and paste bunny
> (")_(") to help him gain world domination.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: satchmo and django-admin-tools

2012-07-16 Thread Tomas Neme
> I thought they extended the templates instead of trying to replace
> everything

they don't replace everything. But the admin site's index template is
called 'admin/index.html', so it's not easy to extend them. They DO
extend admin/base.html.


This is my dashboard.py file, where I create a module that emulates
satchmo's template additions.

https://gist.github.com/3124534

There's a couple of things that are MY PREFERENCES, so it might not
all be to your liking, please do try to read, understand, and modify
as you like.

with this, I just use dashboards' admin/index.html template

-- 
"The whole of Japan is pure invention. There is no such country, there
are no such people" --Oscar Wilde

|_|0|_|
|_|_|0|
|0|0|0|

(\__/)
(='.'=)This is Bunny. Copy and paste bunny
(")_(") to help him gain world domination.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: satchmo and django-admin-tools

2012-07-16 Thread Avraham Serour
I thought they extended the templates instead of trying to replace
everything

do you know which templates would I have to redefine? everything I find in
both?

On Mon, Jul 16, 2012 at 6:09 PM, Tomas Neme  wrote:

> Yes, you'll need to get your hands dirty, and merge the two admin
> templates, since both apps redefine templates/admin/index.html and
> some other templates.
>
> The best approach, I think, is just use django-admin-tools' templates
> and create custom dashboard/modules to duplicate satchmo's templates'
> behavior
>
> On Sun, Jul 15, 2012 at 7:12 PM, אברהם סרור  wrote:
> > Hi,
> >
> > I'm trying to use django admin tools with satchmo, I installed satchmo
> in my
> > dev machine and made a store with clonesatchmo.py
> > after that the store seemed to be running fine, so I installed
> > django-admin-tools using the instructions on their website
> >
> > but I didn't manage to make it work, I spent about a week googling, I
> think
> > I must be doing some obvious mistake
> >
> > anyone had success using both together? where can I see an example
> > settings.py?
> >
> > Also I have in mind grappelli, can the three work together?
> >
> > any help is appreciated
> > thanks
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Django users" group.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msg/django-users/-/PyVTP5tNkqMJ.
> > To post to this group, send email to django-users@googlegroups.com.
> > To unsubscribe from this group, send email to
> > django-users+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> > http://groups.google.com/group/django-users?hl=en.
>
>
>
> --
> "The whole of Japan is pure invention. There is no such country, there
> are no such people" --Oscar Wilde
>
> |_|0|_|
> |_|_|0|
> |0|0|0|
>
> (\__/)
> (='.'=)This is Bunny. Copy and paste bunny
> (")_(") to help him gain world domination.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: satchmo and django-admin-tools

2012-07-16 Thread Tomas Neme
Yes, you'll need to get your hands dirty, and merge the two admin
templates, since both apps redefine templates/admin/index.html and
some other templates.

The best approach, I think, is just use django-admin-tools' templates
and create custom dashboard/modules to duplicate satchmo's templates'
behavior

On Sun, Jul 15, 2012 at 7:12 PM, אברהם סרור  wrote:
> Hi,
>
> I'm trying to use django admin tools with satchmo, I installed satchmo in my
> dev machine and made a store with clonesatchmo.py
> after that the store seemed to be running fine, so I installed
> django-admin-tools using the instructions on their website
>
> but I didn't manage to make it work, I spent about a week googling, I think
> I must be doing some obvious mistake
>
> anyone had success using both together? where can I see an example
> settings.py?
>
> Also I have in mind grappelli, can the three work together?
>
> any help is appreciated
> thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/PyVTP5tNkqMJ.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.



-- 
"The whole of Japan is pure invention. There is no such country, there
are no such people" --Oscar Wilde

|_|0|_|
|_|_|0|
|0|0|0|

(\__/)
(='.'=)This is Bunny. Copy and paste bunny
(")_(") to help him gain world domination.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



satchmo and django-admin-tools

2012-07-15 Thread אברהם סרור
Hi,

I'm trying to use django admin tools with satchmo, I installed satchmo in 
my dev machine and made a store with clonesatchmo.py
after that the store seemed to be running fine, so I installed 
django-admin-tools using the instructions on their website

but I didn't manage to make it work, I spent about a week googling, I think 
I must be doing some obvious mistake

anyone had success using both together? where can I see an example 
settings.py?

Also I have in mind grappelli, can the three work together?

any help is appreciated
thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/PyVTP5tNkqMJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django CMS and django-admin-tools are together?

2011-12-27 Thread Jonas Obrist
"but I read that django-admin-tools is one of django-cms apps."

that is incorrect. The initial design and idea started on our blog [1] but 
it was never implemented by us, so someone else did and thus 
django-admin-tools was created.

[1] https://www.django-cms.org/en/blog/2009/10/29/dashboard-proposal-update/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/AOvbwFHlCtgJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django CMS and django-admin-tools are together?

2011-12-27 Thread Denis Darii
I have a project in which I use django-cms and django-admin-tools together
in production and I hadn't had any problems using it until now.

On Tue, Dec 27, 2011 at 9:27 AM, Maxim Boyarskiy
wrote:

> Hi Guys,
>
> One question here: Is it possible and justified to use django-admin-
> tools over django-cms? I have no experience with Django-CMS and django-
> admin-tools, but I read that django-admin-tools is one of django-cms
> apps. I mean, I have to implement user filled resource and I look at
> cms, but I have to have some flexibility with content and page blocks
> on admin's page and I think, I have to use django-admin-tools.
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>


-- 
This e-mail and any file transmitted with it is intended only for the
person or entity to which is addressed and may contain information that is
privileged, confidential or otherwise protected from disclosure. Copying,
dissemination or use of this e-mail or the information herein by anyone
other than the intended recipient is prohibited. If you are not the
intended recipient, please notify the sender immediately by return e-mail,
delete this communication and destroy all copies.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Django CMS and django-admin-tools are together?

2011-12-27 Thread Maxim Boyarskiy
Hi Guys,

One question here: Is it possible and justified to use django-admin-
tools over django-cms? I have no experience with Django-CMS and django-
admin-tools, but I read that django-admin-tools is one of django-cms
apps. I mean, I have to implement user filled resource and I look at
cms, but I have to have some flexibility with content and page blocks
on admin's page and I think, I have to use django-admin-tools.

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



django-admin-tools column module placement

2011-08-05 Thread ironfroggy
Does anyone know how to control which column a module appears in,
using django-admin-tools?

it seems to just split the modules up into even numbers of modules per
column, but they aren't all the same size and some i want in specific
columns so they appear at the top, as alerts. Anyone know how to do
this?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



ANN: django-admin-tools 0.4.0 released

2010-12-13 Thread David Jean Louis

Hello,

I'm happy to announce the availability of the version 0.4.0 of 
django-admin-tools.


Django-admin-tools is a collection of extensions/tools for the default 
django administration interface, it includes:

  * a full featured and customizable dashboard,
  * a customizable menu bar,
  * tools to make admin theming easier.

Many bugs have been fixed, and new cool features were added in this 
version, see:

http://pypi.python.org/pypi/django-admin-tools/

Django-admin-tools is generously documented, you can browse the 
documentation online here:

http://packages.python.org/django-admin-tools/

A good start is to read the quickstart guide:
http://packages.python.org/django-admin-tools/0.4.0/quickstart.html

The project wiki (including screenshots), code and bugtracker are hosted 
on Bitbucket:

http://bitbucket.org/izi/django-admin-tools/

Many thanks to all the people who contributed to this release !

Regards,

--
David

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: django-admin-tools

2010-08-02 Thread yalda nasirian
hi gnemis can you help me ?

On Wed, Jul 28, 2010 at 10:54 AM, gnarmis  wrote:

>
> Thanks for that link up there, David, solved my (similar, but not
> really similar) problem.
> Although this has me concerned about deployment issues...
> -gnarmis
> On Jun 1, 8:46 am, izi  wrote:
> > Hi,
> >
> > As I said in my previous mail, you should bring this to the django-
> > admin-tools mailing list:
> http://groups.google.com/group/django-admin-tools/
> >
> > > My guess is documentation is wrong.I think admin_tools media folder
> > > should be inside django.contrib.admin.
> >
> > No, the documentation is ok, please re-read this section carefully:
> http://packages.python.org/django-admin-tools/0.2.0/configuration.htm...
> >
> > What you need is to symlink or copy the "admin_tools" media directory
> > in your MEDIA_ROOT and setup your MEDIA_URL accordingly.
> >
> > Regards,
> >
> > --
> > David
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: django-admin-tools

2010-07-28 Thread gnarmis

Thanks for that link up there, David, solved my (similar, but not
really similar) problem.
Although this has me concerned about deployment issues...
-gnarmis
On Jun 1, 8:46 am, izi  wrote:
> Hi,
>
> As I said in my previous mail, you should bring this to the django-
> admin-tools mailing list:http://groups.google.com/group/django-admin-tools/
>
> > My guess is documentation is wrong.I think admin_tools media folder
> > should be inside django.contrib.admin.
>
> No, the documentation is ok, please re-read this section 
> carefully:http://packages.python.org/django-admin-tools/0.2.0/configuration.htm...
>
> What you need is to symlink or copy the "admin_tools" media directory
> in your MEDIA_ROOT and setup your MEDIA_URL accordingly.
>
> Regards,
>
> --
> David

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: django-admin-tools

2010-07-28 Thread gnarmis
nevermind my last mail, solved.

Helpful link: 
http://docs.djangoproject.com/en/1.1/howto/static-files/#howto-static-files

On Jun 1, 8:46 am, izi  wrote:
> Hi,
>
> As I said in my previous mail, you should bring this to the django-
> admin-tools mailing list:http://groups.google.com/group/django-admin-tools/
>
> > My guess is documentation is wrong.I think admin_tools media folder
> > should be inside django.contrib.admin.
>
> No, the documentation is ok, please re-read this section 
> carefully:http://packages.python.org/django-admin-tools/0.2.0/configuration.htm...
>
> What you need is to symlink or copy the "admin_tools" media directory
> in your MEDIA_ROOT and setup your MEDIA_URL accordingly.
>
> Regards,
>
> --
> David

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: django-admin-tools

2010-07-28 Thread gnarmis
Hi, I had a somewhat similar question. I've followed the setup and
when the dashboard, etc, are uncommented in installedapps, i merely
get a stripped down version of the admin page without the default
styling. Mine is a local development server. The command prompt is
posting this:

[TIMESTAMP] "GET /site_media/admin_tools/css/dashboard.css/ HTTP1.1"
404 2148
[TIMESTAMP] "GET /site_media/admin_tools/css/theming.css/ HTTP1.1" 404
2142
[TIMESTAMP] "GET /site_media/admin_tools/js/utils.js/ HTTP1.1" 404
2130

I guess this means it's 404'ing on the files needed to style the admin
page.
These are some of the settings:
settings.py:
...
MEDIA_ROOT = '/site_media/'
...
ADMIN_TOOLS_MEDIA_URL = '/site_media/'
...
TEMPLATE_CONTEXT_PROCESSORS = (
# default template context processors
'django.core.context_processors.auth',
'django.core.context_processors.debug',
'django.core.context_processors.i18n',
'django.core.context_processors.media',

    # django 1.2 only
'django.contrib.messages.context_processors.messages',

# required by django-admin-tools
'django.core.context_processors.request',
)

INSTALLED_APPS = (
'admin_tools.theming',
#'admin_tools.menu',
'admin_tools.dashboard',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.admin',
'django.contrib.admindocs',
'gnarmis.blog',
)

...

urls.py:
...
url(r'^admin_tools/', include('admin_tools.urls')),
...
(r'^site_media/(?P.*)$', 'django.views.static.serve',
{'document_root': '/site_media/'}),
...


Any ideas, or links/resources where I can learn more about how
media_root, media_url etc in detail?

Thanks,
-gnarmis
On Jun 1, 8:46 am, izi  wrote:
> Hi,
>
> As I said in my previous mail, you should bring this to the django-
> admin-tools mailing list:http://groups.google.com/group/django-admin-tools/
>
> > My guess is documentation is wrong.I think admin_tools media folder
> > should be inside django.contrib.admin.
>
> No, the documentation is ok, please re-read this section 
> carefully:http://packages.python.org/django-admin-tools/0.2.0/configuration.htm...
>
> What you need is to symlink or copy the "admin_tools" media directory
> in your MEDIA_ROOT and setup your MEDIA_URL accordingly.
>
> Regards,
>
> --
> David

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



ANN: django-admin-tools 0.3.0 released

2010-07-16 Thread David Jean Louis

Hello,

I'm happy to announce the availability of the version 0.3.0 of 
django-admin-tools.


Django-admin-tools is a collection of extensions/tools for the default 
django administration interface, it includes:

  * a full featured and customizable dashboard,
  * a customizable menu bar,
  * tools to make admin theming easier.

Many bugs have been fixed, and new cool features and tests were added in 
this version:

http://pypi.python.org/pypi/django-admin-tools/

Django-admin-tools is generously documented, you can browse the 
documentation online here:

http://packages.python.org/django-admin-tools/

A good start is to read the quickstart guide:
http://packages.python.org/django-admin-tools/0.3.0/quickstart.html

The project wiki (including screenshots), code and bugtracker are hosted 
on Bitbucket:

http://bitbucket.org/izi/django-admin-tools/

Many thanks to all the people who contributed to this release !

Best regards,

--
David

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: django-admin-tools

2010-06-01 Thread izi
Hi,

As I said in my previous mail, you should bring this to the django-
admin-tools mailing list:
http://groups.google.com/group/django-admin-tools/

> My guess is documentation is wrong.I think admin_tools media folder
> should be inside django.contrib.admin.

No, the documentation is ok, please re-read this section carefully:
http://packages.python.org/django-admin-tools/0.2.0/configuration.html#setting-up-the-django-admin-tools-media-files

What you need is to symlink or copy the "admin_tools" media directory
in your MEDIA_ROOT and setup your MEDIA_URL accordingly.

Regards,

--
David

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: django-admin-tools

2010-05-31 Thread rahul jain
Hi David,

DEBUG = True
TEMPLATE_DEBUG = DEBUG

ADMINS = (
# ('Your Name', 'your_em...@domain.com'),
)

MANAGERS = ADMINS



DATABASE_ENGINE = 'mysql'   # 'postgresql_psycopg2',
'postgresql', 'mysql', 'sqlite3' or 'oracle'.


# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# although not all choices may be available on all operating systems.
# If running in a Windows environment this must be set to the same as your
# system time zone.
TIME_ZONE = 'America/Chicago'

# Language code for this installation. All choices can be found here:
# http://www.i18nguy.com/unicode/language-identifiers.html
LANGUAGE_CODE = 'en-us'

SITE_ID = 1

# If you set this to False, Django will make some optimizations so as not
# to load the internationalization machinery.
USE_I18N = True

# Absolute path to the directory that holds media.
# Example: "/home/media/media.lawrence.com/"
MEDIA_ROOT = '/Users/---/Documents/---/media'

# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# trailing slash if there is a path component (optional in other cases).
# Examples: "http://media.lawrence.com";, "http://example.com/media/";
MEDIA_URL = ''

# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
# trailing slash.
# Examples: "http://foo.com/media/";, "/media/".
ADMIN_MEDIA_PREFIX = '/media/'

# Make this unique, and don't share it with anybody.
SECRET_KEY = '---'

# List of callables that know how to import templates from various sources.
TEMPLATE_LOADERS = (
'django.template.loaders.filesystem.load_template_source',
'django.template.loaders.app_directories.load_template_source',
# 'django.template.loaders.eggs.load_template_source',
)

MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.csrf.middleware.CsrfMiddleware',
)

ROOT_URLCONF = '---.urls'

TEMPLATE_DIRS = (
# Put strings here, like "/home/html/django_templates" or
"C:/www/django/templates".
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
"mytemplates",
)

TEMPLATE_CONTEXT_PROCESSORS = (
'django.core.context_processors.auth',
'django.core.context_processors.request',
)


INSTALLED_APPS = (
'admin_tools',
'admin_tools.theming',
'admin_tools.menu',
'admin_tools.dashboard',
'django.contrib.auth',
'django.contrib.sites',
'django.contrib.admin',
'django.contrib.contenttypes',
'---.---',
'django.contrib.databrowse'

)

and then if  i do "" ls -ln media """ inside my root project directory,

admin_tools -> /Library/Python/2.6/site-packages/admin_tools/media/admin_tools



urls.py

from django.conf.urls.defaults import *
from django.contrib import databrowse


# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
# Example:
# (r'^---/', include('---.foo.urls')),

# Uncomment the admin/doc line below and add 'django.contrib.admindocs'
# to INSTALLED_APPS to enable admin documentation:
# (r'^admin/doc/', include('django.contrib.admindocs.urls')),

# Uncomment the next line to enable the admin:
    (r'^admin/', include(admin.site.urls)),
(r'^admin_tools/', include('admin_tools.urls')),
(r'^data/(.*)', databrowse.site.root),

)

My guess is documentation is wrong.I think admin_tools media folder
should be inside django.contrib.admin.

--RJ


On Sun, May 30, 2010 at 10:55 AM, izi  wrote:
> Hi,
>
> On 30 mai, 08:43, rahul jain  wrote:
>> Hi Django,
>>
>> Anybody able to ran django-admin-tools successfully. I followed the
>> instructions from this website
>>
>> http://packages.python.org/django-admin-tools/0.2.0/quickstart.html#q...
>>
>> I was expecting a new theme for dashboard and index page after hitting
>> admin link but its still the same.
>>
>
> If you followed the quickstart step by step it should work.
> Please give more information about your settings, urls, the version of
> django you are using, etc.
>
> Note: django-admin-tools has its own mailing list so you should post
> there :
> http://groups.google.

Re: django-admin-tools

2010-05-30 Thread izi
Hi,

On 30 mai, 08:43, rahul jain  wrote:
> Hi Django,
>
> Anybody able to ran django-admin-tools successfully. I followed the
> instructions from this website
>
> http://packages.python.org/django-admin-tools/0.2.0/quickstart.html#q...
>
> I was expecting a new theme for dashboard and index page after hitting
> admin link but its still the same.
>

If you followed the quickstart step by step it should work.
Please give more information about your settings, urls, the version of
django you are using, etc.

Note: django-admin-tools has its own mailing list so you should post
there :
http://groups.google.com/group/django-admin-tools/

Regards,

--
David

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



django-admin-tools

2010-05-29 Thread rahul jain
Hi Django,

Anybody able to ran django-admin-tools successfully. I followed the
instructions from this website

http://packages.python.org/django-admin-tools/0.2.0/quickstart.html#quickstart

I was expecting a new theme for dashboard and index page after hitting
admin link but its still the same.

--RJ

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



ANN: django-admin-tools 0.2.0 released

2010-03-15 Thread David Jean Louis

Hello,

I'm happy to announce the availability of the version 0.2.0 of 
django-admin-tools.


Django-admin-tools is a collection of extensions/tools for the default 
django administration interface, it includes:

 * a full featured and customizable dashboard,
 * a customizable menu bar,
 * tools to make admin theming easier.

Many bugs have been fixed and new cool features were added in this version:
http://pypi.python.org/pypi/django-admin-tools/

This version introduces some backwards incompatible changes:
- now, django-admin-tools stores menu and dashboard preferences in the 
database, so you'll need to run syncdb and to add the django-admin-tools 
urls to your urlconf.

  These steps are described in details in the documentation;
- You'll also need to add admin_tools to your INSTALLED_APPS for the 
locales to work (this was not documented in previous versions).


The project wiki (including screenshots), code and bugtracker are hosted 
on Bitbucket:

http://bitbucket.org/izi/django-admin-tools/

Django-admin-tools is generously documented, you can browse the 
documentation online here:

http://packages.python.org/django-admin-tools/0.2.0/

A good start is to read the quickstart guide:
http://packages.python.org/django-admin-tools/0.2.0/quickstart.html

Best regards,

--
David

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: ANN: django-admin-tools 0.1.0 released

2010-02-14 Thread David Jean Louis

Le 10/02/2010 09:56, David Jean Louis a écrit :

Hello,

I'm happy to announce the availability of the first public release of 
django-admin-tools.




For those interested in the project, I've setup a mailing list to share 
ideas on django-admin-tools future development:

http://groups.google.com/group/django-admin-tools/

Greetings,

--
David

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: ANN: django-admin-tools 0.1.0 released

2010-02-11 Thread Dennis Kaarsemaker
On wo, 2010-02-10 at 09:56 +0100, David Jean Louis wrote:

> I'm happy to announce the availability of the first public release of 
> django-admin-tools.
> 
> Django-admin-tools is a collection of extensions/tools for the
> default 
> django administration interface, it includes:
>   * a full featured and customizable dashboard,
>   * a customizable menu bar,
>   * tools to make admin theming easier. 

That looks very nice. I'll give it a try soon to get rid of some
flatpages-that-really-should-be-admin-modules.
-- 
Dennis K.

The universe tends towards maximum irony. Don't push it.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



ANN: django-admin-tools 0.1.0 released

2010-02-10 Thread David Jean Louis

Hello,

I'm happy to announce the availability of the first public release of 
django-admin-tools.


Django-admin-tools is a collection of extensions/tools for the default 
django administration interface, it includes:

 * a full featured and customizable dashboard,
 * a customizable menu bar,
 * tools to make admin theming easier.

The project started as a proof of concept implementation for a 
django-cms dashboard proposal, and I decided to extract the work I had 
done into this pluggable app.


Django-admin-tools is a work in progress and is not ready for production 
yet.
It is also worth to note that it has only been tested with django 1.1, 
so it may not work if you are using django 1.2 beta.


The Python Package Index page:
http://pypi.python.org/pypi/django-admin-tools/

The project wiki (including screenshots), code and bugtracker are hosted 
on Bitbucket:

http://bitbucket.org/izi/django-admin-tools/

Django-admin-tools is generously documented, you can browse the 
documentation online here:

http://packages.python.org/django-admin-tools/

A good start is to read the quickstart guide:
http://packages.python.org/django-admin-tools/quickstart.html

Have a good day,

--
David Jean Louis 





--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.