Re: Try to tweak given manipulators or start from scratch?

2006-07-03 Thread Jorge Gajon
field in self.fields: if field.field_name == 'related_object': choices = [(obj.id, obj) for obj in RelatedObject.objects.filter(somecriteria)] field.choices = choices Cheers, Jorge --~--~-~--~~~---~--~~ You recei

Re: Try to tweak given manipulators or start from scratch?

2006-07-04 Thread Jorge Gajon
replace the SelectField that the > AddManipulator creates with a HiddenField of my own, but I can't see This is not recommended at all. It is easy for a malicious user to change the value in a hidden field, thus bypassing your rules and compromising your application. Never put in a hidden fiel

Re: prepare method in Manipulator (and FomField) doesn't get called (and also a minor bug in CheckboxSelectMultipleField)

2006-07-06 Thread Jorge Gajon
%s' % \ > +output.append(' class="v%s" name="%s"%s value="on" /> %s' > % \ That's a good catch, I have been using check boxes and didn't noticed that they didn't have a value='on'. I guess firefox is supplying t

Re: prepare method in Manipulator (and FomField) doesn't get called (and also a minor bug in CheckboxSelectMultipleField)

2006-07-06 Thread Jorge Gajon
> > Thanks. I don't know what to put inside html2python. The prepare > method actually sets the list to the values (the first value in the > tuple for choices). I don't think there's anything to change in html2python. As you said the prepare only puts the selected check boxes in the self.data lis

Re: Where to put custom sql?

2006-07-06 Thread Jorge Gajon
umentation/model_api/#managers Regards, Jorge On 7/6/06, Filipe <[EMAIL PROTECTED]> wrote: > > hello there, > > I'm starting with Django a new project where I most probably will be > using only custom sql. The most part of the system will be some > (complex) searchi

Re: FileBrowser Test Version

2006-07-08 Thread Jorge Gajon
Wow, thank you this is fantastic. It's highly probable that I'll use this soon. When I do, I'll make sure to give you feedback and contribute back with something of course. Thank you for releasing this, it will be very useful for a project we will work on soon. Cheers, Jor

Re: Having trouble with views

2006-07-12 Thread Jorge Gajon
sponse('portfolio/category_projects.html', {'category':category, 'projects': projects} ) And the portfolio/category_projects.html would look like this: {{ category }} Projects in this category: {% for pro in projects %} {{ pro.title }} {% endfor

Re: Having trouble with views

2006-07-12 Thread Jorge Gajon
aising very important points. Please take a close look at what he is saying and asking there. You'll need to figure out that first. Cheers, Jorge --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users&qu

Re: Checking whether a Foreignkey object has been assigned to anything

2006-07-12 Thread Jorge Gajon
it is not very optimal because you are fetching all the categories. But I personally wouldn't worry about it if there are not many categories. Cheers, Jorge On 7/12/06, Phil Powell <[EMAIL PROTECTED]> wrote: > > Hi - I've got a bit of a conundrum. > > I have two mode

Re: Checking whether a Foreignkey object has been assigned to anything

2006-07-12 Thread Jorge Gajon
Also, I think you need to add null=True to the ForeignKey, like this: category = models.ForeignKey(Category,null=True, blank=True) blank=True indicates the admin interface that a value can be omitted, but null=True is necessary to indicate to the database that the column can be NULL. On 7/

Re: Please fix my ugly code

2006-07-13 Thread Jorge Gajon
n your form and maintaining the selected option between posted pages. The use of the utility get_object_or_404() frees you of worrying if the incoming data is invalid or malformed, if it is a 404 exception will be raised and the user will get a 404 page. If you have questions about the above code feel

Re: Please fix my ugly code

2006-07-13 Thread Jorge Gajon
l() if model: results = results.filter(model=model) if gorivo: results = results.filter(gorivo=gorivo) I'm sorry if I caused any confusion and for not paying more attention to that filtering part :) Cheers, Jorge On 7/13/06, Jorge Gajon <[EMAIL PROTECTED]>

Re: Non iterable argument

2006-07-13 Thread Jorge Gajon
) print errors if not errors: print "noerrors" manipulator.do_html2python(new_data) print new_data['owner'] Cheers, Jorge On 7/13/06, Lucas Vogelsang <[EMAIL PROTECTED]> wrote: > > -BEGIN PGP SIGNED MESSAGE- &g

Re: Custom Manipulator problem

2006-07-14 Thread Jorge Gajon
Hi, You need to implement the save() method in your custom manipulator. Cheers On 7/14/06, Robert <[EMAIL PROTECTED]> wrote: > > Hello, > > When using custom Manipulator (which in fact does nothing.. I've cut > some additional custom validation here) I'm getting error as follows: >

Re: Custom Manipulator problem

2006-07-14 Thread Jorge Gajon
's no need to write the custom manipulator. Cheers, Jorge On 7/14/06, Robert <[EMAIL PROTECTED]> wrote: > > Hello, > > When using custom Manipulator (which in fact does nothing.. I've cut > some additional custom validation here) I'm getting error as follows: &g

Re: Django vs. Rails vs. Symfony: Django is fastest

2006-07-14 Thread Rafael Jorge
On 7/14/06, Andy Dustman <[EMAIL PROTECTED]> wrote: And with MySQL, to boot. Nothing is perfect..xD -- SDM UnderlinuxGarimpar.com--PEP-8"Mais vale um ponteiro na mao do que duas classes voando" --~--~-~--~~~---~--~~ You received this message because you are subscri

Re: debugging xmlhttprequest POST's is a PAIN! Need help.

2006-07-14 Thread Jorge Gajon
Hi, On 7/14/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote: > Run with the built-in server and put this in your view code: > > import pdb > pdb.set_trace() > +1 for using pdb. It will save you a lot of time debugging your code. And if you haven't used pdb, check out this tutorial: http://www.ferg.o

Re: Scandinavian characters in .po files and timezones

2006-07-31 Thread Jorge Gajon
e file. Look at :help fileencoding and :help encodingfor more details. You could also take a look at this script: http://www.vim.org/scripts/script.php?script_id=789 Cheers, Jorge On 7/30/06, Mikko Nylén <[EMAIL PROTECTED]> wrote: > > Thanks for all answers. I was able to fix the

Re: Having trouble with views

2006-08-11 Thread Jorge Gajon
http://www.ferg.org/papers/debugging_in_python.html Trust me, once you feel comfortable writing and debugging Python programs, getting Django to do what you want it to do will be really easy. Cheers, Jorge On 8/11/06, Tomas Jacobsen <[EMAIL PROTECTED]> wrote: > No problem. Thank you for

Re: foreignKey + manipulator...performance problem

2006-09-02 Thread Jorge Gajon
n_field }} in your template and the html select tag needs to be rendered. I can't write up the ticket because I need to go in 5 minutes :( Regards, Jorge --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &quo

Re: foreignKey + manipulator...performance problem

2006-09-02 Thread Jorge Gajon
On 9/2/06, Jorge Gajon <[EMAIL PROTECTED]> wrote: > I think this should be put on a ticket as an enhancement, the > manipulator should load the foreign data only (and just only) when you > actually put a {{ form.foreign_field }} in your template and the html > select tag needs t

Re: foreignKey + manipulator...performance problem, SOLVED

2006-09-04 Thread Jorge Gajon
Hi, On 8/31/06, Gábor Farkas <[EMAIL PROTECTED]> wrote: > you need to use the raw_id_admin = True flag in the ForeignKey, > and all will be fine. Great!, Thank you Gábor :) I was having the same problem too. Cheers, Jorge --~--~-~--~~~---~--~~

Re: template and special character problem

2006-09-14 Thread Jorge Gajon
Hi, On 9/12/06, Phil <[EMAIL PROTECTED]> wrote: > When I render index.html, the special character from base.html are > rendered normaly but the ones from index.html are shown as '?'. Make sure that the editor you are using is writing your files to disk with the correct encoding. --~--~-

Re: template and special character problem

2006-09-17 Thread Jorge Gajon
On 9/16/06, Phil <[EMAIL PROTECTED]> wrote: > In the base.html template I added in the section a {% block > extrahead %}{% endblock %}. > And in the index.html template I added {% block extrahead %} http-equiv="content-type" content="application/xhtml+xml; > charset=UTF-8" /> {% endblock %} It

Re: template and special character problem

2006-09-18 Thread Jorge Gajon
On 9/18/06, Phil <[EMAIL PROTECTED]> wrote: > I tried what you suggested (replace my meta http-equiv by your version) > and it does no good )c: Sorry to hear that Phil, I don't know what else to suggest :( It is really weird that it works when you duplicate the content-type line though. --~--~-

Re: Django in text-mode and threads

2006-04-21 Thread Rafael Jorge
On 4/21/06, Eugene Lazutkin <[EMAIL PROTECTED]> wrote: Make sure you use one connection per thread.How can I do this? can you explain?-- SDM - www.Garimpar.com/noticias http://sdm.zapto.org/--"Orientacao a Objeto sempre existiu, mas no final tudo acaba em ponteiros" - Eliel Souza --~--~-~-

Re: Django in text-mode and threads

2006-04-21 Thread Rafael Jorge
On 4/21/06, Rafael Jorge <[EMAIL PROTECTED]> wrote: On 4/21/06, Eugene Lazutkin < [EMAIL PROTECTED]> wrote: Make sure you use one connection per thread.How can I do this? can you explain?I apply the ticket #1442 [1] and this appear solve my problem, now I have 50 thread running nice :)

Re: Problem um xmlrpclib in a view

2006-04-23 Thread Rafael Jorge
If I run python manage.py runserver and try to access the page, it work right, with or without "import xmlrpclib"...humm...very stranger, maybe problem whit mod_python-3.1.4 or apache-2.0.53?? -- SDM - www.Garimpar.com/noticiashttp://sdm.zapto.org/--"Orientacao a Objeto sempre existiu, mas no final

Re: Django Request

2022-12-07 Thread Jorge Castro
Hi friends. I write these lines for help as I am new in django. I built a project and I deployed but for some razon, it doesn't work everey thing fine. The main issue is that my store doesn't appear whit its items. The site is solquimicas.tk This is an spanish site, so tienda is the store El mar

tienda media files are not working

2022-12-07 Thread Jorge Castro
Hi friends. I write these lines for help as I am new in django. I built a project and I deployed but for some razon, it doesn't work everything fine. The main issue is that my store doesn't appear with its items. The site is *Hi friends. I write these lines for help as I am new in django. I built

authenticate=None mistery: can't authenticate from the web but it works from the command line

2012-08-19 Thread Jorge Garcia
Hi there. Im doing my first login form for an existing Django application. The thing is that when I give the correct usr/pswd from the web, django.contrib.auth.authenticate returns systematically None. However, when I try the same thing from the Django shell it works. I'm working with a "john

Re: authenticate=None mistery: can't authenticate from the web but it works from the command line

2012-08-22 Thread Jorge Garcia
rd=clave) > > > > should be > > > > authenticate(username=usuario, password=clave) > > > > Regards > > > > > > On Sun, Aug 19, 2012 at 3:35 PM, Jorge Garcia > > > > > > wrote: > >> > >> Hi there. Im

Re: Marketplace for Django apps

2012-09-11 Thread Jorge Vargas
I agree with Jonas here. having a place were you have get apps to solve hard problems no one has done right (ecommerce is a very good example) is a plus. As for it being "cancer" and bad I don't agree there is a market for everything. And that will bring more people in which in the end is what eve

Recommended dev environment for a Django project deployed to Linode

2013-09-16 Thread Jorge Arevalo
Hello, I'm going to start a project based on (Geo)Django + PostgreSQL/PostGIS + OpenLayers/LeafLet + Bootstrap/Foundation. The project will be deployed to a Linode box. That box will be created with something like this: https://manager.linode.com/linodes/deploy/linode393074?StackScriptID=6482

Re: Recommended dev environment for a Django project deployed to Linode

2013-09-16 Thread Jorge Arevalo
On Monday, September 16, 2013 7:33:49 PM UTC+2, Jorge Arevalo wrote: > > Hello, > > I'm going to start a project based on (Geo)Django + PostgreSQL/PostGIS + > OpenLayers/LeafLet + Bootstrap/Foundation. The project will be deployed to > a Linode box. That box will be crea

Re: Recommended dev environment for a Django project deployed to Linode

2013-09-25 Thread Jorge Arevalo
error free. (My django environment is almost > exactly like yours with PostGIS, etc.) > -- > > On Monday, September 16, 2013 6:33:49 PM UTC+1, Jorge Arevalo wrote: >> >> Hello, >> >> I'm going to start a project based on (Geo)Django + PostgreSQL/PostGIS +

Re: Recommended dev environment for a Django project deployed to Linode

2013-09-25 Thread Jorge Arevalo
Fine. I don't think my boss is going to pay for PyCharm license, so I'll probably go for Eclipse now (I don't really like it too much, but if works, it's ok for me) About virtualenv, is there any method to provide something like a script to create a virtualenv, install the needed software and h

Re: Recommended dev environment for a Django project deployed to Linode

2013-10-09 Thread Jorge Arevalo
a pinch I can directly >> edit on the linode, using vim through ssh, or emacs tramp mode over ssh, >> or, if you want to install your favorite X based editor on the linode, >> through a ssh -Y tunnel. >> >> Bill, the curmudgeon >> >> >> On Wed, Sep

Re: Recommended dev environment for a Django project deployed to Linode

2013-10-09 Thread Jorge Arevalo
; > > wrote: > >> >> Check virtualenvwrapper >> >> http://virtualenvwrapper.readthedocs.org/en/latest/ >> >> >> >> >> On 09/25/2013 08:06 PM, Jorge Arevalo wrote: >> >> Fine. I don't think my boss is going to pa

Re: Recommended dev environment for a Django project deployed to Linode

2013-10-09 Thread Jorge Arevalo
apper is the best way to keep your > environment updated with the same versions. I also keep a requirements.txt > file into the project (I use Git and Bitbucket) with the output of pip > freeze command. > > best regards, > > > On 25 September 2013 15:01, Jorge Arevalo

Re: Recommended dev environment for a Django project deployed to Linode

2013-10-09 Thread Jorge Arevalo
Interesting! I'm downloading it. Many thanks! On Thursday, September 26, 2013 7:54:55 PM UTC+2, Ezequiel wrote: > > On Wednesday, September 25, 2013 3:06:55 PM UTC-3, Jorge Arevalo wrote: > >> Fine. I don't think my boss is going to pay for PyCharm license, so I'll

Re: UK-based Django Host?

2011-05-25 Thread Jorge Bastida
Linode 512 here, excellent service. 2011/5/25 Stuart MacKay > I use a Linode 512 VPS hosted in London. So far it has been awesome. > > Stuart MacKay > Lisbon, Portugal > > > I know this question has been asked before, but the most recent thread >> I can find in the archives is from 2007, and pr

Re: Full text search with PostgreSQL and Django

2010-12-17 Thread Jorge Bastida
oup, send email to > django-users+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- Benito Jorge Bastida jo...@thecodefarm.com thecodefarm SL Av. Gasteiz 21, 1º Derecha 01008 Vitoria-Gasteiz http://th

Admin: how to change the default filtering options ?

2011-02-03 Thread Jorge Vargas
Hello, I'm having the following situation. I got a model "signup" which has a status field (todo, done, processing, etc.) I have an admin view for it which should show all signups and I have a filter that will let me do filter by status. Therefore the person processing the sigups will just click th

Re: Dajaxice Unresolved Import

2011-02-16 Thread Jorge Bastida
> > Does anyone know if it matters what version I install of these > packages? > (I'm using version 2.6.6 of python and 1.2.3-1ubuntu0.2.10.10.1 of > python-django.) Hi, Probably the problem is that you are using an old django-dajaxice version. 0.1.5 had some bugs related to the function registra

Re: A very simple dajax code to show alert window not working

2011-03-29 Thread Jorge Bastida
Hi, You should include your desired Dajax implementation. You can choose between Prototype, jquery, dojo etc... The django-dajax installation steps are here [1]. As you can see in one of the final steps "Include dajax in your ", you should add a new script line to include that JS, also you should

Re: A very simple dajax code to show alert window not working

2011-03-29 Thread Jorge Bastida
Hi, There isn't any other methods, Dajax.process is only a callback that "understand" what Dajax return as response. You can check the code here [1]. Regards. [1] https://github.com/jorgebastida/django-dajax/blob/master/src/jquery.dajax.core.js 2011/3/29 Abhijeet Rastogi

Re: Rendering only a portion of the page

2011-04-02 Thread Jorge Bastida
/en/dev/ref/templates/api/#the-render-to-string-shortcut Hope this helps you, Jorge Bastida. -- 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: Dajax, what do you think about it?

2011-04-02 Thread Jorge Bastida
... Hope this helps you, Jorge Bastida. -- 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 django-users+unsubscr...@goo

Custom lookup field for text comparison in Django 1.6

2015-03-04 Thread Jorge Arévalo
Hello, I'm trying to emulate a non-spaces-all-lower text comparison filter in Django 1.6.x. In other words, I want the equivalent to this query select * from myapp_mymodel where replace(lower(str), " ", "") = '' Being my model something like this from django.db import models class MyModel(mode

Handling circular references in recursive foreign keys

2014-10-01 Thread Jorge M.
any references, which means that we're currently setting this foreign key field to the IntegerField "paired_with_app_id" as a workaround. Thanks, -- Jorge -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Strange behavior with Django 1.5.4 and syncbd/South (missing model fields)

2014-03-27 Thread Jorge Arevalo
send the link. If this isn't correct, please accept my apologies. I will describe the problem here too. Anyway, many thanks in advance. Best regards, -- Jorge Arevalo Freelance developer http://about.me/jorgeas80 -- You received this message because you are subscribed to the Google Group

Django 1.5.4 sql generation just generates one model field (PostgreSQL)

2014-04-03 Thread Jorge Arevalo
Hello, I have this dummy models.py from django.db import models class Foo(models.Model): bar = models.IntegerField(), // more integer fields here... xyz = models.IntegerField() And I want to know the SQL code generated for PostgreSQL, executing: python manage.py sqlall myapp No so

Re: Django 1.5.4 sql generation just generates one model field (PostgreSQL)

2014-04-03 Thread Jorge Arevalo
> > On Apr 3, 2014, at 6:24 PM, Jorge Arevalo > > > wrote: > > > Hello, > > > > I have this dummy models.py > > > > from django.db import models > > > > class Foo(models.Model): > > bar = models.IntegerField(), >

Error with GeoDjango serializer and ForeignKey field

2014-04-06 Thread Jorge Arevalo
(Sorry for the cross posting. I'm not sure about the best place to put my question. So, I put it in StackOverflow too. And I know that a post that contains just a link to another page can be considered spam. So, I C&P the content here) I have a problem with *Django 1.5.4*. I put the question in

Re: Error with GeoDjango serializer and ForeignKey field

2014-04-08 Thread Jorge Arevalo
On Sunday, April 6, 2014 11:13:30 PM UTC+2, Jorge Arevalo wrote: > > (Sorry for the cross posting. I'm not sure about the best place to put my > question. So, I put it in StackOverflow too. And I know that a post that > contains just a link to another page can be considered sp

Re: Cannot connect to 127.0.0.1 error

2017-11-02 Thread Jorge Gimeno
user', 'PASSWORD': 'password', 'HOST': 'localhost', 'PORT': '', } } -Jorge On Thu, Nov 2, 2017 at 7:50 AM, Aditya Vartak wrote: > Performing system checks... > > Unhandled exception in thread st

Re: Django 2.0 released

2017-12-03 Thread Jorge Gimeno
If you use pipenv, it will do that for you. -Jorge On Dec 3, 2017 3:05 PM, "Simon Charette" wrote: > > My mistake? My "requirements.txt" file did not mention package versions. > > You should definitely make sure to lock/freeze your requirements to prevent &g

Re: What were your best resources in learning programming, python, ultimately django?

2018-04-09 Thread Jorge Gimeno
Team Treehouse was a great learning resource. It's paid, but I felt it was worth it. -Jorge L. Gimeno On Mon, Apr 9, 2018, 8:06 AM Amber Pond wrote: > What were your best resources in learning programming, python, ultimately > django? > > Hi friends! > > Just starting o

Re: Starting a poll

2018-05-24 Thread Jorge Gimeno
On Thu, May 24, 2018, 10:06 AM Caleb Bryson wrote: > So I am follow the instructions on the django site to make a poll. I am at > the current step where you run the server and everything went fine when i > typed in the command. But now it is just there at saying "GET /favicon.ico > HTTP/1.1" 404

EDMS (Electronic Document Management System )

2016-05-27 Thread Jorge Maciel
Hi, I'm developing a EDMS (Electronic Document Management System ) for small business. I am in doubt about the infrastructure should I use to create this system . I think he should be SAAS , Each company has several departments and multiple users and they can share documents with each other.

django 1.9, migrations SUCK

2016-07-29 Thread Jorge Cadena
Hi, I am dev in django at last 4 years, i missed ./manage.py syncdb, Delete all tables from databases (MariaDB, PostgreSQL) command line from DB, and run python manage.py migrate always same error *python manage.py migrate* django.db.utils.ProgrammingError: (1146, "Table 'dashaboard_web.did_d

Re: django 1.9, migrations SUCK

2016-07-29 Thread Jorge Cadena
same error, in mariaDB, postgresql, rigth now in sqlite3 El viernes, 29 de julio de 2016, 9:07:33 (UTC-5), Jorge Cadena escribió: > > Hi, > > I am dev in django at last 4 years, i missed ./manage.py syncdb, > > Delete all tables from databases (MariaDB, PostgreSQL) command li

Re: django 1.9, migrations SUCK

2016-07-29 Thread Jorge Cadena
_exc_type, dj_exc_value, traceback) File "/usr/local/lib/python2.7/dist-packages/django/db/backends/utils.py", line 64, in execute return self.cursor.execute(sql, params) File "/usr/local/lib/python2.7/dist-packages/django/db/backends/sqlite3/base.py", line 323, in execute

ti possible CommaSeparatedIpField

2016-08-30 Thread Jorge Cadena
Hi I have a idea CommaSeparatedIpField, it possible ? this for validacion IP ACL list in FreeSWITCH. -- 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-use

Loading and editing Microsoft Word files with Django admin

2016-11-11 Thread Jorge Arévalo
loaded in a TinyMCE-like text area, they make some changes and save the document. Is there any existent Django project/plugin/whatever doing something like that? Otherwise, which tools should I use to build it? I guess TinyMCE and python-docx Many thanks in advance, Jorge -- You received

Re: problem in activating virtual environment in Django with ". \Scripts\activate" command

2019-01-17 Thread Jorge Gimeno
I assume that's in Windows Powershell. I think it's .\Scripts\activate.bat I would also check to ensure that the Scripts folder exists in your current directory. -Jorge On Thu, Jan 17, 2019 at 11:18 AM Django Geek Aditya wrote: > Shell Output after entering command is > PS E:\

Re: Unit-Testing Django Views

2019-03-30 Thread Jorge Gimeno
The online version of the book is pinned to Django 1.11. You may want to check that out. -Jorge On Sat, Mar 30, 2019 at 4:40 AM Test Bot wrote: > Sorry for the bother but I finally solved it by using Django's Test Client > and checking for status_code and template used to render t

Re: Must be my and and can't be my code -- tracing back a URL pattern type mismatch

2019-03-30 Thread Jorge Gimeno
-- > 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 emai

Re: django-admin ...command error

2019-05-03 Thread Jorge Gimeno
This is a good case to use manage.py instead, as manage.py sets DJANGO_SETTINGS_MODULE. See here: https://docs.djangoproject.com/en/2.2/ref/django-admin/. -Jorge On Fri, May 3, 2019 at 12:41 PM Josiah Umezurike < pcintegral.pcintegr...@gmail.com> wrote: > I shows that there is

Re: problems with mysql client

2019-05-11 Thread Jorge Gimeno
/groups.google.com/d/msgid/django-users/31f86e65-7e0a-49c7-b574-1670fba1ca18%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/31f86e65-7e0a-49c7-b574-1670fba1ca18%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://gro

Re: problems with mysql client

2019-05-11 Thread Jorge Gimeno
Rob, On the off chance you haven't seen it, I found a Stack Overflow question on this: https://stackoverflow.com/questions/25459386/mac-os-x-environmenterror-mysql-config-not-found. Unfortunately, I don't know Mac OS all that well to offer more help than that. -Jorge On Sat, May 11,

Re: How to proceed with my Pull request?

2019-05-12 Thread Jorge Gimeno
ainer, but I wouldn't expect a response right away. -Jorge On Sun, May 12, 2019 at 7:27 AM Mahdi Xareie wrote: > Hello everyone > > I'm newbie in open-source contribution and I need a little guidance. > I've sent a pull request containing a few lines of tests to django

Re: invalid literal for int() with base 10: ''

2019-06-21 Thread Jorge Gimeno
Would you be able to copy and paste the stack trace here? Without that, it's really hard to see where this exception is coming from. -Jorge On Fri, Jun 21, 2019 at 9:13 AM Lutalo Bbosa joseph wrote: > here is my template that handles that bit, and i have as well attached > atempla

Re: Unable to change db sqllite to mysql

2019-07-11 Thread Jorge Gimeno
.google.com/group/django-users. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/django-users/68059107-83c1-4dc8-accd-68ff69145312%40googlegroups.com >>> <https://groups.google.com/d/msgid/django-users/68059107-83c1-4dc8-accd-68ff691

Updating 1.10 to 1.11.1 and AttributeError

2017-05-22 Thread Jorge Cadena
Hello. updating 1.10 to 1.11.1 and get this error: File > "/home/aztrock/workspace/ariatel.com.co/local/lib/python3.5/site-packages/django/utils/autoreload.py", > > line 227, in wrapper > fn(*args, **kwargs) > File > "/home/aztrock/workspace/ariatel.com.co/local/lib/python3.5/site-pac

Re: Updating 1.10 to 1.11.1 and AttributeError

2017-05-23 Thread Jorge Cadena
bel) > if db_obj1 and db_obj2: > if db_obj1 == db_obj2: > return True > else: > return False > return None > > def allow_syncdb(self, db, model): > """Make sure that apps only appear

UI for a legacy database

2017-05-24 Thread jorge alarcon
Hello everyone, I am working on designing a user interface for a legacy database. Using python manage.py inspectdb I got the following models: class Columnnames(models.Model): id = models.BigAutoField(primary_key=True)

Re: Updating 1.10 to 1.11.1 and AttributeError

2017-05-24 Thread Jorge Cadena
apprest', # Plugins ## 'notifications', 'formtools', 'tinymce', 'crispy_forms', 'two_factor', 'redisboard', 'django_tables2', 'django_otp', 'django_otp.plugins.otp_static', 'django_otp.plu

It is posible to disable the return id

2017-10-13 Thread Jorge Cadena
Hola I'm creating a partitioned table and the trigger return a NULL and django bounces an error because postgres doesn't return anything It is posible to tell django to disable the return of the id django makes a mistake: 'NoneType' object is not subscriptable Trigger in postgres: CREATE

Re: progress bar and upload big file and protect files

2020-03-04 Thread Jorge Gimeno
. It's on PyPI here: https://pypi.org/project/tqdm/. <https://pypi.org/project/tqdm/> There's good docs there. Integrating it I leave as an exercise to you. -Jorge -- You received this message because you are subscribed to the Google Groups "Django users" group.

Re: Beginner needs help getting templates to work - is this the right group?

2020-03-05 Thread Jorge Gimeno
ur project isn't working once you get to templates. Is there a book or tutorial you are following? That might help us know where to start. In addition to this list, there is a forum at forum.djangoproject.com (I follow posts in there as well). That might be another resource for you,

Re: Beginner needs help getting templates to work - is this the right group?

2020-03-05 Thread Jorge Gimeno
I "runserver" >> (on page 55) I get a huge error dialog that seems to say that django can't >> find the app. I have deleted the project several times and re-entered it, >> so I think it is unlikely that it is a typing error. >> >> >> On Thu

Re: Beginner needs help getting templates to work - is this the right group?

2020-03-06 Thread Jorge Gimeno
, do that first. -Jorge On Fri, Mar 6, 2020 at 3:07 AM Alvaro Orozco wrote: > It seems like you're not activating the virtual environment. Active the > virtual environment and install the dependencies. > > On Thu, Mar 5, 2020 at 11:02 PM Shishir Jha > wrote: > >>

Re: API documentation

2020-03-11 Thread Jorge Gimeno
+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAKYSAw03z7m%3D1udG%3DOptgsOegVupCrrnXd3GLsX377wKb-rsww%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAKYSAw03z7m%3D1udG%3DOptgsOegVupCrrnXd3GLsX3

Re: Error while hosting on heroku

2020-03-13 Thread Jorge Gimeno
if you used --app appname, then migrations didn't run. You can use 'heroku run python manage.py migrate blog' (without the single quotes) to migrate the blog app models, or 'heroku run python manage.py migrate' (again without single quotes) to migrate all the models in

Re: Error while hosting on heroku

2020-03-13 Thread Jorge Gimeno
Have you checked the logs to see what the command returns? -Jorge On Fri, Mar 13, 2020 at 11:34 AM shree hari wrote: > I tried that too. > Still its the same. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group

Re: I AM getting this error plss help me

2020-03-14 Thread Jorge Gimeno
Can you try closing the powershell, running the Powershell as an admin, then trying again? Another option would be to try from the command terminal instead of Powershell. Let us know how it goes. -Jorge On Sat, Mar 14, 2020 at 5:25 AM surendra ediga wrote: > Traceback (most recent call l

Re: I AM getting this error plss help me

2020-03-16 Thread Jorge Gimeno
To be pedantic, the object is None. It's a known issue with Powershell on Windows. -Jorge. On Sun, Mar 15, 2020, 10:12 PM maninder singh Kumar < maninder.s.ku...@gmail.com> wrote: > The object is empty > > > [image: --] > > Maninder Kumar > [image: http://]a

Re: Django framework on Windows OS

2020-03-17 Thread Jorge Gimeno
;t have Windows currently installed, but I have used Django on Windows before. What are you trying to do, and what happens? If there's a traceback please copy and paste into your reply, as this mailing list strips attachments. -Jorge -- You received this message because you are subscribed to

Re: i'm having problems trying to add users to the admin on django for so long now that i haven't been able to learn much about django for months

2020-03-17 Thread Jorge Gimeno
uot;C:\Users\Dell\leo\leo\lib\site-packages\django\db\backends\sqlite3\base.py" > in execute > 303. return Database.Cursor.execute(self, query, params) > > Exception Type: OperationalError at /admin/auth/user/1/change/ > Exception Value: no such table: main.auth_user__ol

Re: error en ejercicio de principiante, no se que hacer

2020-03-29 Thread Jorge Gimeno
HDa-zTwbDUNY3buvxom5YBTAcjV-C4Q%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CA%2Bt%2BYr0EXwWkoArUk2_HDa-zTwbDUNY3buvxom5YBTAcjV-C4Q%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > Concuerdo con lo que indica Cosmos. Con eso dicho, el proble

Re: travis sync issue to git with django project

2020-03-29 Thread Jorge Gimeno
/django-users/CAN-hv_ozmpT5qVuDJpkZcmcSyR4UCm8khgt5xr3eEkEDzsPKww%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAN-hv_ozmpT5qVuDJpkZcmcSyR4UCm8khgt5xr3eEkEDzsPKww%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > Are you setting the secret key as an

Re: Django form fields order

2020-04-10 Thread Jorge Gimeno
To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CABD5YeEbHc5ewqJKEFAS5XV1JfD%3DEqf8%3D_ScgjhTC5VY2NsDpw%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CABD5YeEbHc5ewqJKEFAS5XV1JfD%3DEqf8%3D_ScgjhTC5VY2NsDpw%40mail.gmail.com?utm_medium=email&am

Re: Reg: Django signal not working

2020-04-19 Thread Jorge Gimeno
Amitesh, Where is User.profile defined? -Jorge On 4/18/20, Saurabh Ranjan Singh wrote: > I am having the same issue. Please fix it. > > On Friday, 17 April 2020 22:47:40 UTC+5:30, Amitesh Sahay wrote: >> >> Hi, >> >> I am creating a Django sig

Re: Django Project Created in Pycharm using App Engine Does not include Django boiler files

2020-04-19 Thread Jorge Gimeno
I believe you can still install Django the old fashioned way into your virtual environment, i.e. (with your environment active, and from the command prompt): pip install django django-admin startproject test_project -Jorgge On 4/17/20, kelvin smith wrote: > Guys, I Just started using google clo

Re: Tutorial "Writing your first Django App": NoReverseMatch at /polls/ - down at the end of part 3

2020-04-19 Thread Jorge Gimeno
If settings.DEBUG == False, then you have to put the allowed addresses in settings.ALLOWED_HOSTS. If Debug is True, then I'm not sure what's going on. -Jorge On 4/18/20, Markus Grossniklaus wrote: > Thanks a lot Chucky! > No error message > displays at least one dot! fine &

Re: No Reverse Match Error, When creating a new user (new user application) it should direct back to home (to the core application)

2020-04-19 Thread Jorge Gimeno
I would try to replace return redirect('home') with return redirect(reverse('home')) -Jorge On 4/18/20, Motaz Hejaze wrote: > اعمل اسم الفانكشن الحقيقي مكان اسم ال url او استخدم redirect reverse > > On Sun, 19 Apr 2020, 6:35 am Ahmed Khairy, > wrote: >

Re: CSRF token still needed today?

2020-04-19 Thread Jorge Gimeno
> <https://groups.google.com/d/msgid/django-users/487c7392-e874-4a1e-a1ff-488ab933ae42%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For my projects, I am going to keep CSRF tokens. The time taken to put one in a template is minimal, and I don't run the risk of turning

Re: Reg: Django signal not working

2020-04-22 Thread Jorge Gimeno
ue please, seems like you picked things up with > someone till this email. > Regards, > Aditya > > On Mon, Apr 20, 2020, 3:11 PM 'Amitesh Sahay' via Django users < > django-users@googlegroups.com> wrote: > > -+c Hello Jorge, > > After doing some research

<    1   2   3   4   >