How to ordered comments by date ???

2010-04-16 Thread Ariel
_list %} {{ comment.submit_date|time:"H:i"}} {{ comment.user_name}} {{ comment.comment}} {% endfor %} How could I order the comments ??? Thanks in advance. Regards Ariel -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: How to ordered comments by date ???

2010-04-16 Thread Ariel
Thank you very much for yours answers. On Fri, Apr 16, 2010 at 12:24 PM, Owen Nelson wrote: > The comments are already ordered... by pk I assume, which would mean > they are also ordered by date (unless you're messing with the comment > id's or the dates themselves). > If you simply want to swit

I have a problem with the pagination with haystack and apache solr

2010-04-19 Thread Ariel
ade a good explanation of my problem. Could you help me please ??? I don't know why it is happening that Regards. Ariel -- 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

Re: I have a problem with the pagination with haystack and apache solr

2010-04-22 Thread Ariel
I don't know how to know that because I don't know the name of the fields in the index. How could I know it ??? Regards Ariel On Wed, Apr 21, 2010 at 4:40 AM, Ray McBride wrote: > How many results are returned when you search using the solr admin > interface? > > Are you

Re: I have a problem with the pagination with haystack and apache solr

2010-04-23 Thread Ariel
you search_indexes.py > file in your app > > http://docs.haystacksearch.org/dev/searchindex_api.html#quick-start > > Solr knows about these because you copy your generated schema.xml file > into the conf folder > > Ray > > On Apr 22, 6:46 pm, Ariel wrote: > > I don't kn

Re: I have a problem with the pagination with haystack and apache solr

2010-04-23 Thread Ariel
Where does the apache solr save the index ??? On Fri, Apr 23, 2010 at 1:23 PM, Ariel wrote: > What I do here in search_indexes.py is this: > > from haystack import site > from atl_cms.content_type.models import News, Document > > site.register(News) > site.register(Documen

How do I set my default language ???

2010-06-11 Thread Ariel
Hi everybody, I write in my settings.py LANGUAGE_CODE = 'fr' to make french the default language but it does'nt seem to work because the spanish is still the default language, Do I need to do something else to make french the default language ??? I need help !!! Thanks in advanced Regards -- You

ImproperlyConfigured: Error importing middleware django.middleware.csrf: "No module named csrf" on Windows XP

2010-08-06 Thread Ariel
could you help please ??? How could I fix that ??? Regards, Ariel -- 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

How to log all the error and warning messages with apache ???

2010-11-02 Thread Ariel
errors are no record in there. Could you help me please, how can I registered in logs files all the errors of the django aplications with apache ??? I need help urgent. I would thanks any help. Regards Ariel -- You received this message because you are subscribed to the Google Groups "D

About generated html forms with django

2010-01-22 Thread Ariel
e are the classes that control all the generated html forms and views methods ??? How could I make this ??? Could you help me ? Thanks in advance Ariel -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send ema

Re: About generated html forms with django

2010-01-22 Thread Ariel
Why is this http://github.com/bartTC/django-frontendadmin helpfull ??? Regards Ariel On Fri, Jan 22, 2010 at 12:00 PM, Daniel Hilton wrote: > 2010/1/22 Ariel : > > Hi everybody: > > I need to make an automatic admin interface with a behaviour similar to > the > >

Re: About generated html forms with django

2010-01-22 Thread Ariel
I am asking you that because I am having problems to download it. On Fri, Jan 22, 2010 at 12:13 PM, Ariel wrote: > Why is this http://github.com/bartTC/django-frontendadmin helpfull ??? > > Regards > Ariel > > On Fri, Jan 22, 2010 at 12:00 PM, Daniel Hilton > wrote:

How to serialize objects that contain a foreign key object

2010-02-09 Thread Ariel
] And I would want to get the name and the extension of the town foreign key object too. I hope you can help me Thanks in advance. Regards Ariel -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, sen

Re: How to serialize objects that contain a foreign key object

2010-02-10 Thread Ariel
I am using version 1.1, Could I do the same with 1.1 version ??? On Wed, Feb 10, 2010 at 7:39 AM, diofeher wrote: > Django 1.2 comes with a parameter [1] at serializers that do this for > you. > > http://docs.djangoproject.com/en/dev/topics/serialization/#natural-keys > > -- > You received this

How to make pagination with haystack

2010-04-08 Thread Ariel
vance, Ariel -- 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 opti

Re: How to make pagination with haystack

2010-04-08 Thread Ariel
; Ray > > On Apr 8, 2:57 pm, Ariel wrote: > > Hi everybody: > > I am relatively newbie in django, I have an application with search > > functionalities that's why I am using haystack with solr, the search work > > perfectly but I need to make the pagination but I

Problems with comment form customization ?

2010-04-12 Thread Ariel
suppossed to be hidden is visible and that is what I don't want, the field name is 'honeypot' This is a normal behavior ? Do anyone of you know how to make that field hidden again ??? Thanks in advance. Ariel -- You received this message because you are subscribed to the Google

Re: Problems with comment form customization ?

2010-04-13 Thread Ariel
Well that really solve the problem. Now I have a new question: if I want to reduce de amount of columns that the textarea has, how could I do it ? This is not as simple as the previous issue. Thanks in advance. Regards Ariel On Mon, Apr 12, 2010 at 3:58 PM, bax...@gretschpages.com < mail.

Re: Problems with comment form customization ?

2010-04-13 Thread Ariel
hpages.com < mail.bax...@gmail.com> wrote: > Personally, I just set the width of textareas in my CSS and call it a > day. > > On Apr 13, 2:35 pm, Ariel wrote: > > if I want to reduce de amount of columns that the > > textarea has, how could I do it ? > >

Problem sending an email in html with mime image

2012-02-01 Thread Ariel
email is not send when I put the mime code of the image in the html ??? Regards, Ariel -- 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 gro

How do I decode a string that it is received by a filter ???

2011-04-25 Thread Ariel
code: {{object.name|tag_process}} But the name = "español" , the character ñ'' it is pass to the tag_process filter as C3%B1, then the string I received in the tag_process function is espaC3%B1ol instead of 'español', How can I solved that ??? Please I need yo

Re: How do I decode a string that it is received by a filter ???

2011-04-25 Thread Ariel
The site is deploy in an apache server, that does not help. Do you have any other idea ??? I thought this would be very easy to solve. I'd thanks any help. Regards Ariel On Mon, Apr 25, 2011 at 6:21 PM, Oleg Lomaka wrote: > Not sure if it helps in your case, but try to start django

Problem uploading images and videos with filenames containing not ascii characters

2011-05-02 Thread Ariel
odec can't encode characters in position 65-68: ordinal not in range(128) Exception Location: /usr/lib/python2.5/posixpath.py in exists, line 171 Python Executable: /usr/bin/python Python Version: 2.5.2 How can I solve this problem ??? Any help is really appreciatte it. Regards, Ariel -- Yo

Re: Problem uploading images and videos with filenames containing not ascii characters

2011-05-03 Thread Ariel
In my apache enviroment settings I have already set that: export LANG='en_US.UTF-8' export LC_ALL='en_US.UTF-8' But I still get the same error. Bedsides I am using wsgi no modpython. Please, could somebody help me ??? Regards Thanks in advance. Ariel On Tue, May 3, 20

Re: Problem uploading images and videos with filenames containing not ascii characters

2011-05-03 Thread Ariel
Yes, only on the production enviroment. Regards 2011/5/3 А. Р. <4d876...@gmail.com> > 2011/5/3 Ariel <...@gmail.com>: > > In my apache enviroment settings I have already set that: > > > > export LANG='en_US.UTF-8' > > export LC_ALL='en_US.U

Re: Problem uploading images and videos with filenames containing not ascii characters

2011-05-04 Thread Ariel
I am using debian 6 in spanish. On Wed, May 4, 2011 at 2:41 AM, Karen Tracey wrote: > On Tue, May 3, 2011 at 10:22 AM, Ariel wrote: > >> In my apache enviroment settings I have already set that: >> >> export LANG='en_US.UTF-8' >> export LC_ALL='en_U

Re: Odp: Re: Problem uploading images and videos with filenames containing not ascii characters

2011-05-04 Thread Ariel
ven't tested yet in production, > but it should work too. > > Radovan > > On 3. Máj, 22:56 h., Tomasz Zieliński > wrote: > > W dniu wtorek, 3 maja 2011, 21:34:28 UTC+2 użytkownik Ariel napisał: > > > > > Yes, only on the production enviroment. > > >

How to make comment view redirect me directly to my next field instead to preview view

2011-06-29 Thread Ariel
the form errors. Any Idea how to solve that ? Help it is really appreciate it. Regards, Ariel -- 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

I get an error when I used urllib2.urlopen() to open a remote file in a ftp server

2011-01-06 Thread Ariel
ython2.6/urllib2.py", line 409, in _open '_open', req) File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain result = func(*args) File "/usr/lib/python2.6/urllib2.py", line 1316, in ftp_open raise URLError('ftp error: no host given'

Problem with comments framework

2011-01-13 Thread Ariel
ments/comment_user_notification.txt Have you any idea how to solve this problem ? I would thanks any help. Regards Ariel -- 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.

Re: Problem with comments framework

2011-01-14 Thread Ariel
Thank you for your response,. Well, I have define the template: comments/comment_user_notification.txt but any comment is displayed. Regards Ariel On Thu, Jan 13, 2011 at 10:43 AM, Xavier Ordoquy wrote: > Hi, > > You may want to have a look at: > > http://docs.djangoproject

It is a good practice to use logging in the webs applications based on django ???

2011-01-26 Thread Ariel
I would want to know if it is a good practice to use the logging python module in the web applications based on django ??? The performance is severily affected ??? Thanks for your attention. Regards Ariel -- You received this message because you are subscribed to the Google Groups "D

Problem using inheritance in third level: object has not attribute content_ptr_id

2011-02-22 Thread Ariel
I get the same error. Could you help me please ??? How can I solve this error ??? Any help would be appreciate it. Regards Ariel -- 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@googleg

How to get next and previous element in a forloop in the template

2011-03-07 Thread Ariel
Hi everybody: I would want to know in the django template tags how to get the next and the previous element when I am iterating in the forloop, I haven't found something similar, for instance I would want something like this: {% for element in list_elements %} {{forloop.get_prev_element.title}} {

Re: How to get next and previous element in a forloop in the template

2011-03-07 Thread Ariel
Could you give some idea ??? I am sorry about the previous message I had not finished. Any help is appreciated. Regards. On Mon, Mar 7, 2011 at 3:39 PM, Ariel wrote: > Hi everybody: > > I would want to know in the django template tags how to get the next and > the previous eleme

A question about field forms and the widget SelectMultiple

2011-04-06 Thread Ariel
ce if all the options available are A, B, C, D and the document I want to update has only the option A and C, I want in the list box options A, B , C , D but option A and C mark as selected. Could you please help me do that ? How would you do it ? Thanks in advance. Regards Ariel -- Y

Re: Why why why not write a search module for Django user?

2009-06-20 Thread Ariel Nunez
t gotta be patient or/and help. Ariel. --~--~-~--~~~---~--~~ 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, s

Re: Setting up Django, Apache and Nginx on Windows Vista

2009-06-27 Thread Ariel Nunez
of the tutorials available. With something like Instant Django is just download, unzip and start using Django in Windows. http://www.instantdjango.com/ Regards, Ariel. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &quo

Re: List of available projects

2009-05-18 Thread Ariel Nunez
Check out Pinax [1] [1] http://pinaxproject.com On Mon, May 18, 2009 at 1:20 PM, Mohan Parthasarathy wrote: > Hi, > > Is there an official list of django projects - the code that can be reused > or to start with. I have done a few tutorials but don't want to start > writing everything from scrat

Re: Admin css being weird

2009-05-23 Thread Ariel Nunez
Please make sure there isn't another Django version being loaded. I experienced the same situation when I had copied admin media from one version and the Django module loaded had another one. (i.e. Django 1.0 installed systemwide and Django 1.1 on a virtualenv) Regards,

Re: Admin css being weird

2009-05-24 Thread Ariel Nunez
#x27; version from my python path, usually by uninstalling it. If uninstalling the other one is not an option for you, try to find a way to clear your python path before loading your 'preferred' Django. Ariel. --~--~-~--~~~---~--~~ You received this mes

Re: geodjango: find all points from a database, bound by a polygon

2009-05-28 Thread Ariel Nunez
; *This(or similar) may work:* * * >>>from django.contrib.gis.gdal.envelope import Envelope >>>bbox=Envelope((-104.609252, 29.763374, -95.23506, 38.971823)) *>>>Base.objects.filter(location__intersects=bbox)* Ariel. --~--~-~--~~~---~--~~ You received thi

Re: geodjango: find all points from a database, bound by a polygon

2009-05-28 Thread Ariel Nunez
the Envelope object to get a proper string repr of the polygon. Ariel. --~--~-~--~~~---~--~~ 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

Re: geodjango: find all points from a database, bound by a polygon

2009-05-28 Thread Ariel Nunez
> > > Then try calingl the wkt methond on the Envelope object to get a proper > > string repr of the polygon. > > > What is even more amazing is how many typos are in that sentence. I should make my default font bigger so I notice them better

Re: Help make matriz

2009-05-29 Thread Ariel Nunez
Carlos, all the info you need to enable the admin and customize it for your app is on this page: http://docs.djangoproject.com/en/dev/intro/tutorial02/ Specifically, look for 'list_display' and put there all the columns you want to see on the admin interface for your model. Ariel.

Re: how to cut and paste image into django app

2009-10-23 Thread Ariel Nunez
Hi Margie, I found this while googling: "drag and drop upload": http://www.radinks.com/upload/dnd.php Seems to use a combination of Java (applet) + PHP (server) and is not open source. But it seems to prove it is possible. Just perhaps not with simple HTML + JS. Regards, Arie

Re: Issue with ManyToMany Relationships not updating inmediatly after save

2009-12-17 Thread Ariel Nunez
Diego, Which version of Django are you using? I remember a refactor of m2m landed recently as part of Alex's GSoC project. [1] Just my 2 Colombian Pesos. [1] http://www.pubbs.net/django/200910/58391/ On Thu, Dec 17, 2009 at 5:51 PM, Diego Andrés Sanabria Martin (diegueus9) < diegue...@gmail.co

Thanks for (Geo)Django

2009-12-23 Thread Ariel Nunez
thanks to the general polite and respectful atmosphere enforced by most people here. Thanks one more time, I hope you all enjoy a lot what's little left of this year, and especially take enough the time away from the computers to enjoy with your family. Regards, A happy django user. -- Ariel

Re: Accessing request object in templates

2008-01-03 Thread Ariel Calzada
y when you make a render to response: return render_to_response ( "TEMPLATEFILE", {}, context_instance = RequestContext ( request ), ) ARIEL ( 000PaRaDoX000 ) --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: Decimal separator

2008-01-31 Thread Ariel Calzada
Mauro Sánchez wrote: > Hello. > How can I establish the comma ',' as the decimal separator? > Is there any config file where I should set it up? > Thanks. > Mauro. > > > > > You should look at the locale configuration ARIEL --~--~-~--~~--

Re: Time.sleep & HttpResponse

2007-12-17 Thread Ariel Calzada
l5x wrote: > "I propose to design and implement an API to make Comet behavior > available to Django applications." > http://hosted.corp.it/django/full.html > > > > Good Idea :-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Go

Re: [ANN] Django 1.4.2 and 1.3.4 remedy security issues

2012-10-17 Thread Ariel Calzada
How to upgrade? El 17/10/2012 18:37, "Ross Poulton" escribió: > Django==1.3.4 doesn't appear to be on Pypi, is it likely to be there soon? > > On Thursday, 18 October 2012 09:38:49 UTC+11, James Bennett wrote: >> >> Django 1.4.2 and 1.3.4 have just been released in response to a >> security issue

Re: Theming Django with Diazo/XSLT

2012-12-18 Thread Ariel Calzada
Hi Michael! Django doesn't use approach of DIAZO/XSLT theming by default. You can use diazo in an indepedently way ( WSGI http://docs.diazo.org/en/latest/quickstart.html ). Regards, ARIEL 2012/12/18 4 The good Life we work <4thegdl...@googlemail.com> > Hallo Derek, > > tha

Re: Happy new year

2012-12-31 Thread Ariel Calzada
Happy new year from Colombia El 31/12/2012 16:42, escribió: > Happy new year from spain to all django lovers. > I wish you a new year with tons of django projects. > > Cheers > Cingusoft > BlackBerry de movistar, allí donde estés está tu oficin@ > > -- > You received this message because you are

How to make a field required in admin site

2013-01-30 Thread Ariel Isaac
dmin.py in VideoAdmin the field thumbnail required, how is possible that ??? anybody knows how to achieve that ??? I am working with django 1.3 Regards, Ariel -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this grou

Re: How to make a field required in admin site

2013-01-30 Thread Ariel Isaac
It is a third application I can't do that, that's why I want to do it in the adminModel. Could you help me please ??? On Wed, Jan 30, 2013 at 10:34 AM, Black9design.com wrote: > Remove the line blank=True and it will be required. > > On Jan 30, 2013, at 7:01 AM, Ariel Isa

MultipleFileField

2013-03-10 Thread Ariel Calzada
thout luck. Any suggestion or help will be appreciated. Regards, ARIEL -- 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...@googl

Re: MultipleFileField

2013-03-10 Thread Ariel Calzada
s?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Ariel Calzada Homepage: http://www.000paradox000.com Blog: http://blog.000paradox000.com "If I had asked people what they wanted, they would have said faster horses." -- Henry Ford -- You receive

Re: Unable to access URL's query string using request.GET['next']

2013-05-24 Thread Ariel Calzada
You can't see next variable after login because the view that process "login form" don't return the variable in any form. You can modify this view. Regards, Ariel Calzada Homepage: http://www.000paradox000.com Blog: http://blog.000paradox000.com "If I had asked peop

Re: Template variables in translation blocks

2013-08-24 Thread Ariel Calzada
.google.com/group/django-users> > . > For more options, visit > https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> > . > -- Ariel Calzada Homepage: http://www.000paradox000.com Blog: http://blog.000paradox000.com "If I had asked people what th

check form field class

2013-09-12 Thread Ariel Calzada
hi all. I'm parsing a form in a template with {% for field in form %} .. {% endfor %} i want to ask if field is a FileField instance any idea? -- Ariel Calzada Homepage: http://www.000paradox000.com Blog: http://blog.000paradox000.com "If I had asked people what they wanted,

Re: django developer needed

2013-11-17 Thread Ariel Calzada
Hi Simon! I'm django developer. Currently i'm working as freelancer for some companies public and private. I'm from Colombia. You can see some of my project: http://www.acienciacierta.gov.co http://www.ideasparaelcambio.gov.co Regards, Ariel Calzada 2013/11/17 simon waigo

Re: Django vs ExtJS

2014-12-30 Thread Ariel Calzada
05%40gmail.com >> <https://groups.google.com/d/msgid/django-users/54A2667B.9030105%40gmail.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > You received this message because you are subsc

MultiValueDictKeyError editing inlineformset

2013-11-26 Thread Ariel Calzada
hi i'm getting MultiValueDictKeyError while editing InlineFormset any idea? Regards, -- Ariel Calzada Homepage: http://www.000paradox000.com Blog: http://blog.000paradox000.com "If I had asked people what they wanted, they would have said faster horses." -- Henry Ford -- Yo

Multiple forms of the same model

2013-12-18 Thread Ariel Calzada
, -- Ariel Calzada Homepage: http://www.000paradox000.com Blog: http://blog.000paradox000.com "If I had asked people what they wanted, they would have said faster horses." -- Henry Ford -- You received this message because you are subscribed to the Google Groups "Django u

syntax usage for the Database name ??

2014-05-14 Thread Eran Ariel
in advance Eran Ariel -- 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

ASP .NET web service and Django

2014-05-24 Thread Ariel Calzada
it > https://groups.google.com/d/msgid/django-users/a1c1aaf2-6dd9-4cf8-9131-b454d8dcf548%40googlegroups.com<https://groups.google.com/d/msgid/django-users/a1c1aaf2-6dd9-4cf8-9131-b454d8dcf548%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit htt

Using Django as a framework to deploy python script on a website:

2014-06-14 Thread Eran Ariel
Hi, I am interested in Django as a platform to deploy applications using mod_wsgi, accordingly, whether existing Django libraries such as the forms library could be applied for this purpose as user initiated POST requests – to pass the variables. I can place my scripts within the models.py fi

Re: syntax usage for the Database name ??

2014-06-14 Thread Eran Ariel
Ramiro, Thank you so much for your reply... apologies for the late response On Wednesday, May 14, 2014 3:43:32 PM UTC+3, Ramiro Morales wrote: > > On Wed, May 14, 2014 at 8:38 AM, Eran Ariel > wrote: > > Hi, > > > > > > > > I am uncertain as to the pr

getting raw_input('something') instantiated from browser

2014-06-15 Thread Eran Ariel
I have developed a python application to which I am interested in allowing users to access it via web browser. I am new to implementation. I need to "call" the raw_input('your calculation') from the browser and return the results to the browser – GET or POST. I have added the python scrip

Re: Recurring question. Automate manage.py syncdb

2014-06-20 Thread Ariel Calzada
I hope this helps you http://pastebin.com/umGv3br9 Greetings from Colombia ARIEL 2014-06-20 11:31 GMT-05:00 Rubén Ortiz : > Hi > > I have to automate a kind of django setup in linux ubuntu box. The project > runs under virtualenv. Then my main problem is when I have to execute

num2words - help

2018-01-28 Thread Ariel Matysiak
#x27;,'cash') THANK YOU VERY MUCH Ariel -- 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

Crear web apis con Django 1.6

2017-03-27 Thread ariel gavegno
Cuál es la forma más eficiente de crear un web api con Django 1.6. Qué librerías existen o qué metodología podría utilizar ? Es imprescindible que migre mi framework a la versión 1.7 para utitlizar la libreria rest_framework ? Gracias por su ayuda. -- You received this message because you ar

Configurar Supervisor + Gunicorn + Nginx

2017-05-02 Thread Ariel Gavegno
Buenas, necesito saber como configurar Supervisor en un servidor Ubuntu, de un proyecto Django 1.11. Un ejemplo sería de mucha ayuda. -- 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

How send data to UpdateView from javascript. (Django 1.5)

2013-06-06 Thread Ariel V. R.
Hello: Hello: I need to send data from html using javascript to UpdateView. Django sends me an error: "Generic detail view MatterUpdateView must be called with either an object pk or a slug." I think that the problem exists because the method as_view() does not receive the correct data. --

Re: How send data to UpdateView from javascript. (Django 1.5)

2013-06-06 Thread Ariel V. R.
it(); }) URL.PY ... url(r'^manage_p1/update/', MatterUpdateView.as_view()), ... El jueves, 6 de junio de 2013 23:45:59 UTC-5, Ariel V. R. escribió: > > Hello: > > I need to send data from html using javascript to UpdateView. Django sends > me an error: "Generic d

Re: How send data to UpdateView from javascript. (Django 1.5)

2013-06-09 Thread Ariel V. R.
MatterUpdateView is a subclass of the generic UpdateView > class. If so, that class expects an object pk (id) or slug to be included > as part of the URL pattern, and yours doesn't include either. Your URL > pattern should look something more like: r"^manage/(?P\d+)/update/&q

Re: Introducing myself and my first question

2014-07-20 Thread Ariel E. Isidro
.@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/f7332cab-26a7-45fe-a9f5-26831da6bdf4%40googlegroups

Re: moving from sqlite3 to mysql

2014-01-28 Thread Ariel E. Isidro
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 gr

Re: moving from sqlite3 to mysql

2014-02-05 Thread Ariel E. Isidro
his 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.co

Re: two apps against one table (admin)

2014-02-06 Thread Ariel E. Isidro
What if you define your views to use only the fields that you need? On Feb 7, 2014 2:24 AM, "fborell" wrote: > All, > > I need to create a second application in the admin section that ports to > the first applications model. The second application's admin.py would > contain only 5 of the 15 field

Re: Deployment in Django

2014-03-22 Thread Ariel E. Isidro
After git, pythonanywhere is a simple way to deploy and publish. On Mar 22, 2014 9:02 PM, "Kamal Kaur" wrote: > On Sat, Mar 22, 2014 at 2:50 PM, Aryak Sengupta > wrote: > > But what is the simplest and the easiest way to go about deployment? > > > > P.S. I am new to Django. > > Starting with a s

Re: GeoDjango - Difficulty placing vector marker from DB

2008-10-21 Thread Ariel Mauricio Nunez Gomez
There are many ways to fix the projection issue, this is one (probably not the best) On your view code: sites_list=sites_list.transform(900913) Best, Ariel. On Tue, Oct 21, 2008 at 1:57 PM, Alfonso <[EMAIL PROTECTED]> wrote: > > Hey, > > Having great trouble getting geodj

Re: geodjango importing existing data - pointfields

2008-11-17 Thread Ariel Mauricio Nunez Gomez
> > 1,1,'Edinburgh Castle','Edinburgh','Lothian','EH1 2NG','POINT > (-3.20277400 55.95415500)' > > I've tried multiple variations on the POINT syntax (GeomFromText > etc...) but no joy. > > What am I doing wrong!!? > > Thanks in advance Have you tried the following EWKT? 'SRID=326

Re: Help with GeoDjango and Google Maps, please...

2008-11-21 Thread Ariel Mauricio Nunez Gomez
ChrisK, I use: * from django.contrib.gis.geos import fromstr gpoly=GPolygon(fromstr(poly.wkt, srid=4326))* --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to d

Django revision for ORM aggregation patch

2008-11-30 Thread Ariel Mauricio Nunez Gomez
7; invalid clause error. -Ariel. --~--~-~--~~~---~--~~ 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,

Re: Django revision for ORM aggregation patch

2008-11-30 Thread Ariel Mauricio Nunez Gomez
arises as a ProgrammingError during the test suite, not an > invalid clause error. > I also contacted Nicolas off list and he said he was gonna try to update the patch to work against trunk in the next days or so. So I think I would better wait a week or so and s

Re: Amazon EC2 and Django experience

2008-12-12 Thread Ariel Mauricio Nunez Gomez
* Problem or management django with EC2... Some ubuntu-django problems and some ubuntu-ec2 problems but not django-ec2 problems ;) > > I would like to use EC2 with a personal web site, and I am afraid > about cost of it (probably not a rational reason !) There

Re: Django newbie observation

2008-12-15 Thread Ariel Mauricio Nunez Gomez
I think pinax basic_site is pretty much what you want/need for a sample_website. I would be +1 for a link to Pinax project at the end of the tutorials. Ayayalar: pinax-0.5.0.tar.gz Once the download is complete, uncompress it and you should be

Re: Django newbie observation

2008-12-17 Thread Ariel Mauricio Nunez Gomez
> Hello Ariel, > > I will check this out. However the point of the starter site that I > was thinking of is something ships with Django releases that uses up > to date best practices(performance, security, etc...), syntax, etc... > Is pinax project always in sync with the lat

FormWizard: Setting up a ChoiceField.choices based on previous forms,

2008-12-30 Thread Ariel Mauricio Nunez Gomez
ash(request, old_form return self.render_template(request, form, ''.join(prev_fields), step, context) }}} Is there a hook missing to do what I needed or am I missing something? Ariel --~--~-~--~~~---~--~~ You received this message because you are sub

Re: best way to do tabs?

2009-01-08 Thread Ariel Mauricio Nunez Gomez
; > title="Home Page">Home Page >About Us >Web Design >Graphic Designs >Search Engine > Optimization SEO > title="Contact Us">Contact Us > > Ariel. --~--~-~--~~~---~--~~ You recei

Re: best way to do tabs?

2009-01-08 Thread Ariel Mauricio Nunez Gomez
task, but it is your bikeshed and you get to paint it any color you may want :) Ariel. On Thu, Jan 8, 2009 at 12:30 PM, Margie wrote: > > I think the issue I have is that I seem to need to maintain "state". > Let me use a contrived example. > > Suppose I have three tabs: b

Re: Related articles based on keywords.

2009-01-09 Thread Ariel Mauricio Nunez Gomez
If I were you I would start by writing down the description, pros and cons of the approaches you've thought about. Then you'll be closer to solving your problem and it'll be more likely that someone steps up and helps you. Ariel. On Fri, Jan 9, 2009 at 3:09 PM, Rodrigo Culagovski w

Re: Related articles based on keywords.

2009-01-09 Thread Ariel Mauricio Nunez Gomez
oy3742/django/tree/aggregation<http://github.com/freakboy3742/django/tree/aggregation> git checkout -b --track aggregation origin/aggregation Let us know how that goes. Ariel. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

Re: ForeignKey

2009-01-12 Thread Ariel Mauricio Nunez Gomez
pregunta field based on the value of the script field in the 'Pregunta' admin edit interface.? Short answer: There is no simple way. Long answer: Read carefully [1] -- Miguel, si de veras quieres seguir haciendo preguntas en espanol, te recomiendo que mejor uses django-es tal como te lo re

Re: GeoDjango: Extract Latitude and Longitude from PointField

2009-01-14 Thread Ariel Mauricio Nunez Gomez
... point = models.PointField()... Longitude: {{point.x}} Latitude: {{point.y}} --~--~-~--~~~---~--~~ 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.

Re: how/where to constrain the relationships in a model?

2009-01-14 Thread Ariel Mauricio Nunez Gomez
Margie, My best bet would be to override the model's save method and do your validation there. http://docs.djangoproject.com/en/dev/ref/models/instances/?from=olddocs#overriding-default-model-methods Ariel On Wed, Jan 14, 2009 at 3:37 PM, Margie wrote: > > Supose I want t

Re: newforms-admin branch has been merged into trunk

2008-07-18 Thread Ariel Mauricio Nunez Gomez
Thanks a lot!! BTW: Bryan, you've gotta redo the commits visualization[1] for another big explosion!! [1] http://oebfare.com/blog/2008/jun/24/django-code_swarm/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Djang

Re: Multiple ManyToMany relations with the same class

2008-10-07 Thread Ariel Mauricio Nunez Gomez
Por cierto, cuando ya este la base de datos llena de actuaciones nos invitas a escuchar a los samberos. Ariel. On Tue, Oct 7, 2008 at 12:05 PM, Pablo Catalina <[EMAIL PROTECTED]>wrote: > # python manage.py validate > Error: One or more models did not validate: > concerts.concer

  1   2   >