How to update data without using the API

2021-11-12 Thread Antonio Stan
Hey, so i have 2 models, one for cars and one for transactions. I would appreciate if anyone could help me. When i create a transaction, i need to update the sum of prices in the cars model (i have a foreignkey allocated to cars id which goes into the transaction). So, how could i update the sum

Re: Problem re-rendering ClearableFileInput on validation error

2021-10-08 Thread Jesus Antonio Sv
Did you find a solution for this? On Saturday, December 12, 2020 at 1:13:39 AM UTC+9 michael@gmail.com wrote: > Note that if the user decides to upload a new file on step 2, the field > will then be re-rendered with the uploaded file object, which also ends up > rendering a blank file inpu

Azure Analysis services with Django

2020-11-22 Thread Antonio Krsnik
Hi there, I am new to this so hope someone can help me. I want to use tabular model from Azure Analysis services my company has as a data source with Django. Has anyone tried it and can help me? Also, if I understood correctly, migrations will also apply changes to database, but I just want to

Interfaz Gráfica (Frontend)

2020-04-17 Thread Denilson Antonio Avellan
Hola comunidad estoy empezando con Django me parece super genial pero quiero empezar con las interfaces gráficas por ejemplo necesito ejemplos o plantillas de login. menus. vistas etc. y queria saber en que me pueden ayudar mandandome links donde me pueda guiar! Muchas Gracias..!! -- You rec

Re: Models as choices

2020-04-17 Thread Denilson Antonio Avellan
me pueden enviar el codigo completo ? para hacer un login solo la interfqaz grafica sin nada de conexion a base de datos porfavor! El vie., 17 de abr. de 2020 a la(s) 00:00, Gavin Wiener ( gavinwie...@gmail.com) escribió: > If you're serializing as JSON, that primary key is literally just integer

Re: pip install mysqlclient not working

2020-01-01 Thread Antonio Alvarez Ramirez
Hello !! Try to install MySQL connector https://dev.mysql.com/downloads/connector/cpp/ Happy new year!! El mié., 1 ene. 2020 13:00, Mohd Akram escribió: > i am using python 3.8 and django 1.11.22 > > PS C:\WINDOWS\system32> *pip install mysqlclient* > Collecting mysqlclient > Using cached

Re: I'm getting a NewConnectionError while using reqeusts.

2019-12-22 Thread Antonio Alvarez Ramirez
Hello , You add four !!! ;-) try yo remove one Bye , and have nice day El dom., 22 dic. 2019 8:55, Aaryan Dewan escribió: > I was making a simple django application in which it will lookup to > google.com and display all the links. Here's some of the code( that's > causing the error ): >

Re: Power BI integration with django

2019-11-27 Thread Antonio CG
ty El miércoles, 27 de noviembre de 2019, 19:39:04 (UTC+1), Integr@te System escribió: > > Hi friend, > > Blessing u: > > powerBI rest API: > https://docs.microsoft.com/en-us/rest/api/power-bi/embedtoken > > Ironpython integrated .Net: > https://ironpython.net/ > > On Wed, Nov 27, 2019, 22:21 Bri

Is a bug when renaming a model which has a Foreign Key?

2019-10-25 Thread Luis Antonio Chapado Chorro
I want to rename a model. >From "BaseSpaceLibraryName" to "LibraryKit" class *LibraryKit* (models.Model): libraryName = models.CharField(max_length=125) generatedat = models.DateTimeField(auto_now_add=True) class Projects(models.Model): LibraryKit_id = models.ForeignKey(

Re: Looking for an experienced Django full stack developer

2019-02-27 Thread Antonio José Brasil
Hello! I'm interested. Tell me more. Antonio. antoniojppr...@gmail.com Em ter, 26 de fev de 2019 às 07:02, Giorgio M. escreveu: > We are looking to expand our team with an experienced Python / Django > developer, with the ability to work vertically from the model creation to >

NavBar - Data presentation in next column

2019-02-22 Thread Antonio José
Hello! In vertical NavBar, how to presentation the list of data, in next column and first row. Example: https://dpaste.de/Zu1t#L10 Thanks. Antonio -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this grou

Django doesn't run manage.py: ModuleNotFoundError: No module named 'ProjectName' (clonded Django project))

2018-11-27 Thread Marco Antonio Diaz Valdes
Hello, my partners and I are working on a Django project using git, a partner begin the project and committed it on github, then the rest of us copy the project on their respective computers, but when we run the "python manage.py runserver" command (or any other command using manage.py) the o

Envío de formulario con una tabla dinámica

2017-12-20 Thread Antonio Veliz
bueno estoy ya trabajando con un formulario que tiene una tabla dinámica, en la tabla puedo adicionar y eliminar las filas hasta alli todo bien, lo que nececito que me ayuden en 2 cosas que no he podido resolver: 1-) El segundo select es dependiente del primero y no se hace nada no se que error

[Channels] Unit tests simulating two connections

2017-05-10 Thread Luís Antonio De Marchi
First of all I'm sorry for my English, I'm supported by the translator. I'm trying to simulate 2 simultaneous connections in my unit tests, but channel name gets repeated and causes the system to "ignore" one of the connections. self._send_and_consume('websocket.connect', {"text": "", "path": "

Re: Channels, Websockets and 'Backpressure'

2017-04-27 Thread Luís Antonio De Marchi
First I need to ask for patience with my English, the translator is helping. We are creating an project with forecasts of millions of connections per second. We've never worked with websocket before, I heard that Crossbar.io was better. But I've been playing with Django Channels for some time an

Re: Django vs ExtJS

2015-06-08 Thread Antonio Saponara
ExtJS is a REST *client* wich uses basic CRUD calls to obtain great results with *few lines of code*! It supports CRUD, pagination, sorting and filtering out of the box! Please respect also the 2nd class citizen :-| Django-rest-framework of course is server-side so it is incomparable! It doe

Re: Django vs ExtJS

2015-06-05 Thread Antonio Saponara
Hi I am developing my REST proxy for Sencha, I have tested with ExtJS and Sencha Touch frameworks and it does support, pagination, remote filters, remote sorting and so on. It's developed with Zend Framework 2 and can support different DB types on the same installation. Have a look at: http:/

Re: response to ajax (jquery) with variables

2014-08-31 Thread Antonio Russoniello
Thank you Andreas ... I got it !!! AR El 30/08/2014 05:04 a.m., Andreas Kuhne escribió: Hi again Antonio, First of all, make sure you are using a good browser with debugging capabilities (I prefer Chrome), because you'll need it. Secondly, I usually use the $.ajax request, instead o

Re: response to ajax (jquery) with variables

2014-08-29 Thread Antonio Russoniello
esponse*); <- NOT SURE IF THIS IS CORRECT alert(data[0]); } <- I´m trying to put on an alert windows the first item of my array arrg else{ alert('Error! :(');} }); } Thanks in advande. AR El 28/08/2014 02:57 a.m., Andre

Re: response to ajax (jquery) with variables

2014-08-29 Thread Antonio Russoniello
Thanks Andréas, I will try it. Regards/AR El 28/08/2014 02:57 a.m., Andreas Kuhne escribió: Hi Antonio, import simplejson as json return HttpResponse( json.dumps({ 'array': example }), content_type="application/json" ) That would do the trick. This

response to ajax (jquery) with variables

2014-08-27 Thread Antonio Russoniello
Hello, i hope you can help me with this, I'm trying to send to an ajax (jquery from my html template) a response but i would like to send also a new variable. in my html template I have: $("#init_date").click(function(){ var some_date = {'init_date': init_date, 'end_date': end_da

Re: Expected URL with primary key when testing SimpleTestCase.assertRedirects()

2014-06-18 Thread Antonio Alaniz
ts.py. I'm going move some of this work around between functional and unit tests and then try out your suggestion with the client. Tony On Tuesday, June 17, 2014 7:26:27 PM UTC-7, Antonio Alaniz wrote: > > I'm testing a redirect that would include the primary key. Can anyone tell

Expected URL with primary key when testing SimpleTestCase.assertRedirects()

2014-06-17 Thread Antonio Alaniz
I'm testing a redirect that would include the primary key. Can anyone tell me how I can test the redirect URL if it involves the primary key? Will the following work?: self.assertRedirects(response, 'message/(?P\d+)/', 200) -- You received this message because you are subscribed to the Google

Re: py2exe + Django 1.6

2014-04-10 Thread Antonio Francisco Martín Romero
ch I'm already using for years to package my django > application with py2exe. > > I don't understand why the core team continues to use the current > un-pythonic code to discover commands and fails to merge any of the fixes > that have been proposed. > > Johan > &g

py2exe + Django 1.6

2014-04-10 Thread Antonio Francisco Martín Romero
Hi everyone, I was using py2exe + Django 1.3 without problems. From Django 1.4 the way to find the commands changed and it tries to find .py files as you can see in the find_commands() function in the file core/management/__init__.py . When you compile Django using py2exe, your don't have .py

API rest for https://docs.djangoproject.com/en/dev/intro/tutorial01/ help

2014-02-20 Thread Antonio Villavicencio
I am trying just to do an API REST with the project of: https://docs.djangoproject.com/en/dev/intro/tutorial01/ specifically with the model of Question class Question(models.Model): question_text = models.CharField(max_length=200) pub_date = models.DateTimeField('date published') class C

There are plans for a django direct connection to ibm i db2 (iseries)

2013-10-21 Thread Antonio Campos
Hi , I'me new to django and I know there are the db2 remote connection to ibm I (iseries), but it is not free. So my question is if there are plans to developer a driver to connect directly from django to IBM I.Django is great and IBM I is a great server too and have na option for IBM I like MY

Custom django menu and page

2013-10-11 Thread Juan Antonio García Cano
In my django admin site, i have the menu with the name of my app and in this section all the models that i have registered in admin.py I want to know if it is posible to put in the main menu and submenu a custom entry, with custom templates. (These pages will be only for work and show data, the

Re: Model inheritance problem

2013-09-17 Thread Antonio Mignolli
Hmm, no, it does not work even without indexed=True, my mistake. So the "issue" remains. Il giorno martedì 17 settembre 2013 16:17:04 UTC+2, Antonio Mignolli ha scritto: > > Thanks, George, but as I said in the beginning, I'm using neo4django, > which surely has Str

Re: Model inheritance problem

2013-09-17 Thread Antonio Mignolli
Thanks, George, but as I said in the beginning, I'm using neo4django, which surely has StringProperty, otherwise I would have an AttributeError on StringProperty, which I don't have. I should have written: from neo4django.db import models and ... name = models.StringProperty(indexed=True)

Model inheritance problem

2013-09-15 Thread Antonio Mignolli
Hi, I posted something similar also to italian Django-it group. I'm using neo4django, but I want to understand things in a more generic way. My case: class MyBaseModel(models.NodeModel): name=StringProperty() class Meta: abstract = True NodeModel it's a graph Node, like a record i

Call action with a link in the admin site

2013-07-04 Thread Juan Antonio García Cano
In the admin.py i have this function: actions = ['generar_pdf'] def generar_pdf(self, request, queryset): ... (This function make a PDF of the object selected) And i show one button in the list_display (of the admin site) with this function: def boton_mail(self,obj): return m

Error in GeoDjango Tutorial- Help

2011-11-22 Thread Antonio Rocha
Greetings I'm following this tutorial (https://docs.djangoproject.com/en/dev/ref/ contrib/gis/tutorial/) (Great Workd by the way) but I got this error in load.run() Failed to save the feature (id: 0) into the model with the keyword arguments: {'iso2': u'AG', 'name': u'Antigua and Barbuda', 'area':

How to display an image from model

2011-11-21 Thread antonio
I'm newbie using django, and I neeto to display a image from the model, I've read about serving static conten but it's not clear to me how to do it. This is my model: class Author(models.Model): first_name = models.CharField(max_length=30) headshot = models.ImageField(upload_to='img/') So i p

Re: problems with errors in templates

2011-04-18 Thread Antonio Sánchez
thanks, i think you are right, but now i cant check it, i'll do it later! thanks! On 17 abr, 23:00, Daniel Roseman wrote: > On Sunday, 17 April 2011 21:41:15 UTC+1, Antonio Sánchez wrote: > > > hi, im working with a modelform, and overrided clen methos for making > > some

problems with errors in templates

2011-04-17 Thread Antonio Sánchez
hi, im working with a modelform, and overrided clen methos for making some custom checks, raising a forms.ValidationError when i need, im sure this error is raised, but i dont know why in the template errors are not showed (instead of form is showed again cause it's not valid!), here is some of the

Re: problems with redirect function

2011-04-11 Thread Antonio Sánchez
#x27;s possible, but i cant do it work! On Apr 11, 12:42 pm, Daniel Roseman wrote: > On Monday, April 11, 2011 12:00:37 AM UTC+1, Antonio Sánchez wrote: > > > hi, im trying to use redirect shortcut, but im having problems passing > > arguments to the view i want to rever

problems with redirect function

2011-04-10 Thread Antonio Sánchez
hi, im trying to use redirect shortcut, but im having problems passing arguments to the view i want to reverse. view definition is this: def profile(request, activation_key=None, new=None): if new is None: return HttpResponse("You're at the profile.") else:

Re: extending django-registration forms

2011-04-07 Thread Antonio Sánchez
i have tried a lot things, but nothing works... only when i delete that field, so that is the problem, but i dont know why!?!? :S On 6 abr, 22:29, Antonio Sánchez wrote: > Hi, im having problems extending django-registration register form. i > have extended auth.User -> UserProfile,

extending django-registration forms

2011-04-06 Thread Antonio Sánchez
Hi, im having problems extending django-registration register form. i have extended auth.User -> UserProfile, and added some attributes, one of this is country, that is a ForeignKey to Country Table (Django- Countries, with all countries). After configuring django-registration, i extend register f

Re: extend User Model for custom fields

2011-03-26 Thread Antonio Sánchez
Yeah sure, i should have used "recommended" word instead of correct. The difference between link i wrote and b-list is that the last one uses a foreign-key, while first uses one-to-one, and this is the way is recommended in doc, so... I think i will follow that post recommendations. Thanks again!

Re: extend User Model for custom fields

2011-03-25 Thread Antonio Sánchez
ith > AUTH_PROFILE_MODULE in settings, which the docs show you how to use. > Yes you can use inheritance, but you might assume it is a good idea to > use what the auth app promotes. > > > > On Fri, Mar 25, 2011 at 9:04 AM, Antonio Sánchez > wrote: > > > hi! i have a ques

extend User Model for custom fields

2011-03-25 Thread Antonio Sánchez
hi! i have a question, which is the best option about extending user model?? here: http://docs.djangoproject.com/en/1.2//topics/auth/#storing-additional-information-about-users they say to create a manual OneToOneField between models and some more stuff, but here: http://docs.djangoproject.

Variables in parent template

2009-03-20 Thread Antonio
nly solution? I was wondering if I can create e a form object and include it in each page. Of course I can't pass it in each view through context. Is there a way to get the html of a form object from the base template? Thank you. Antonio --~--~-~--~~~---~--~~

Re: Overriding update in models

2008-11-04 Thread Antonio Volpon
Thanks both. Horrible typo. I noticed, however, that the time update isn't the current one. Have to look at some locale? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, se

Re: Overriding update in models

2008-11-04 Thread Antonio Cavedoni
Ciao Antonio, On Nov 4, 2008, at 8:58 PM, Antonio Volpon wrote: > import datetime > from django.db import models > > class Object(models.Model): >description = models.CharField(max_length=255) >insert_date = models.DateTimeField(editable=False) >update_date =

Re: Overriding update in models

2008-11-04 Thread Antonio Volpon
Alex, thanks a lot for the suggestion, but it doesn't work. Antonio --~--~-~--~~~---~--~~ 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@goog

Overriding update in models

2008-11-04 Thread Antonio Volpon
hanges the value of description. I think I'm doing something completely wrong, right? Thanks a lot, Antonio import datetime from django.db import models class Object(models.Model): description = models.CharField(max_length=255) insert_date = models.DateTimeField(editable=False)

Re: Django font

2008-04-01 Thread Antonio Cavedoni
at its called/have a link, > or is it a homemade logo? The Django logotype is set in DTL Prokyon: http://www.dutchtypelibrary.nl/Prokyon_rdrct.html Here, a handy price list (per weight): http://www.dutchtypelibrary.nl/PDF/pricelists/singleuser/DTL%20Prokyon_prlst.p

Re: Presence of ForeignKey in list_display kills admin list view

2008-01-05 Thread Antonio Ognio a.k.a gnrfan
angoproject.com/ticket/2583 It says it hasn't been assigned to anyone yet. Any news? Regards, Antonio. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send em

reassessing our Operating System

2007-09-17 Thread antonio von carmoducci
Hi Everyone. I'm looking at reassessing our Operating System of choice for our Django site, and I really need some background information (popularity & suitability mainly) If you have a minute spare I'd really appreciate some answers to the following questions: (live publicly viewable sites onl

RadioSelect in a MultiWidget

2007-08-07 Thread Marco Antonio Valenzuela
Hi, I need to implement a MultiValueField that contains a HiddenField() and a ChoiceField(widget=RadioSelect()), but I can't create a MultiWidget that contains a RadioSelect because render() doesn't return a string for a RadioSelect, it returns a RadioFieldRenderer. if I overload render and chang

Re: A Semantic Web CMS [was: Re: django comparison]

2007-04-19 Thread Antonio Cavedoni
On 19/04/07, James Bennett <[EMAIL PROTECTED]> wrote: > This is something best handled by an RDF store or an object database, > neither of which is currently supported for Django; feel like writing > some new backends for us? ;) IIRC Bill de hÓra was working on such a beast. Bi

create_update and duplicate of inline

2007-02-22 Thread Antonio
hi all, I've used the generic view 'update_object' to modify a class with a ForeignKey() ... the urls.py: (r'^confs/(?P\d+)/$', \ 'django.views.generic.create_update.update_object', \ { 'model': Conferma, 'login_required': True }), the models.py: class DatiConf(models.Model):

generic views & limit_choices_to

2007-02-21 Thread Antonio
hi all, I'm trying to use django generic views for my models ... the problem is that I don't find the method to update a ForeingKey() field in a form: class Conferma(models.Model): fk_prev = models.ForeignKey(Previsione, verbose_name="previsione", limit_choices_to=(models

admin interface: insert/update

2007-02-13 Thread Antonio
hi all, I've create a class whith a ForeignKey() who is visualized as in admin interface ... when I select a option from the menu and save, the option selected change its state ('confermata') and must NOT appear in the subsequents INSERT ... class Conferma(models.Model): fk_prev = mode

Re: save many to many data

2007-02-08 Thread Antonio
* giovedì 08 febbraio 2007, alle 07:17, Russell Keith-Magee wrote : > Ok - this is saving a form created from a model. Since your model > contains a m2m field, the form representing that model will have an > m2m widget, and when you save() the form, the m2m relation on the > object will be modifie

Re: save many to many data

2007-02-07 Thread Antonio
* mercoledì 07 febbraio 2007, alle 11:27, Russell Keith-Magee wrote : > > but the data are added also when I update the Previsione ... > > searching on group archive, I think I must implement a 'save' method > > into the Previsione class ... is correct ? > > I'm not sure I understand what you're

Re: save many to many data

2007-02-06 Thread Antonio
* martedì 06 febbraio 2007, alle 20:10, Russell Keith-Magee wrote : for the moment, I've resolved this way: if req.method == 'POST': myform = nf.models.form_for_model(Previsione)(req.POST) if myform.is_valid(): dati = myform.save(commit=False) sa

Re: save many to many data

2007-02-06 Thread Antonio
* martedì 06 febbraio 2007, alle 20:10, Russell Keith-Magee wrote : > data.rims.add(req.POST.getlist('rims')) * Exception Type: TypeError Exception Value: list objects are unhashable * I've try with: for newrim in req.POST.getlist('rims'): dati.rims.add(n

save many to many data

2007-02-06 Thread Antonio
Hi all, I have a class with a many2many field: class Previsione(models.Model): nave = models.CharField(maxlength=50) data_manovra = models.DateField() h_inizio = models.TimeField() rims = models.ManyToManyField(Rim) into the views.py I use this code to save the su

dict object is not callable (newforms/forms.py full_clean)

2007-02-05 Thread Antonio
Hi all, I'm trying to use a ManyToManyField between two tables ... the models are this: class Rim(models.Model): nome = models.CharField(maxlength=30) def __str__(self): return self.nome class Previsione(models.Model): nave = models.CharField(maxlength=5

subclassing a Field

2007-01-31 Thread Antonio
hi all, I've created a TYPE in PostgreSQL : Composite type "utente.datirim" Column| Type -+ nome| text turno | time without time zone comandante | text disormeggio | time without time zone arrivo | time without time zone fine

anyone got Django running on Redhat ES in production?

2007-01-17 Thread antonio von carmoducci
Hi, has anyone here got Django running on Redhat ES in production (live) in a stable form? --~--~-~--~~~---~--~~ 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@go

Re: pure-HTTP deployment?

2006-12-21 Thread Antonio Cavedoni
I'm not sure I see a need. Also, didn't GvR mention in his Mondrian Google Tech Talk that he's using the wsgiref library (which should have a lightweight WSGI web serve if I'm not mistaken)? Cheers. -- Antonio --~--~-~--~~~---~--~~ You received t

Re: Session data remains after logout

2006-11-28 Thread Antonio Cavedoni
up expired session data from the database. To view it online: http://code.djangoproject.com/browser/django/trunk/django/bin/daily_cleanup.py Cheers! -- Antonio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

Re: Re: How do you use multiple forms on one page?

2006-11-28 Thread Antonio Cavedoni
me up with some classes or helper functions to keep that kind of > stuff separated. In the meantime, the way I solved this problem is to attach styles not to the class of an input element but to its id in the CSS file. The current form system generates ids like "id_fieldname" so you ca

Re: Trac/Django on the same Apache instance

2006-11-10 Thread Antonio Cavedoni
n between Sqlite, Windows, Trac, Django and mod_python that’s not correctly aligned. Still digging, if someone has any clue as to what this might be related to, I’m all ears. Cheers. -- Antonio --~--~-~--~~~---~--~~ You received this message because you are s

Trac/Django on the same Apache instance

2006-11-10 Thread Antonio Cavedoni
qlite-2.3.2. Sorry, I’m a but stumped at the moment, Cheers. -- Antonio [[[ Traceback (most recent call last): File "c:\program files\django\django\template\__init__.py" in render_node 706. result = node.render(context) File "c:\program files\django\django\t

Re: Django - CGI

2006-11-04 Thread Antonio Cavedoni
re there are a couple of attachments to server Django apps as CGI: http://code.djangoproject.com/ticket/2407 Cheers. -- Antonio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Is Django the right tool to use?

2006-11-04 Thread Antonio Cavedoni
eople use to update their Django-powered websites. That said, the admin is a generic and auto-generated editing interface so in some cases it might prove harder than something ad-hoc. In that circumstance, you could roll your own editing forms, if needed

Re: Curious about 1.0 release.

2006-10-26 Thread Antonio Cavedoni
lash (yeah, I know) backed by Django and an e-commerce site, this time not in Flash, all in Django as well. Cheers. -- Antonio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To pos

Re: install svn downloaded apps

2006-10-22 Thread Antonio Cavedoni
nding a line to the urlpatterns tuple, like: (r'^appname/', include('appname.urls')) And that should be pretty much it. Things may slightly change depending on which app you’re trying to install, but that’s the bulk of the work. Cheers. -- Antonio --~--~-~--

Re: Syntax highlighter

2006-10-21 Thread Antonio Cavedoni
function. Cheers. -- Antonio --~--~-~--~~~---~--~~ 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

Re: Birthday

2006-10-13 Thread Antonio Cavedoni
eld looks like what you want: instead of storing just day and month, why not store also the year somebody was born? That way you can calculate stuff like “ZOMG, it’s your 27th birthday, you’re getting old!” :-) Cheers. -- Antonio --~--~-~--~~~---~--~~ You

Re: SSL Middleware

2006-10-10 Thread Antonio Cavedoni
just request.META['HTTP_HOST'] as I’m doing. I tweaked the SSL middleware to use it, thanks for the heads up! Cheers. -- Antonio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" g

Re: SSL Middleware

2006-10-09 Thread Antonio Cavedoni
ibility. I’m still thinking, though, maybe it’s overkill. Cheers. -- Antonio --~--~-~--~~~---~--~~ 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@googlegro

Re: Django's target applications?

2006-10-06 Thread Antonio Cavedoni
o idea about grono.net, but this is the result of the “Custard Melt” project (you stumbled upon the development blog): http://www.cooltheplanet.net/ Cheers. -- Antonio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

SSL Middleware

2006-10-06 Thread Antonio Cavedoni
! -- Antonio --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED

appointments in admin, possible?

2006-08-31 Thread Antonio Melé
Lets see if someone has already dealt with this problem and can help me: I want to administer appointments in admin. I have two classes: === class Client(models.Model): name = models.CharField(maxlength=30) company = models.CharField(maxlength=50) class

Re: Django Books

2006-08-31 Thread Antonio Cangiano
That's excellent. If Adrian and Jacob need reviewers, I'm willing to help. :) Antonio -- http://antoniocangiano.com Zen and the Art of Ruby Programming --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &q

Re: Django templates editing mode for Emacs

2006-08-30 Thread Antonio Cavedoni
On 30 Aug 2006, at 18:13, James Bennett wrote: > On 8/30/06, Antonio Cavedoni <[EMAIL PROTECTED]> wrote: >> Before you start exposing my ignorance of Emacs Lisp to the world, I >> will offer you that this is my first Emacs Lisp project *ever* (in >> fact I don't

Django templates editing mode for Emacs

2006-08-30 Thread Antonio Cavedoni
world, I will offer you that this is my first Emacs Lisp project *ever* (in fact I don’t even know Emacs Lisp at all), so please be gentle. You can find more about it over here: http://code.djangoproject.com/wiki/Emacs Cheers! -- Antonio

Re: Django Models, DRY, Scalability

2006-08-20 Thread Antonio Cavedoni
I know of, at least): http://code.djangoproject.com/browser/django/branches/schema-evolution I am not aware of the status of the schema evolution implementation at the moment, but am very looking forward to it. Cheers. -- Antonio --~--~-~--~~~---~--~~ You received

Re: Make Django cooexist with other webbapps

2006-08-17 Thread Antonio Cavedoni
options for the my-domain.name Virtual Host: SetHandler None I use it also for other static files like robots.txt or favicon.ico, so they don’t have to pass through Django but get served right ahead from Apache. Cheers. -- Antonio --~--~-~--~~~---~--~~

Re: order_with_respect_to : explanation?

2006-08-11 Thread Antonio Cavedoni
items and recreate the list from scratch with the proper order? -- Antonio --~--~-~--~~~---~--~~ 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@googlegroup

Re: session management

2006-08-10 Thread Antonio Cavedoni
from which the request is coming is the > same IP from which the initial request came. Which limits the potential session thieves to the people on my local network, but it’s still just as bad (especially considering public wifi areas, etc.). Cheers. -- Antonio --~--~-~--~~---

Re: Tagging.

2006-08-07 Thread Antonio Cavedoni
to have a look at generic relations [1] and many to many- based tags, there’s a recipe on the wiki[2]: [1] http://www.djangoproject.com/documentation/models/generic_relations/ [2] http://code.djangoproject.com/wiki/CookBookLabels Cheers! -- Antonio --~--~-~--~~~---

Re: Django model -> DOT converter

2006-08-06 Thread Antonio Cavedoni
gt; And other suggestion is: can methods be displayed in dot? I *think* so, I’ll have a look. Thanks again! -- Antonio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post

Re: Django model -> DOT converter

2006-08-06 Thread Antonio Cavedoni
he attribute names are sensible. Yeah. Ideally the arrows should start from the attribute position, but they don’t because I haven’t looked up the proper DOT syntax yet. Thanks anyway for the idea, I’ll try to get it in the code. Cheers. -- Antonio --~--~-~--~~~---~--~-

Re: Django model -> DOT converter

2006-08-06 Thread Antonio Cavedoni
nges with the code that’s on the wiki, you can see it at the usual URI: http://code.djangoproject.com/wiki/DjangoGraphviz Cheers. -- Antonio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users&q

Re: Django model -> DOT converter

2006-08-06 Thread Antonio Cavedoni
oject.com/wiki/DjangoGraphviz Cheers! -- Antonio --~--~-~--~~~---~--~~ 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 fr

Re: Django model -> DOT converter

2006-08-05 Thread Antonio Cavedoni
On 5 Aug 2006, at 3:40, Jeremy Dunck wrote: > On 8/4/06, Antonio Cavedoni <[EMAIL PROTECTED]> wrote: >> I have an initial, rather crude implementation of the Django model -> >> DOT (the Graphviz file format) converter. > > Related: > http://groups.google.com/gro

Re: Django model -> DOT converter

2006-08-05 Thread Antonio Cavedoni
roject.com/wiki/DjangoGraphviz Cheers! -- Antonio --~--~-~--~~~---~--~~ 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

Re: Django model -> DOT converter

2006-08-05 Thread Antonio Cavedoni
Arrow direction doesn't describe relationship direction Almost fixed ;-) Thanks for the feedback and the comments, keep them coming! Cheers. -- Antonio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

Django model -> DOT converter

2006-08-04 Thread Antonio Cavedoni
ers! -- Antonio --~--~-~--~~~---~--~~ 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 [EMAIL P

Re: Off Topic: Mac software for database design?

2006-08-04 Thread Antonio Cavedoni
ling tool being requested by the original poster by I found this hack to be quite nice, maybe we could replicate something to the same effect for Django: http://www.hackdiary.com/archives/93.html Cheers. -- Antonio --~--~-~--~~~---~--~~ You rece

Re: Scandinavian characters in .po files and timezones

2006-07-30 Thread Antonio Cavedoni
be able > to choose their own timezone to display date and time information > correctly. > One option would be, of course, to save the date and time returned by > datetime.utcnow() to database and then for each user have setting > "timezone", which would tell the offset fro

Re: Search Engine for Python and Django

2006-07-26 Thread Antonio Cavedoni
his project, please send me feature > requests, API suggestions (particularly with regards to Django > integration) and test data collections. Well, I would cast a decided +1 for the Unicode/UTF-8 support. Care to elaborate on why it’s going to be so hard to have it in the 1.0 rele