n_occupati_donne = models.PositiveIntegerField(blank=True, null=True)
n_occupati_uomini = models.PositiveIntegerField(blank=True, null=True)
and
n_occupati = n_occupati_donne + n_occupati_uomini
is it possible ?
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop. - w
It's not possible to validate a model in admin checking multiple forms
conditions?
is there any example or code snippet ?
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi Open Source
Sede: Via Poggiali 2/bis,
if someday will be added the possibility to
refers to fields directly (self.fieldname), instead of
self.cleaned_data.get(fieldname)
but it's near to perfection, so thanks!
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi O
some similar tasks or snippets?
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi Open Source
Sede: Via Poggiali 2/bis, 47100 Forlì (FC)
Tel.: +39 0543 798985 - Fax: +39 0543 579928
Rispetta l'ambiente: s
When google spiders our i18n translated django websites, does it try
and indicize all languages? is it possible to force the language by a
GET var (for example &language_code=en) ?
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop. - www.soasi.com
Svil
Il 16 dicembre 2008 19.20, Alessandro Ronchi
ha scritto:
> When google spiders our i18n translated django websites, does it try
> and indicize all languages? is it possible to force the language by a
> GET var (for example &language_code=en) ?
I think it's a critical problem.
useful to force it with a
&language=en
This little mod could improve google crawling, because one can only
make sitemaps with urls and that get value added to default urls for
every translations (and it should be easy to add a shortcut to add
urls in different language translations in sitema
Is there a template tag with show_url like {{shop_name}} ?
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi Open Source
Sede: Via Poggiali 2/bis, 47100 Forlì (FC)
Tel.: +39 0543 798985 - Fax: +39 0543 579928
ger necessary.)
Simply beautiful!
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi Open Source
Sede: Via Poggiali 2/bis, 47100 Forlì (FC)
Tel.: +39 0543 798985 - Fax: +39 0543 579928
Rispetta l'ambiente: se non ti
is converted to:
http://www.animalisenzacasa.org/ricerca/?s=forl%C3%AC
I don't know what's changed, because this morning the result was an
empty page (with source code white, and a correct http header).
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop.
ook, it's a common need.
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi Open Source
Sede: Via Poggiali 2/bis, 47100 Forlì (FC)
Tel.: +39 0543 798985 - Fax: +39 0543 579928
Rispetta l'ambiente: se non ti è nec
ld be fairly
> messy.
Ok.
Is it possible to pass the queryset to the generic view after ordering
with python, or I have to rewrite also the generic view?
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi Open Sou
e was the lack of
.queryset(request) call on super()
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi Open Source
Sede: Via Poggiali 2/bis, 47100 Forlì (FC)
Tel.: +39 0543 798985 - Fax: +39 0543 579928
Rispetta l'amb
#x27;s a process, so you can stop it like any other linux process:
killall python
ps aux | grep python and then kill #numproc
ctrl + c
and so on
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi Open Source
Sede: Via P
e that. Fallbacks don't really make sense for websites that
> are properly translated (mixing multiple languages just because the
> translation isn't complete would be very confusing to the users).
>
> The "real" solution here is to give us a Moldovan translation for Django
de so it's not generally
> about Django.
I couldn't profile this app on dreamhost because I cannot
import hotshot, hotshot.stats
like in
http://www.djangosnippets.org/snippets/605/
any other methods?
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop
select_related().get(name='Agency1')
docs[0] = a.docs
print doc.study_level
if you don't set the related_name, you must use document_set:
a = Agency.objects.select_related().get(name='Agency1')
docs = a.document_set
print docs[0].study_level
--
Alessandro Ronchi
Skype
e model you have set to understand.
if it's like:
class Agency:
name = TextField
class Document:
agency = ForeignKey(Agency, related_name="docs")
study_level = IntegerField
you can access to agency_docs with
a = Agency.objects.select_related().get(name='Agency1')
ets.org adds the google search the project can
also receive some money for the ad search, and the user is not forcet
to go out from the website to search the content of the snippets.
It can be a way to support the good project.
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
S
).filter(notizie__isnull=False).order_by('-id')
This is the error i Get:
http://dpaste.com/84076/
Thanks in advance!
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
Rispetta l'ambiente: se non ti è necessario, non stampare questa mail
--~--~-~--~~-
t; In that way I have two errors:
> 1) the template doesn't load the translation. but I've changed only
> the first line to {% extends "index.html" %} , to use my index
> template
> 2) Errors are not shown as it happens if I leave {% extends
> "admin/
://www.detectorpoint.com/?lang=en
http://www.detectorpoint.com/about/
http://www.detectorpoint.com/about/?lang=en
I have hundreds of pages, so I cannot do that by hand...
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi
I have this model:
http://dpaste.com/111206/
and this admin.py:
http://dpaste.com/111207/
but when I try to edit an existing "Impresa" i get a ValidationError:
ManagementForm data is missing or has been tampered with
what's the problem?
--
Alessandro Ronchi
Skyp
When one tries to make a search in admin with a model table he gets this error:
TypeError: Related Field has invalid lookup: icontains
is there anyway to solve it and make it returns nothings instead of 500 error?
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI
2009/1/21 Karen Tracey :
> On Wed, Jan 21, 2009 at 10:21 AM, Alessandro Ronchi
> wrote:
>>
>> When one tries to make a search in admin with a model table he gets this
>> error:
>>
>> TypeError: Related Field has invalid lookup: icontains
>>
>>
ue where to start looking.
It falls on SchedaBilancioGenere model. I cannot replicate on a smaller model.
They're huge, but all the fields are not important: it seems if falls
on a related field.
This is the trackback:
http://dpaste.com/111757/
--
Alessandro Ronchi
Skype: aronchi
http://ww
ple fields you need to list each explicitly, using the standard
> double-underscore syntax.)
You was right!
Thanks a lot!
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi Open Source
Sede: Via Poggiali 2/bis, 47100 For
this heavy work)?
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi Open Source
Sede: Via Poggiali 2/bis, 47100 Forlì (FC)
Tel.: +39 0543 798985 - Fax: +39 0543 579928
Rispetta l'ambiente: se non ti è necessari
8000 tuple for every plant every day, and a
dimension of 30 fields (double), i have 400kb for every plant /day.
In a year I will reach 8GB of data.
I will have 2 tables for a total of 60 fields, + indexes and other django
fields.
Is that reasonable to be handled in a single table?
--
Alessa
ith
a PGSQL command without ORM) on a save of a model? The query and
inserts should be transparent, and so I could use django for
everything.
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi Open Source
Sede: Via Poggi
I need to use aggregation features of django 1.1 (i need AVG, SUM).
My production site uses 1.0.2.
Can I upgrade to trunk without worrying?
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi Open Source
Sede: Via
quot;]
but it loose the order by and the results are not the same I want.
Thanks in advance!
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi Open Source
Sede: Via Poggiali 2/bis, 47100 Forlì (FC)
Tel.: +39 0543
27;m running on a debian 4.
Thanks in advance!
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi Open Source
Sede: Via Poggiali 2/bis, 47100 Forlì (FC)
Tel.: +39 0543 798985 - Fax: +39 0543 579928
Rispetta l'a
x27;m using mod_python.
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi Open Source
Sede: Via Poggiali 2/bis, 47100 Forlì (FC)
Tel.: +39 0543 798985 - Fax: +39 0543 579928
Rispetta l'ambiente: se non ti è neces
with postgreSQL I get case sensitive filters also with icontains.
Is there nothing I can do to solve this problem?
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi Open Source
Sede: Via Poggiali 2/bis, 47100 Forlì
I have a field I want to be show on web pages form for a model but not
in the admin section. Is it possible?
If I use editable = False it will be hidden for both.
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi
there any snippet or sample code to do the same?
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi Open Source
Sede: Via Poggiali 2/bis, 47100 Forlì (FC)
Tel.: +39 0543 798985 - Fax: +39 0543 579928
Rispetta l'amb
I need to set a field as escluded in admin.py only for non-superuser
staff people.
is it possible?
how can I do that?
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi Open Source
Sede: Via Poggiali 2/bis, 47100
I need to translate html entities on utf-8 characters, like à to à
is there any template tag filter which can do that?
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi Open Source
Sede: Via Poggiali 2/bis, 47100
return user
called by
user = User.objects.get_current()
I get an integrity error: duplicate key.
how it's possible? if is there already a user with that key it should return
that without cause an integrity error, true?
--
Alessandro Ronchi
Skype: aronchi
SOASI Soc.Coop. - www.soas
2009/6/21 Alessandro Ronchi
> I have a very strange problem.
>
> With this function:
>
> def get_current(self):
>
> facebook = get_facebook_client()
> user, created = self.get_or_create(id=int(facebook.uid))
> if created:
>
2009/6/21 Alessandro Ronchi
>
> it gets into the except and tries to open another User with the same id!
>
It seemed to be a very big int for uid that caused a truncation when saving
into database.
--
Alessandro Ronchi
Skype: aronchi
SOASI Soc.Coop. - www.soasi.com
Sviluppo S
F. (a simple link pointing to a view sending
the search form filled as POST).
Must I write a new app outside the admin?
--
Alessandro Ronchi
SOASI
Sviluppo Software e Sistemi Open Source
http://www.soasi.com
--~--~-~--~~~---~--~~
You received this message because yo
slot = "4803082542";
google_ad_width = 234;
google_ad_height = 60;
//-->
http://pagead2.googlesyndication.com/pagead/show_ads.js"</a>;>
Thanks in advance
--
Alessandro Ronchi
SOASI
Sviluppo Software e Sistemi Open Source
http://www.soasi.com
--~--~-~--~--
2009/7/8 Mike Ramirez
> Wrap the script code with
>
> See: http://www.w3schools.com/xmL/xml_cdata.asp
>
> Mike
>
>
It's parsed too:
<![CDATA[
--
Alessandro Ronchi
SOASI
Sviluppo Software e Sistemi Open Source
http://www.soasi.com
--~--~-~--~~
ther account. I cannot move the feed
because I've a lot of members who have subscribed the feed by email.
So my only chance is to add the adsense code to django feeds, but I
don't know how because it pass the code to a safe filter and that
disable my script.
--
Alessandro Ronchi
S
I must add threaded comments to my django 1.1 app.
Is there anything already done I can use?
Any advise?
--
Alessandro Ronchi
SOASI
Sviluppo Software e Sistemi Open Source
http://www.soasi.com
--~--~-~--~~~---~--~~
You received this message because you are
I need to hide the django-comments honeypot in my comment form, but It's
visible to the user.
Is there a way to do that in an easy way?
--
Alessandro Ronchi
SOASI
Sviluppo Software e Sistemi Open Source
http://www.soasi.com
--~--~-~--~~~---~--~~
You rec
x27;blog.utils.get_nodes', gettext('Blog')),)
But it doesn't work.
Any ideas?
Any other working example?
Is there a django-cms dedicated mailing list?
--
Alessandro Ronchi
SOASI
Sviluppo Software e Sistemi Open Source
http://www.soasi.com
--~--~-~--~~-
2009/8/11 Alessandro Ronchi
> I have a django-cms app with this menu:
I've partially solved my problem.
but it doesn't get get_title from the model.
It's very strange, because I've followed the documentation example on
http://github.com/digi
2009/8/21 Alessandro Ronchi :
>
> one thing like that :
> from PROJECT_ROOT.local_settings import *
>
> Thanks in advance
I correct myself:
I need PROJECT_NAME to import, not the project root.
I can then import it with
exec "from " + settings.PROJECT_NAME +".lo
settings import *
Thanks in advance
--
Alessandro Ronchi
SOASI
Sviluppo Software e Sistemi Open Source
http://www.soasi.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post
Is there any way to get the project name that's running in the code?
Now I use a manual setting: PROJECT_NAME = "ambiente"
but it should be useful to avoid that, because I'm working on an
external app and every new unuseful configuration simplify my life a
lot.
--
Ales
I must use fckeditor file upload but I want it to be possible only for
django staff authenticated users.
I'm using mod_python inside apache, is it possible ?
--
Alessandro Ronchi
SOASI
Sviluppo Software e Sistemi Open Source
http://www.soas
When I return a 500 error I need to have my context_processor, in which I
store some important vars used in my template. Is it possible?
--
Alessandro Ronchi
SOASI
Sviluppo Software e Sistemi Open Source
http://www.soasi.com
--~--~-~--~~~---~--~~
You received
licate names 3 or 4 times.
Thanks in advance!
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop. - www.soasi.com
Sviluppo Software e Sistemi Open Source
Sede: Via Poggiali 2/bis, 47100 Forlì (FC)
Tel.: +39 0543 798985 - Fax: +39 0543 579928
Rispetta l'ambient
Now the javascript loads also for the object list in admin, which has
no "descrizione" and generates a warning popup.
is it possible to load a js only on object modification form?
Thanks in advance.
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop
I want an autofield that shows the content in admin.
If I put an autofield it's hidden, if I put an IntegerField it doesn't
have a new automatic default value.
Is there a solution?
--
Alessandro Ronchi
Skype: aronchi
http://www.alessandroronchi.net
SOASI Soc.Coop. - www.soasi.co
I need to give the possibility to the administrator to manage portions
of templates in pages, and let him to change that portions for every
page.
Joomla does this thing with modules: I need something similar. Is it possible?
--
Alessandro Ronchi
SOASI
Sviluppo Software e Sistemi Open Source
2009/9/15 Randy Barlow :
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Alessandro Ronchi declared:
>> I need to give the possibility to the administrator to manage portions
>> of templates in pages, and let him to change that portions for every
>> pag
I need to put a flatpage on /
and make www.example.com
return the flatpage.
Is it possible? What url must I put in flatpage admin?
--
Alessandro Ronchi
SOASI
Sviluppo Software e Sistemi Open Source
http://www.soasi.com
--~--~-~--~~~---~--~~
You received this
return self.nome
@staticmethod
def get_default():
try:
return Settore.objects.all()[0].id
except:
return None
~~~~~
--
Alessandro Ronchi
SOASI
Sviluppo Software e Sistemi Open Source
http://www.soasi.com
http://w
pt
headers: internal_error.html
What can I check to find the problem?
--
Alessandro Ronchi
SOASI
Sviluppo Software e Sistemi Open Source
http://www.soasi.com
http://www.linkedin.com/in/ronchialessandro
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
blem.
this is my model http://dpaste.com/113759/
and this is my admin:
http://dpaste.com/113758/
thanks in advance, best regards.
--
Alessandro Ronchi
SOASI
Sviluppo Software e Sistemi Open Source
http://www.soasi.com
http://www.linkedin.com/in/r
to the PersonAdmin class.
>
>
Another simple solutions may be to have a link to edit the foreign key model
in another page (maybe a popup), instead of only choice existing one or add
them. Is it possible?
--
Alessandro Ronchi
SOASI
Sviluppo Software e Sistemi Open Source
h
unique_for_date checks only the date in a datetime field or also for the time?
--
Alessandro Ronchi
SOASI
Sviluppo Software e Sistemi Open Source
http://www.soasi.com
http://www.linkedin.com/in/ronchialessandro
--~--~-~--~~~---~--~~
You received this message
ience.
--
Alessandro Ronchi
SOASI
Sviluppo Software e Sistemi Open Source
http://www.soasi.com
http://www.linkedin.com/in/ronchialessandro
--
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...@googl
page so I should try to optimize page loading
Now I'm using
processes=2 maximum-requests=500 threads=25
with no particular apache optimization.
Do you have any advice?
--
Alessandro Ronchi
SOASI
Sviluppo Software e Sistemi Open Source
http://www.soasi.com
http://www.linkedin.com/in/r
think.
Good advice the ngix, but If it's possible I don't want to add another
webserver. So, I want to get the most out of apache, where I can.
--
Alessandro Ronchi
SOASI
Sviluppo Software e Sistemi Open Source
http://www.soasi.com
http://www.linkedin.com/in/ronchialessandro
--
You re
With mod_wsgi I only get error logged into apache and not on the interactive
trackback in the browser, also If i set DEBUG=True in my settings.
Is there any way to handle the django trackback as usual?
--
Alessandro Ronchi
SOASI
Sviluppo Software e Sistemi Open Source
http://www.soasi.com
http
On Thu, Nov 19, 2009 at 12:48 AM, Alessandro Ronchi <
alessandro.ron...@soasi.com> wrote:
> With mod_wsgi I only get error logged into apache and not on the
> interactive trackback in the browser, also If i set DEBUG=True in my
> settings.
>
> Is there any way to handle th
On Thu, Nov 19, 2009 at 1:08 AM, Graham Dumpleton <
graham.dumple...@gmail.com> wrote:
>
>
> On Nov 19, 10:48 am, Alessandro Ronchi
> wrote:
> > With mod_wsgi I only get error logged into apache and not on the
> interactive
> > trackback in the browser, also I
On Thu, Nov 19, 2009 at 2:02 AM, Karen Tracey wrote:
> On Wed, Nov 18, 2009 at 7:29 PM, Alessandro Ronchi <
> alessandro.ron...@soasi.com> wrote:
>
>>
>>
>> http://dpaste.com/122205/
>> is my log file.
>>
>>
> Traceback shows it is dying
and empty in shell.
Is there something wrong?
--
Alessandro Ronchi
SOASI
Sviluppo Software e Sistemi Open Source
http://www.soasi.com
http://www.linkedin.com/in/ronchialessandro
--
You received this message because you are subscribed to the Google Groups
"Django users"
On Thu, Nov 19, 2009 at 5:28 PM, Alessandro Ronchi <
alessandro.ron...@soasi.com> wrote:
>
>> Really, you can get both pretty debug pages and emails with mod_wsgi as
>> well as you can with the development server or mod_python. I've seen both.
>> The problem wit
.4/lib-tk',
'/usr/lib/python2.4/lib-dynload', '/usr/lib/python2.4/site-packages',
'/usr/lib/python2.4/site-packages/Numeric',
'/usr/lib/python2.4/site-packages/PIL',
'/usr/lib/python2.4/site-packages/gtk-2.0']
is it possible that dif
, 50 ~>10pt and so
on).
How can I accomplish that?
--
Alessandro Ronchi
SOASI
Sviluppo Software e Sistemi Open Source
http://www.soasi.com
http://www.linkedin.com/in/ronchialessandro
--
You received this message because you are subscribed to the Google Groups
"Django users" grou
I need to make my model translatable into different languages.
Is there any simple way to handle that in a transparent manner?
I've fround transmeta project on google, anyone is using that?
--
Alessandro Ronchi
SOASI
Sviluppo Software e Sistemi Open Source
http://www.soasi.com
ts that has that
> tag.
>
>
But in that way I must add some code to the model, wjere I can write exactly
the font-size.
I need something similar to widthratio but with a minimum value (or maybe
there is a way to make the littler sets not to 0 font-size).
--
Alessandro Ron
hp
>
> I'd imagine that there's a Python library or module that will do this for
> you, but it's not hard to write your own.
I've done a simple custom template tag to have my cloud working :)
--
Alessandro Ronchi
http://www.soasi.com
SOASI - Sviluppo Software e Sistem
I have some objects that needs to be paginated . I want to get all my pages
on my sitemap.
Is there any smart way to make items(self) returns all the pages for that
objects and not only the get_absoute_url without page= get variable?
--
Alessandro Ronchi
http://www.soasi.com
SOASI - Sviluppo
I need to make a view with a basic html authentication (because I need to
use that url in a program that parse the result).
I need to authenticate against the check of a permission.
What's the best way to do that?
--
Alessandro Ronchi
http://www.soasi.com
SOASI - Sviluppo Software e Si
Has someone managed to use ckfinder with django ? I want only staff
users of my apps to be able to upload files, is it possible?
--
Alessandro Ronchi
http://www.soasi.com
SOASI - Sviluppo Software e Sistemi Open Source
http://hobbygiochi.com
Hobby & Giochi, l'e-commerce del div
for use in typography)
with a some images (raster and bitmap) in my web application.
I want to use django as web framework.
Any use case? Or documentation I can read?
Thanks in advance, best regards.
--
Alessandro Ronchi
http://www.soasi.com
SOASI - Sviluppo Software e Sistemi Open Source
--
Yo
need the pdf to be precise as
pixels, and HTML is not the best solution for that.
--
Alessandro Ronchi
http://www.soasi.com
SOASI - Sviluppo Software e Sistemi Open Source
Hobby & Giochi, l'e-commerce del divertimento
http://hobbygiochi.com
http://www.facebook.com/pages/Forli/Hobby-Gioc
you know any wysiwyg javascript (jquery or prototype)
like the one in stiqr.com I can re-use?
I need something to let users position objects in my brochure, and get
positions and other editor informations to create pdfs.
--
Alessandro Ronchi
http://www.soasi.com
SOASI - Sviluppo Software e Sistem
Is it possible to check in a django template if a request is from a spider/
bot or not?
--
Alessandro Ronchi
http://www.soasi.com
SOASI - Sviluppo Software e Sistemi Open Source
Hobby & Giochi, l'e-commerce del divertimento
http://hobbygiochi.com
http://www.facebook.com/pages/Fo
I need to add some custom links to sidebar in admin section.
What's the cleaner way to make that?
I can only override the index.html template?
--
Alessandro Ronchi
http://www.soasi.com
SOASI - Sviluppo Software e Sistemi Open Source
Hobby & Giochi, l'e-commerce del div
from pre_save (which determines whether an email
> should be sent) to post_save (which does the sending). Might be over-
> engineering it, though.
>
I solved with this code:
http://dpaste.com/192120/
and
pre_save.connect(account_moderated_email, sender=Profile)
--
Alessandro Ronchi
ere/1/
but if I open http://mydomain.com/pl/c/auto-intere/1/
all the next link will redirect back to /it/
So, I need to fix the user choice and set it to the user request language.
Is it possible?
How?
--
Alessandro Ronchi
http://www.soasi.com
SOASI - Sviluppo Software e Sistemi Open Source
2010/5/10 Nuno Maltez
> How are you creating the url for the links? Are you using the {% url
> %} tag and reverse() functions? It should work, we have sites with
> localeurl and django-multilingual running fine in production.
>
>
I solved with your solution. Thanks.
--
Al
Is it possible?
How?
Thanks in advance,
--
Alessandro Ronchi
http://www.soasi.com
Hobby & Giochi
http://hobbygiochi.com
http://www.facebook.com/hobbygiochi
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send
2010/7/12 Martin Melin
> 2010/7/12 Alessandro Ronchi :
> > I want django to return μ instead of the html enscaped form μ in my
> > views, because I need it to return a reportlab template wich doesn't
> handle
> > the escaped version.
> > I already have an
I need to put a manytomany that points to a list of languages.
I need to create another language model or I can use a django languages one?
--
Alessandro Ronchi
http://www.soasi.com
Hobby & Giochi
http://hobbygiochi.com
http://www.facebook.com/hobbygiochi
--
You received this message bec
rees-with-more-than-2-levels-of-related-items
But it doesn't work.
--
Alessandro Ronchi
http://www.soasi.com
Hobby & Giochi
http://hobbygiochi.com
http://www.facebook.com/hobbygiochi
--
You received this message because you are subscribed to the Google Groups
"Django users&quo
in.js
but the first come after jquery.init.js
// Puts the included jQuery into our own namespace
var django = {
"jQuery": jQuery.noConflict(true)
};
Is there a way to avoid attaching two times the same jquery library in
admin?
Thanks in advance,
--
Alessandro Ronchi
http://www.soasi.co
ry as an implementation detail
> and supply your own for your own uses.
It's not possible to tell jquery-ui to use the django.query namespace?
--
Alessandro Ronchi
http://www.soasi.com
Hobby & Giochi
http://hobbygiochi.com
http://www.facebook.com/hobbygiochi
--
You received this
s not possible to serve static files from inside
an egg file. It would be very nice to pack a library (like, for
example, filebrowser), and have python unpack it on cache and serve
also javascript and image files.
Is it possible?
--
Alessandro Ronchi
http://www.soasi.com
Hobby & Gi
tion, and I hope it will
become standard in next django.
--
Alessandro Ronchi
http://www.soasi.com
Hobby & Giochi
http://hobbygiochi.com
http://www.facebook.com/hobbygiochi
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
/base_site.html
with only
{% extends "_base_site.html" %}
but it's not clean.
Is there any other cleaner way to do that?
--
Alessandro Ronchi
http://www.soasi.com
Hobby & Giochi
http://hobbygiochi.com
http://www.facebook.com/hobbygiochi
--
You received this message because
1 - 100 of 192 matches
Mail list logo