grazie beri ho trovato questa: https://bitbucket.org/leapfrogdevelopment/rstr/
dopodiche la uso cosi dento un model def test_url(self): return "<a target='_blank' href='%s'>Test URL</a>" % reverse( "regex_channel", kwargs={'channel_url' : rstr.xeger(self.url)}) test_url.allow_tags = True e ottengo una url da testare direttamente nell'admin fondamentalmente il channel รจ un dispatcher dinamico ciao S 2012/4/12 Marco Mariani <bir...@gmail.com> > 2012/4/12 Andrea Francia <and...@andreafrancia.it> > > Se non ci sono "parentesi" ne "pipe" allora basta prendere l'espressione >> regolare e togliere tutti i "*", "?". >> Se ci sono parentesi diventa difficile :-( >> > > forse questo puo' aiutare? > > > http://stackoverflow.com/questions/492716/reversing-a-regular-expression-in-python > > > > _______________________________________________ > Python mailing list > Python@lists.python.it > http://lists.python.it/mailman/listinfo/python > >
_______________________________________________ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python