prorgramador

2024-10-22 Thread Diego González
buenas tardes, necesito programador django para pequeño proyecto a ser desarrollado.buenas tardes, necesito programador django para pequeño proyecto a ser desarrollado. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this g

Re: Keeping/accessing the data Django generates during a test run

2023-12-05 Thread Juan diego Jacobo hernandez
Yes thanks (null) El El mar, 5 de dic de 2023 a la(s) 13:41, dilo...@gmail.com < dilou...@gmail.com> escribió: > HelloI am running into the same problem but I do not understand what needs > to be done. I use keepdb but how can I get the database cursor connection. > Do I need to modify the test

Re: node deploy serverless AppLambdaFunction is returning an error Role

2021-05-27 Thread Diego Alonso Uribe Gamez
this is the manual from Vadym Khodak to deploy django app in lambda https://blog.vadymkhodak.com/deploy-django-app-on-aws-lambda-using-serverless-part-1 El jueves, 27 de mayo de 2021 a la(s) 11:18:16 UTC-5, Diego Alonso Uribe Gamez escribió: > Hello, I am following a Vadym Khodak manual wh

node deploy serverless AppLambdaFunction is returning an error Role

2021-05-27 Thread Diego Alonso Uribe Gamez
Hello, I am following a Vadym Khodak manual where django is deployed on a derverless server but I get an error in a part that I do not understand, the error is this AppLambdaFunction CREATE_FAILED Properties validation failed for resource AppLambdaFunction with message: #/Role: failed validatio

Re: pip not working

2020-05-15 Thread Diego Mota
Hi, If you upgraded to pip or python 3 you must use "pip3" as command instead of "pip" Regards, Diego Ahmed Khairy escreveu no dia sexta, 15/05/2020 à(s) 11:42: > Did you try pip install -r requirements.txt? > > On Friday, May 15, 2020 at 10:16:52 AM UTC-4, Akored

Re: Python Django Training

2020-02-03 Thread Diego Alejandro Peñuela Fonseca
Hi, i`m interested in learning too El sábado, 1 de febrero de 2020, 8:42:52 (UTC-5), Srikanth K escribió: > > Hi, > > I am from Hyderabad. I am Python Developer by Profession. I am eager take > up any Python , Django Training (online Preferrable or Weekends). Members > who require can contact me

Problema con dos formularios en una plantilla. Error " Generic detail view addAutorXlibro must be called with either an object pk or a slug in the URLconf."

2019-03-21 Thread Diego Puerta
Para comentarles mi problema los contextualizo: Es un ejercicio de prática. Django 2.1.5; PyCharms Tengo dos modelos relacionados, la idea es poder ingresar datos desde un mismo formulario a los dos modelos, para eso tengo lo siquiente: *Modelos:* class Autor(models.Model): nombre = models

First steps in Django 1.11.5 and I have my first error

2017-09-23 Thread Diego Muiño Orallo
Hello, this is my first app in Django and I have the next error: When I launch python manage.py runserver --settings=eventus.settings.local apear this error: Unhandled exception in thread started by .wrapper at 0x110c72158> Traceback (most recent call last): File "/Users/dmuino/eventus/lib/p

Django with generic odbc database

2017-05-03 Thread Diego Gazzo
to be available only for MSSQL, IBM DB2 or Azure. Thanks for your feedback and Kind regards Diego Gazzo -- 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

Re: How to use Django forms for surveys

2016-10-20 Thread Diego De La Vega
El miércoles, 19 de octubre de 2016, 21:11:18 (UTC-3), James Schneider escribió: > > > > On Sun, Oct 16, 2016 at 7:37 PM, Diego De La Vega > wrote: > >> Hi. This is my first question in this group. >> >> My problem is that I have to program a survey applic

Re: How to use Django forms for surveys

2016-10-19 Thread Diego De La Vega
ur days of fixing bugs, but I was searching for a method to only fix a .py file instead of recompiling. I appreciate very much your suggestion and thank you very much! Diego El lunes, 17 de octubre de 2016, 9:30:52 (UTC-3), Asad Jibran Ahmed escribió: > > Hi, > This is a complicated ques

How to use Django forms for surveys

2016-10-17 Thread Diego De La Vega
Hi. This is my first question in this group. My problem is that I have to program a survey application and I would like to have a hint about forms. The survey is +200 questions long and is divided in multiple subjects (every subject is independent from the others) and mainly consists of numeri

Por que Django não é tão popular quanto Ruby on Rails?

2015-12-20 Thread Diego Matar
Por favor, alguém pode dar uma boa resposta para esta pergunta lá no Qanda: >> Por que Django não é tão popular quanto Ruby on Rails? -- You received this message because you are subscribed to the Google Groups

Re: Name error ,not defined problem

2015-07-19 Thread Diego Matar
Didi you add* 'newsletter' *to your INSTALLED_APPS in settings.py? Em domingo, 19 de julho de 2015 07:16:52 UTC-3, Tara gurung escreveu: > > > > > This is my application structure with

Login in all pages

2015-02-05 Thread Juan Diego Gonzalez
agic/index.html'}), where * means any page. Thank you very much. Diego. -- 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+unsu

Re: Help please xml2-config from libxml2

2013-11-06 Thread diego mauricio herrera
If you are trying of install libxml2-dev in red hat 6, you must install libxml2-devel. regards. El martes, 2 de agosto de 2011 10:15:08 UTC-5, theseventhletter escribió: > > Good Day to all > i been trying to install geodjango but always gets stuck up with this > error after i downloaded postG

Re: django + TinyMce

2012-08-20 Thread Diego pascual lopez
Hi, Try this link https://github.com/aljosa/django-tinymce Regards. On Mon, Aug 20, 2012 at 8:36 AM, Владислав Иванов wrote: > Hello! I am a novice. I want to install TinyMce on Django. I tried a lot > of lessons posted on the Internet, nothing. 3 days can not adjust. Please > tell me a link to

Re: Django SYNCDB or SQL error, in core models.

2012-06-20 Thread Diego pascual lopez
On Tue, Jun 19, 2012 at 8:17 PM, upmauro wrote: > Hi all ! > HI, > > When i begin my application i used inspectdb to generate models, after > this when i try use SYNCDB or SQL > > Django raise this exception: > > python2.7 manage.py syncdb > > Error: One or more models did not validate: > cor

Re: New to Django, need help starting

2012-06-20 Thread Diego pascual lopez
On Wed, Jun 20, 2012 at 1:49 PM, kenneth gonsalves wrote: > On Wed, 2012-06-20 at 13:15 +0200, Diego pascual lopez wrote: > > > try typing /path_to_django/bin/django-admin.py startproject > > > > > > > If you don't know the path of the django-admin.py, you c

Re: New to Django, need help starting

2012-06-20 Thread Diego pascual lopez
HI, On Wed, Jun 20, 2012 at 1:10 PM, kenneth gonsalves wrote: > On Tue, 2012-06-19 at 19:57 -0700, Morris Zeitouni wrote: > > I just downloaded and installed Django. I am trying to run the command > > of > > startproject, but when I type in "django-admin.py startproject > > iFriends," > > Termin

Re: RSS Feed

2012-06-08 Thread Diego pascual lopez
ave a problem in urls? > > My home url http://localhost:8000/projeler/ > > and rss url http://localhost:8000/projeler/haberler/ > > > On Jun 8, 3:11 pm, Diego pascual lopez wrote: > > Hi, > > > > Do you have in your blogum directory a feeds.py? > > > &

Re: RSS Feed

2012-06-08 Thread Diego pascual lopez
Hi, Do you have in your blogum directory a feeds.py? On Fri, Jun 8, 2012 at 1:53 PM, armagan wrote: > Hi, > > I'm trying to implemente an rss to my project. I have done a simple > example in django doc. But I have an error in urls.py. > > from 'blogum.feeds import LatestEntriesFeed' ==> I've i

Re:

2012-06-08 Thread Diego pascual lopez
Do you put your model views in the call of patterns? Like this in urls.py: patterns('namemodel.views', url(r'^routename/$', 'name_def_view', name='name_def_view_call'), ) Sorry for my english On Fri, Jun 8, 2012 at 12:11 PM, Lucas Aride Moulin wrote: > Post the content of your URLs.py

Trouble placing two Javascript Box Set Date in the template

2012-06-01 Thread Diego Alonso Uribe Gamez
I have a problem is that when calling the form views to pass to the template, only one of the two fields containing the widget calendar administrator, appears to start_date, end_date not to appear, if I remove start_date, appears to end_date, any idea what's going on? forms.py

Re: Difficult setup on Suse Linux

2012-04-04 Thread Diego Schulz
t;  File "/usr/lib/python2.4/site-packages/django/utils/dictconfig.py", > line 553, in dictConfig >    dictConfigClass(config).configure() >  File "/usr/lib/python2.4/site-packages/django/utils/dictconfig.py", > line 321, in configure >    del logging._handlerList[:] >

Re: Problem using django-admin.py in a virtual environment

2012-04-04 Thread DIEGO CENZANO PRADO
"%1" %* > > Then add a line to revert this association change in deactivate.bat > (located in the same folder): > > FTYPE Python.File="C:\Python27\python.exe" "%1" %* > > I did my best to guess the paths, but you might have to adjust them > appropria

Problem using django-admin.py in a virtual environment

2012-04-04 Thread DIEGO CENZANO PRADO
I have install django with 'python setup.py install' in a virtual environment called 'django1.3' I run it and receive the following error mesage: (django1.3) C:\Documentos de Diego\Dropbox\Codigo\Django>django-admin.py Traceback (most recent call last): File &qu

Re: Problemas con syncdb

2012-04-03 Thread DIEGO CENZANO PRADO
gt; *Ivo Marcelo Leonardi Zaniolo* > *imarcelolz.blogspot.com* > > > 2012/4/3 DIEGO CENZANO PRADO > >> I am trying to do the tutorial and I get an error doing 'python manage.py >> syncdb'. I am using the DATABASES as it is created and I've try to use >&

Problemas con syncdb

2012-04-03 Thread DIEGO CENZANO PRADO
I am trying to do the tutorial and I get an error doing 'python manage.py syncdb'. I am using the DATABASES as it is created and I've try to use sqlite3 and mysql backends. I tried it in windows and in unix. Rasult is always the same: raise ImproperlyConfigured("settings.DATABASES is improperly

Re: Problems getting started

2012-03-08 Thread Diego Schulz
On Wed, Mar 7, 2012 at 11:36 AM, Clark wrote: > After installing Django I am attempting to start a new project.  After > creating a directory for this, I tried using the command: "django- > admin.py startproject mysite". > > but I'm getting the message "-bash: django-admin.py: command not found >

Re: ANNOUNCE: Django 1.4 release candidate available

2012-03-05 Thread Diego Schulz
On Mon, Mar 5, 2012 at 2:49 PM, James Bennett wrote: > We're nearly there! > > The Django 1.4 release candidate package is now available, and you can > read all about it on the blog: > > https://www.djangoproject.com/weblog/2012/mar/05/14-rc-1/ > Hi James, Glad to read that! Just FYI: there's a

Re: internationalization makemessage don't work

2012-02-27 Thread Diego Schulz
7; to your MIDDLEWARE_CLASSES. You should pay attention to the order, though. LocaleMiddleware should be put after SessionMiddleware and before CommonMiddleware. Here's a snippet from a working example: MIDDLEWARE_CLASSES = ( 'django.contrib.sessions.middleware.SessionMiddleware&#

Re: internationalization makemessage don't work

2012-02-27 Thread Diego Schulz
;>> Do you already have a conf/locale/ directory in your project directory where .mo and .po files are located in their own directory? Example: conf/locale/en/LC_MESSAGES/django.mo conf/locale/en/LC_MESSAGES/django.po conf/locale/en-us/LC_MESSAGES/django.mo conf/locale/en-us/LC_MESSAGES/djan

Re: internationalization makemessage don't work

2012-02-26 Thread Diego Schulz
On Sun, Feb 26, 2012 at 2:22 PM, nicolas HERSOG wrote: > Hi folks ! > > I'm trying for hours to internationalize my django website. > > I added to my settings.py this few lines : > > TIME_ZONE = 'Europe/Paris' > LANGUAGE_CODE = 'fr-FR' > > I added to all templates i want to translate the tag trans

Re: online transactions with python

2012-01-31 Thread diego velasquez
tomers and sellers, and thanks for the information posted in github. They are very helpful for me I will write more comments during the project See you!! -- Diego Velásquez Ríos Movistar : 959920238 RPM: #991205 -- You received this message because you are subscribed to the Goo

Re: Django admin stops showing all apps

2009-11-04 Thread Diego Ucha
Hello Greg, What does Apache writes in his log when you try to access the admin when it is unreachable? []s, Diego Ucha http://www.scientificcircle.com/ On 1 nov, 20:52, Greg wrote: > Hi all, > > I have a very strange problem with one of my django sites - when I > start apache

Re: about a web site

2009-07-17 Thread Diego Eduardo Ahumada - SICO S.I. S.A.
--- >> > Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo >> > mismo. >> > > Hi! Why you ask? What's your plan? That someone build a site for you, or build it for someone and want to know how much you can earn? Diego --~--~--

Re: how to alter (add/del cols) the tables from the existing models

2009-07-17 Thread Diego Eduardo Ahumada - SICO S.I. S.A.
2009/7/17 Lokesh : > > Hi, > > Initially the table created with the following code > Class user_privileges(models.Model): >    user_id = models.ForeignKey(User) >    is_deleted= models.CharField(null=False, blank=False, > max_length=1) >    is_email_active = models.CharField(null=False, blank=Fals

Re: 'NoneType' object is not iterable

2008-11-10 Thread Diego Cibils
Hi Javi, I'm having the same problem... any progress so far? Thanks. On Nov 10, 8:35 am, Javi <[EMAIL PROTECTED]> wrote: > Hello Rajesh, > > I've tried putting FORCE_SCRIPT_NAME="" but everything continues at > the same state. I'm running the app in Apache2/mod_python. I've pasted > the htttp.c

Re: Admin Pages and ManyToMany Relationships

2008-10-01 Thread Diego Ucha
Will, You see the entire list, but which group is selected? []s Diego Ucha http://www.diegoucha.com/ On 1 out, 11:54, WillF <[EMAIL PROTECTED]> wrote: > I have a Profile model that has a manytomany relationship with a model called > Group. When I look at the admin pages for a spec

Re: Form controls for choosing from long lists

2008-09-26 Thread Diego Ucha
Donn, You could use the filter_(horizontal|vertical) solution available on Admin. For more details: http://docs.djangoproject.com/en/dev/ref/contrib/admin/#filter-horizontal []s, Diego Ucha http://www.diegoucha.com/ On 26 set, 18:28, bruno desthuilliers <[EMAIL PROTECTED]> wrote: >

Re: Having a instance of a model object instantiate another

2008-05-25 Thread Diego Ucha
tic of how many Checkboxes exist, for example, it will be much more easier. What do you think? []s Diego Ucha On Apr 25, 7:27 pm, jrmorrisnc <[EMAIL PROTECTED]> wrote: > So, I have it doing what I want now: > > > class Event(models.Model): > date = models.D

Re: design patterns

2008-05-23 Thread Diego Ucha
There is also this thread: http://groups.google.com/group/django-users/browse_thread/thread/a26d805427aa643f/249463a6f63958f7 []s Diego Ucha On 23 maio, 21:56, "Juanjo Conti" <[EMAIL PROTECTED]> wrote: > I do it with jquery (client side) getJSON funcio

Re: class diagram from models.py

2008-05-23 Thread Diego Ucha
generate an ER Diagram with your statements. []s Diego Ucha On 23 maio, 15:48, "Juanjo Conti" <[EMAIL PROTECTED]> wrote: > Thanks: > > http://code.google.com/p/django-command-extensions/http://django-command-extensions.googlecode.com/svn/trunk/extensions/.

Re: how to make two fields appear on a single line

2008-05-21 Thread Diego Ucha
blem. []s Diego Ucha On 21 maio, 08:17, Juanjo Conti <[EMAIL PROTECTED]> wrote: > amar escribió: > > > HI, > > I am developing a simple project on django and now i want to make two > > text boxes appear on a single row, please help me > > What are your doin

Re: Django Json server testing, new to Django

2008-05-20 Thread Diego Ucha
Puff, I recommend reading "The Development Server" section from Chapter 2 of Django Book (http://www.djangobook.com/en/1.0/chapter02/). "The development server can handle only a single request at a time reliably...". Looks like that is your case. []s Diego Ucha On 20 maio,

Re: Admin : Select category -> show subcategory

2008-05-20 Thread Diego Ucha
will have to write this function only once. What do you think? []s Diego Ucha Declare it somewhere else, and call him from the event On 20 maio, 05:59, martyn <[EMAIL PROTECTED]> wrote: > In fact, at the creation, you select a category, the the > subcategories > are

Re: Getting FK-Value without knowing the name of the field

2008-05-19 Thread Diego Ucha
If you just need to know the value of a FK field, and you know how to get this object (which filter to use), then i recommend that you read the section "Selecting Objects" from Chapter 5 of Django Book, the answer is there. Chapter 5 - http://www.djangobook.com/en/1.0/chapter05/ []s

Re: Admin : Select category -> show subcategory

2008-05-17 Thread Diego Ucha
You need to set a Subcategory as default when this field is loaded by the field Category? Sorry Martyn, i didn't get your doubt, could you elaborate more? On May 13, 2:23 am, martyn <[EMAIL PROTECTED]> wrote: > It's true, I don't know for what reason I changed this before posting, > but I've seen

Re: Django with Ajax

2008-05-10 Thread Diego Ucha
Monica, I recommend this thread: http://groups.google.com/group/django-users/browse_thread/thread/a26d805427aa643f/c856de7596c3e249?hl=en#c856de7596c3e249 I think it will solve your problem. []s Diego Ucha On May 9, 2:52 pm, "Monica Leko" <[EMAIL PROTECTED]> wrote: > On 5

Re: Admin : Select category -> show subcategory

2008-05-08 Thread Diego Ucha
tion value="">-</option>'; for (var i = 0; i < j.length; i++) { options += '<option value="' + j[i].id + '">' + j[i].nom + '</option>'; } $("select#id_sous_categorie").html(options);

Re: Admin : Select category -> show subcategory

2008-05-05 Thread Diego Ucha
template. At urls.py you need to add a pattern to reach the view: (r'^admin/bd1/country/getStates/$', 'project.app.admin_views.country_getStates'), This is the classic example of a country -> state interaction, the same for your category -> subcategory need. []s, Diego

Re: Admin : Select category -> show subcategory

2008-05-03 Thread Diego Ucha
ussion about those libs on the list). For filling this subcategory field, in terms of data transmission, i use JSon, because JQuery has a fine JSon parser, in few lines it's all done. []s, Diego Ucha On May 2, 6:05 am, martyn <[EMAIL PROTECTED]> wrote: > Hi, > > I've

Problems with TIME_ZONE (bug?)

2007-12-04 Thread Diego pylorca
django bug? P.S.: Sorry for my bad english -- Diego F. Toritto. --~--~-~--~~~---~--~~ 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: admin site and parent/child relationship

2007-08-31 Thread Diego
, podrias > ponerme un ejemplo? > > On 8/31/07, Diego <[EMAIL PROTECTED]> wrote: > > > > > > > Hola José, necesito representar un modelo similar al Country/State, > > pero quiero que a un determinado State se acceda solo a traves de la > > interfac

Re: admin site and parent/child relationship

2007-08-31 Thread Diego
Hola José, necesito representar un modelo similar al Country/State, pero quiero que a un determinado State se acceda solo a traves de la interface del Country al que pertenece. Tenes idea como puedo hacer eso utilizando la interface admin?? Muchas gracias, saludos desde Argentina On 30 ago, 16:0

Re: admin site and parent/child relationship

2007-08-31 Thread Diego
Yes, but my idea is to use admin interface without writing my own views etc, because of I have a lot this similar situations...and I´m new using Django! Thanks On 31 ago, 09:50, eXt <[EMAIL PROTECTED]> wrote: > You can write your own view and template that will implement this > functionality. T

Re: is possible to only select the specified fields?

2007-08-30 Thread Diego pylorca
2 >>> qsv = Entry.objects.values('e1', 'e2') >>> EntryObject = Entry.somemetohd(qsv[0]) >>> On 8/30/07, James Bennett <[EMAIL PROTECTED]> wrote: > > On 8/29/07, Diego pylorca <[EMAIL PROTECTED]> wrote: > > ok, but this not ret

Re: is possible to only select the specified fields?

2007-08-29 Thread Diego pylorca
ok, but this not return a querySet, return a dictionary :S On 8/29/07, James Bennett <[EMAIL PROTECTED]> wrote: > > On 8/29/07, Diego pylorca <[EMAIL PROTECTED]> wrote: > > Somethimes I must show only field1 and field2. > > > > is some way to only se

is possible to only select the specified fields?

2007-08-29 Thread Diego pylorca
s some way to only select the field1 and field2? for example Entry.objects.filter(.).fields(['field1', 'field2']) Thanks -- Diego F. Toritto. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Customize change_list using a filter

2007-06-28 Thread Diego
Hi, I'm using the admin interface, I need use a change_list.html filtered. Example: Show only Ford cars Any ideas to do that?? Regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post t

Re: Curious error with Session Variables

2007-05-10 Thread Diego pylorca
d in some > way with the Python md5 hash modules and caused the Python module to > give back incorrect results. This may have an effect on session > cookies if a md5 hash is used in some way to generate it. > > Graham > > On May 9, 11:16 pm, "Diego pylorca" <[EMAIL P

Abstract class mapped to tables in postgres

2007-05-10 Thread Diego
In my model I have an abstract class ServAbstract and ahother subclass ServA and ServB derived from ServAbstract. In the databse It might generate three tables: table_ServAbstract table_ServA table_ServB , and when by the admin interface I add a new ServA, table_ServAbstract y table_ServA might

Re: Curious error with Session Variables

2007-05-09 Thread Diego pylorca
; You may have a cookie guard enabled. > > For example, Webroot's Spy Sweeper has a set of "shields" for web > browsers, and they include the blocking of certain tracking cookies and > some IE security 'protection'. Perhaps your system is running a similar >

Re: Curious error with Session Variables

2007-05-08 Thread Diego pylorca
n Location: > > > /usr/lib/python2.4/site-packages/django/contrib/admin/views/decorators.py > > in _decode_post_data, line 40 > > > > I am using the latest development version Mod_Python, Apache and Ubuntu > > Linux > > > > What can be the reason > > > >

Re: Curious error with Session Variables

2007-05-08 Thread Diego pylorca
O_SETTINGS_MODULE pvs.settings PythonInterpreter **_main Alias /media /var/www/***/pvs/media SetHandler None Thanks On 5/8/07, Diego pylorca <[EMAIL PROTECTED]> wrote: > > m > > I deployed my site, and in the admin when i try to login i

Example to develop an tipica Add/del/update web

2007-05-04 Thread Diego
Hi I need to develope a simple Add/del/update site with some reports. Is there any example? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-u