Re: how to implement lazy settings as django setting

2016-03-03 Thread Luis Zárate
Thanks, El jueves, 3 de marzo de 2016, Daniel Chimeno escribió: > Hello, > https://www.djangopackages.com/grids/g/live-setting/ > > > El miércoles, 2 de marzo de 2016, 16:53:09 (UTC+1), luisza14 escribió: >> >> I need to implement a lazy setting like django setting that could

how to implement lazy settings as django setting

2016-03-02 Thread Luis Zárate
I need to implement a lazy setting like django setting that could be call globally in several apps but get his values from a model in database. I have some settings that need to be change by the admin user, so my apps expect that settings but can not loaded on django setup because needs populate

how to implement lazy settings as django setting

2016-03-02 Thread Luis Zárate
I need to implement a lazy setting like django setting that could be call globally in several apps but get his values from a model in database. I have some settings that need to be change by the admin user, so my apps expect that settings but can not loaded on django setup because needs populate

Re: a question about django admin and language

2016-03-02 Thread Luis Zárate
You could write a middleware after language middleware than check if it is a admin URL and change the language to English. https://docs.djangoproject.com/en/1.9/topics/http/middleware/ https://docs.djangoproject.com/es/1.9/topics/i18n/translation/ El viernes, 26 de febrero de 2016, Will Harris

Re: form as filter in admin site

2016-02-22 Thread Luis Zárate
min) list_filter = ( MatriculaFilter, ) 2016-02-20 9:56 GMT-06:00 Luis Zárate <luisz...@gmail.com>: > I am trying to insert a filter in the admin site that have 2 autocomplete > inputs so I was thinking to do passed a form with a custom filter,

Re: mathematical function and django connect

2016-02-21 Thread Luis Zárate
use render instead of render_to_response from django.shortcuts import render return render(request, 'blog/calc.html', { 'a' :a, }) 2016-02-21 22:57 GMT-06:00 Xristos Xristoou : > UserWarning: A {% csrf_token %} was used in a template, but the context > did

form as filter in admin site

2016-02-20 Thread Luis Zárate
I am trying to insert a filter in the admin site that have 2 autocomplete inputs so I was thinking to do passed a form with a custom filter, but I only find a list filter documentation. I solved the problem writing a custom filter, with a little problem with css, because change list view has

Re: key specification without a key length

2016-02-19 Thread Luis Zárate
I response in the other mail, but I am curious changing TextField for. CharField with max_length has big impact in the database performance. I saw you have a lot of TextFields so are you sure that you need all those TextFields ? Or y could you change those TextFields for CharFields with a small

Re: 1170, "BLOB/TEXT column

2016-02-19 Thread Luis Zárate
Check your migrations, I think you use TextField the first time, run makemigrations and create the initial migrations, before you run migrate django raise a exception so you change it for CharField and run makemigrations a second time and create the correction in the 002 migration but the

Re: Gmail Django

2016-02-19 Thread Luis Zárate
Those are your real credentials, hurry up and change the password, you must never post your real credentials in public mail list. M1chael is right you need to change the gmail settings for allow login with insecure applications. 2016-02-19 16:03 GMT-06:00 Daniel Wilcox :

Re: Deploy Adagios web application

2016-02-16 Thread Luis Zárate
I don't know where is your problem, and I deployed django with apache time ago, but if I remember well WSGIDaemonProcess is not a IP, It is the user of process that run wsgi so I used like WSGIDaemonProcess myuser WSGIDaemonGroup myusergroup I sorry if I am not in the truth. El martes, 16 de

Re: Where is the issues page?

2016-02-16 Thread Luis Zárate
https://code.djangoproject.com/ El martes, 16 de febrero de 2016, shivam Agarwal escribió: > I want to contribute to Django but i cannot find the issues page , can someone help me find it? > > -- > You received this message because you are subscribed to the Google

Re: mathematical function and django connect

2016-02-16 Thread Luis Zárate
What is wrong in your code? I suggested you some scripts changes that allows import and use in views. Help us to help you, give us more information about what are you doing, what are you planning to do? Why you think you code is wrong?. Did you create the view as I suggested? I think you need

Re: mathematical function and django connect

2016-02-10 Thread Luis Zárate
I repeat you again OK, start with writing a view https://docs.djangoproject.com/en/1.9/intro/tutorial03/ Show something funny in your HTML and when you be able to see in your browser let me know. How to do that, see the tutorial, basically this are the steps create a django app (python

Re: mathematical function and django connect

2016-02-10 Thread Luis Zárate
It's correct. A recomendation Try to get out all input() from the function, because django is a server side so user don't have a standard input. 2016-02-10 15:22 GMT-06:00 Xristos Xristoou : > if i dont want refactor my scipt,and use this > def my_math_func(input1,input2):

Re: mathematical function and django connect

2016-02-10 Thread Luis Zárate
Maybe you need to refactor your script, I suggest you something like this: def my_math_func(your_input): your_input = your_input.replace(" ", "") # prevent "1, 2" list_input = [int(x) for x in your_input.split(",")] # others comprobations could be do list_output = [] for x in

Re: mathematical function and django connect

2016-02-10 Thread Luis Zárate
OK, start with writing a view https://docs.djangoproject.com/en/1.9/intro/tutorial03/ Show something funny in your HTML and when you be able to see in your browser let me know. El miércoles, 10 de febrero de 2016, Xristos Xristoou escribió: > i dont know how to start to

Re: ./manage.py runserver 0.0.0.0:8080 is not working, No module named django.core.management

2016-02-10 Thread Luis Zárate
Please made other thread for that You need to read the documentation https://docs.djangoproject.com/en/1.9/howto/deployment/ ohn Travolta escribió: > > > On Tuesday, February 9, 2016 at 7:28:31 PM UTC+1, Daniel Roseman wrote: >> >> Django is installed for Python 3.4,

Re: mathematical function and django connect

2016-02-10 Thread Luis Zárate
Someting like def myview(request): dev = mymathfunc(request. POST.get_list('mi_input', [])) return render(request, 'mytemplate.HTML', {'result': dev}) I am not sure if get_list it is a valid function, I know there is one that do the same, but can't remember how is called. If you can

Re: mathematical function and django connect

2016-02-09 Thread Luis Zárate
I think you want to show a form with a text input where the user could insert some input eg. math equation to sent to the server. In the server you what to get the input and use it in the standard input of your script, in your script you made what you want (included input validation) finally the

Re: Codec H.264 if Free?

2016-02-09 Thread Luis Zárate
I don't understand you question, but if you are looking for video support https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats You maybe need to take a look to ffmpeg (now avconf). El martes, 9 de febrero de 2016, ylativ oknesyl <2vlyse...@gmail.com> escribió: > I am

Right place to decrypt/decode data from DB before passing it to UI without affect data in DB itself.

2016-02-08 Thread Luis Zárate
You are using django rest, sure. Why Message doesn't have an function as a property that return the encrypted . El lunes, 8 de febrero de 2016, learn django escribió: > Hi, > I store some data like email text, headers and from email address in encoded format in the

Re: How to show python data on html

2016-02-08 Thread Luis Zárate
Database models approuch only the most popular form of manipulate data, but django is MVT so you could have different representation of the "M" (eg. External API) and full use of "VT". An example. def myfunc(request): mydata = my_dict_get_by_api_call() return render(request,

Re: Running automated expiration date events

2016-02-08 Thread Luis Zárate
Maybe with celery and Django celery you can do what you want. There is a functionality called crontab that is manage by models with Django celery. So you can create cron task that will call when you need with a reference to you model. As an interesting problem, think in the moment of update you

Re: Scaling Django

2016-02-04 Thread Luis Zárate
" It's hard to hire Django engineers " I don't think that this is a problem because good software developer can learn Django faster than other frameworks. For example I have a Costa Rican startup that develop in Django, as small company in small country we don't have inversor that allows to hire

Re: Django installation guide on windows is not correct

2016-02-02 Thread Luis Zárate
did you have installed pip ? https://pip.pypa.io/en/stable/installing/ what version of pip do you have? -- 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

Do you know any Django reservation app?

2016-01-20 Thread Luis Zárate
I need an app that do this: Public user can reserve a cite in specific datetime. Private user manage the cite status. I need to manage medical schedule with this app. -- "La utopía sirve para caminar" Fernando Birri -- You received this message because you are subscribed to the Google Groups

How to run an external python script in my Django view

2016-01-16 Thread Luis Zárate
How you call your script in the view? You said that is import as from utils.scriptname import classname but what method do you call in the view. Remember, all code in script file that are not in a function o class will execute at import time. I guest you have something like def

Re: django-embed-video error Unresolved tag 'video'

2016-01-15 Thread Luis Zárate
I thing the problem its here {% video my_video "large" %} You have a tag inside the other tag The reference https://docs.djangoproject.com/en/1.9/ref/settings/#templates El viernes, 15 de enero de 2016, Xristos Xristoou escribió: > yeah i thing so using django 1.9 help

Re: django-embed-video error Unresolved tag 'video'

2016-01-15 Thread Luis Zárate
Are you using django 1.9 ? TEMPLATE_CONTEXT_PROCESSORS changed in 1.9 I saw the app and it have video tag so test again and check that you do all steps in the doc. El viernes, 15 de enero de 2016, Xristos Xristoou escribió: > > 0down votefavorite > > i want to create a video

Re: django-embed-video error Unresolved tag 'video'

2016-01-15 Thread Luis Zárate
Are you using django 1.9 ? TEMPLATE_CONTEXT_PROCESSORS changed in 1.9 I saw the app and it have video tag so test again and check that you do all steps in the doc. El viernes, 15 de enero de 2016, Xristos Xristoou escribió: > > 0down votefavorite > > i want to create a video

Re: Showing BooleanField checkbox on left

2016-01-14 Thread Luis Zárate
Do you know django crispy forms ? http://django-crispy-forms.readthedocs.org/en/latest/ El miércoles, 13 de enero de 2016, Sayse escribió: > I'm in the process of trying to minimize the amount of code I need to use to render a form with bootstrap styling with the hope of

Re: invalid literal for int() with base 10: '' using FormSet with File Upload

2016-01-12 Thread Luis Zárate
What is the value of pk in study_form_set = DiagnosticStudyFormSet(request.POST, request.FILES, prefix='studies', queryset=DiagnosticStudy.objects.filter(diagnostic__id=pk)). ? Is pk an int? try print type(pk) El martes, 12 de enero de 2016, Néstor Boscán escribió: > Hi

Re: how to set up jenkin's 'GitHub Pull Request Builder Plugin' for django ?

2016-01-09 Thread Luis Zárate
-statustargets.html#change-hooks 2016-01-09 9:59 GMT-06:00 Luis Zárate <luisz...@gmail.com>: > > 2016-01-09 3:49 GMT-06:00 Abraham Varricatt < > abraham.varric...@googlemail.com>: > >> Are you aware of anyone using buildbot publicly? > > > S

Re: how to set up jenkin's 'GitHub Pull Request Builder Plugin' for django ?

2016-01-09 Thread Luis Zárate
2016-01-09 3:49 GMT-06:00 Abraham Varricatt < abraham.varric...@googlemail.com>: > Are you aware of anyone using buildbot publicly? Sure, python is an example. See http://trac.buildbot.net/wiki/SuccessStories It has git support -- "La utopía sirve para caminar" Fernando Birri -- You

Re: how to set up jenkin's 'GitHub Pull Request Builder Plugin' for django ?

2016-01-08 Thread Luis Zárate
Do you know buildbot ? http://buildbot.net/ El viernes, 8 de enero de 2016, Abraham Varricatt < abraham.varric...@googlemail.com> escribió: > Hello everyone, > I've attained some success in my endeavor and wanted to talk about it (The following events take place over the past few days). > The

Re: Error: NoReverseMatch at / Reverse for 'submit' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried:[u'$submit'/]

2016-01-04 Thread Luis Zárate
El lunes, 4 de enero de 2016, Víctor Suárez urlpatterns = [ url(r'^', views.index, name='index'), url(r'^submit/(?P\d+)', views.submit, name='submit'), ] Because you have def submit(request, laser_id): escribió: > I don't see a namespace on url.py > > >

Re: There's any framework for "bussiness app (ERP)" built in Django?

2016-01-04 Thread Luis Zárate
I know https://github.com/django-erp/django-erp, but I guest it's not for production yet (see develop branch). 2016-01-04 12:26 GMT-06:00 Fellipe Henrique : > Hello, > > I'm making some research but I don't find any framework for "bussiness > app", like ERP, using django

Re: Working with Django signals

2015-12-31 Thread Luis Zárate
I suggest you to change the user creation form to set the three attributes that you need (Is medical, is physuitherapist, is patient), so in the first form (when you create the user) you will have usernarme, password, Is_medical, is_physuitherapist, is_patient. Take a look -

Re: Display the form errors in the django template with ajax post

2015-12-29 Thread Luis Zárate
I do it like this create a form template (for abbreviation I will use {{form}} form_template.html > {{form}} > in include form_template.html public_contact.html > > > {% include 'form_template.html' %} > > and in the ajax response from django.template.loader import render_to_string

Re: 'CharField' object has no attribute 'model'

2015-12-29 Thread Luis Zárate
I only read the code. I don't know if you refactorize your code, but based in the code above, I think is like this: class QuestionAnswer(models.Model): ... class QuizAttempt(models.Model): ... questions_included = models.ForeignKey(QuestionAnswer) 2015-12-28 22:57 GMT-06:00 Billu

Re: 'CharField' object has no attribute 'model'

2015-12-28 Thread Luis Zárate
I guest the problem is here questions_included = models.ForeignKey(models.QuestionAnswer) Django models haven't QuestionAnswer. El sábado, 26 de diciembre de 2015, Simon Charette escribió: > Hi Billlu, > Does one your model use an ArrayField? > > Le samedi 26 décembre

Re: Migrate django project to eclipse/pydev ide

2015-12-28 Thread Luis Zárate
I use Aptana studio that is an eclipse fork and has pydev include also django is well supported. El miércoles, 23 de diciembre de 2015, Gary Roach escribió: > To your first question, in one word $money. I would love to use PyCharm but I am not a commercial developer

Re: Correct way to do async forms

2015-11-29 Thread Luis Zárate
take a look https://github.com/yceruto/django-ajax -- "La utopía sirve para caminar" Fernando Birri -- 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

Re: Django formtools wizard with variable number of steps?

2015-11-23 Thread Luis Zárate
Did you see this https://docs.djangoproject.com/en/1.7/ref/contrib/formtools/form-wizard/ ? El lunes, 23 de noviembre de 2015, Shawn H escribió: > I'm wondering if I can use django-formtools to accomplish what I want to. I have a License object, with a one to many

Re: Start Django automatically after restarting development system/server in Linux

2015-11-23 Thread Luis Zárate
Why I want to start a debug Django server after restating? I am searching an scenario. El viernes, 20 de noviembre de 2015, vidhi khatri escribió: > Hi friends, > Learn how to start Django automatically after restarting development systems/server in Linux. Share your

Re: Problem of saving and uploading image with DJANGO

2015-11-22 Thread Luis Zárate
And how to call it on the views.py? Create a model form, https://docs.djangoproject.com/en/1.8/topics/forms/modelforms/#module-django.forms.models Lastly, how to display it on html? for instance you can do how should I set them and add in the urls.py? For develop environment static file

Re: Django/Python based webmail

2015-11-20 Thread Luis Zárate
I saw that link, but it very basic. And doesn't have SSL support yet. Here was a big thread about secure mail service based on django months ago, maybe they did open source and it's available on internet El jueves, 19 de noviembre de 2015, Ander Linares < dorregaray.ander...@gmail.com> escribió:

Re: Django on CentOS

2015-11-11 Thread Luis Zárate
Are you install your app as root user? (/root/pizzaclub) The permission denied it's because apache run as www-data or http user not as root, so if you install your app as root you probably have read/write permission problems and a big security issue. 2015-11-11 13:01 GMT-06:00 Robin Fourcade

Re: Dashboard packages?

2015-11-10 Thread Luis Zárate
take a look https://www.djangopackages.com/search/?q=dashboard 2015-11-10 20:47 GMT-06:00 Allison Ahn : > Hi all, > > I'd like to get an idea of what dashboard packages Django developers > prefer or are using instead of the out-of-box admin. > > Al. > > -- > You received

Re: Amazon.com API

2015-10-27 Thread Luis Zárate
This is not a Django question, so I suggest you to search on web and take a look amazon API in Amazon developer's site. El lunes, 26 de octubre de 2015, escribió: > First, I want to know if its possible to search for a product on Amazon.com and before returning the

Re: Importing models from another app?

2015-10-18 Thread Luis Zárate
Is "mysite" in your python path? 2015-10-17 8:26 GMT-06:00 Gergely Polonkai : > How does it fail, what is the error message? My first guess is that you > should omit "mysite" from your import line, but without the exact message > it's hard to tell. > > Best, > Gergely > On

Re: E-commerce

2015-09-24 Thread Luis Zárate
http://oscarcommerce.com/ or https://www.djangopackages.com/grids/g/ecommerce/ 2015-09-24 13:42 GMT-06:00 Paul Savignano : > Hi Django-users, > I am somewhat new to Django and have a client interested in an online > store/e-commerce for their foodservice operation. >

Re: Django admin suitable for external users?

2015-09-23 Thread Luis Zárate
Sure, you could have several admin site with the same models. I read an specific page about how to do that, but right now can remember what is the specific url. Those other links could help you. https://docs.djangoproject.com/en/1.8/ref/contrib/admin/#the-register-decorator

Re: Django admin suitable for external users?

2015-09-23 Thread Luis Zárate
I suggest you to create a custom admin site for your external user where you expose only the models that interact with the external user and create a middleware for forbidden access to the other admin site. 2015-09-23 14:49 GMT-06:00 Bill Freeman : > How technical are your

Re: custom setting provided by myapp

2015-09-23 Thread Luis Zárate
have the possibility to change whatever he want and my app only guarantee that run well most of time. 2015-09-23 12:10 GMT-06:00 Bill Freeman <ke1g...@gmail.com>: > I would be upset to find an app that I installed fiddling with my project > settings. > > On Wed, Sep 23, 2015 at 12:

Re: Reverse for 'post_detail' with arguments '()' and keyword arguments '{'pk': 1}' not found. 1 pattern(s) tried:

2015-09-23 Thread Luis Zárate
;sankarmc...@gmail.com>: > Dear Luis, > > As you said, i tried but can't success. > > Thanks in advance > Sankar B > > On Wed, Sep 23, 2015 at 12:29 AM, Luis Zárate <luisz...@gmail.com> wrote: > >> >> 2015-09-22 12:48 GMT-06:00 sankar vasu <sank

custom setting provided by myapp

2015-09-23 Thread Luis Zárate
Hi, l have an app than need other apps to run well, I create a requirements file and setup file and insert the required apps in my settings, also include my custom configurations. I want to build the settings file automatically (with installer script) or when the user put my app in his

Re: Django 1.8 - It translates or it falls back when it should'nt...

2015-09-23 Thread Luis Zárate
I had the same problem with 1.8, l solved editing with external program called poedit. I don't know why django build wrong po file, but when compile the translation is not complete. El miércoles, 23 de septiembre de 2015, PyMan escribió: > Oh shame on me! I had this

Re: Reverse for 'post_detail' with arguments '()' and keyword arguments '{'pk': 1}' not found. 1 pattern(s) tried:

2015-09-22 Thread Luis Zárate
2015-09-22 12:48 GMT-06:00 sankar vasu : > {{ post.title }} try: {{ post.title }} If not found then check your project url.py , do you have something like urlpatterns = [ url(r'^$', include('myapp.urls') ), ] -- "La utopía sirve para caminar" Fernando

Re: Reverse for 'post_detail' with arguments '()' and keyword arguments '{'pk': 1}' not found. 1 pattern(s) tried:

2015-09-21 Thread Luis Zárate
The error is in the template, please check the url statement inside the template. Or share with ours the template file. El sábado, 19 de septiembre de 2015, sankar vasu escribió: > Hi All, > > I got below error, please advise. please look at the following link:

Django was present in FSD in Costa Rica

2015-09-21 Thread Luis Zárate
Hello everyone. The past week was the Free software day here in Costa Rica (Yes, It was a week of FSD's because it was in different days in different cities), we had 5 different events for this day in different cities. As part of our effort for introduce Django in this country I imparted two

Re: Best way to trigger javascript function when returning a page from django view

2015-09-19 Thread Luis Zárate
In the success method do something like $('myform').reset (); I don't understand well but if you have cache clean it too. El sábado, 19 de septiembre de 2015, Martín Torre Castro < martin.torre.cas...@gmail.com> escribió: > Maybe I should have made the context more clear. > > First of all, we're

Re: Django error report not being sent through email

2015-09-19 Thread Luis Zárate
Your SMTP server are not using TLS or ssl ? El sábado, 19 de septiembre de 2015, Gergely Polonkai escribió: > It belongs to settings.py, as everything else. However, if you haven't overridden it, it should send yeu the emails. Are you sure your e-mail sender settings are set

Re: Multiple model form (not in line) on same page

2015-09-07 Thread Luis Zárate
Hi, Sorry some time ago I saw this project https://github.com/sikaondrej/django-multi-model-form, but now is not found, I did a copy of the code, but it is in spanish, I don't have time to translate this now but can be useful. -- You received this message because you are subscribed to the

Re: What I need to know to be a Django full stack developer?

2015-09-06 Thread Luis Zárate
This is a good reference, thank you and thank you all that answer me. I understand well what is DFS and I will read this guide. El domingo, 6 de septiembre de 2015, Leco leco escribió: > You need this > http://www.fullstackpython.com/web-frameworks.html > > > On Friday, 4

Re: How to make https work fine under django server?

2015-09-05 Thread Luis Zárate
https://www.digitalocean.com/community/tutorials/how-to-run-django-with-mod_wsgi-and-apache-with-a-virtualenv-python-environment-on-a-debian-vps This tutorial could help you. El sábado, 5 de septiembre de 2015, escribió: > I find there are some configuration about using

Re: What I need to know to be a Django full stack developer?

2015-09-04 Thread Luis Zárate
s like > how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-14-04 > <https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-14-04> > . > > On Fri, Sep 4, 2015 at 9:30 AM, Luis Zárate <luisz...@gmail.com>

Re: What I need to know to be a Django full stack developer?

2015-09-04 Thread Luis Zárate
hon), and database (to a lesser extent). You don't necessarily have to be an amazing designer to consider yourself "full stack", but you need to be able to do basic front end layouts and some javascript work. >> On Fri, Sep 4, 2015 at 9:29 AM, Luis Zárate <luisz...@gmail.com> w

Re: Electronic Notebook (ELN)

2015-09-04 Thread Luis Zárate
I don't know if you are looking something like trello (I thing do not), but junctionapps mentioned so i know taiga. If you want something like trello in Django take a look taiga. https://taiga.io/ https://github.com/taigaio 2015-09-04 7:30 GMT-06:00 junctionapps : >

What I need to know to be a Django full stack developer?

2015-09-04 Thread Luis Zárate
Hello everyone, I am looking for a remote job in the web, and in various sites are looking for Django full stack developer. I know several libraries and programs related with Django so I ask me what I need to know to be a full stack developer? I want to learn the tecnologies that I unknow,

Re: How do you access the HTTP data in a view derived from the generic View class?

2015-08-20 Thread Luis Zárate
with request.POST.get("foo", "") or request.POST.getlist("foo", [] ) 2015-08-20 13:58 GMT-06:00 Daniel Grace : > Suppose I have a view as follows: > > from django.views.generic import View > from django.http import HttpResponse > from braces.views import CsrfExemptMixin > >

Re: Time Zone Problem when following on tutorial

2015-08-20 Thread Luis Zárate
install pytz $ pip install pytz In settings USE_TZ = True https://docs.djangoproject.com/en/1.8/topics/i18n/timezones/ And the time_zone is TIME_ZONE = "America/Argentina/Buenos_Aires" More details in

Re: How to insert recent session Username or UserId in database table in Django?

2015-08-19 Thread Luis Zárate
Did you make migrations ? $ python manage.py makemigrations $ python manage.py migrate El miércoles, 19 de agosto de 2015, Remaze Vs escribió: > operationalError at/ > no such column:products_product.User_id > > -- > You received this message because you are subscribed to

Re: Djangocon Costa Rica next year.

2015-08-19 Thread Luis Zárate
I think in two possibilities: 1) Request permission to use the DjangoCon name to the DSF. ¿How can do that? "The only exception to this is the name "DjangoCon", which must not be used without the permission of the DSF;" 2) Change the name to Spanish name like "Conferencias Django" (Django

Djangocon Costa Rica next year.

2015-08-18 Thread Luis Zárate
Hello everyone, I want to organize the first "djangocon Costa Rica" next year, I know it's too soon to speak about this but it's the first time here and it's very important to do it well, so the community and I are planning to start the coordination of the event, we are looking for place and

Re: Static version of a Django website ?

2015-08-18 Thread Luis Zárate
Do you need to do a backup ? (HTTrack , or wget recursive) or you need to migrate to other site? (make a backup from source and database ) you maybe need to collect structed data from the old site, so scrapy ( http://scrapy.org/) can help. 2015-08-14 8:49 GMT-06:00

Re: Efficient Large Binary File Streaming

2015-08-18 Thread Luis Zárate
Did you look here https://www.djangopackages.com/grids/g/charts/ ? 2015-08-16 18:25 GMT-06:00 kanav002 : > This is my first week using Django and version 1.8 in particular. I'm > trying to figure out the best way to stream a raw, large, continuously > growing binary file to a

Re: How to insert recent session Username or UserId in database table in Django?

2015-08-18 Thread Luis Zárate
You need to make a foreignkey to a user. if you have a custom user look here https://docs.djangoproject.com/en/1.8/topics/auth/customizing/#referencing-the-user-model but if it is a simple django authentication use import django.contrib.auth.models import User class Product(models.Model):

Re: modelcluster

2015-08-18 Thread Luis Zárate
This sounds like $ pip install django-modelcluster and maybe put it in the settings file INSTALLED_APPS = ( ... "modelcluster", ... ) This is the repository https://github.com/torchbox/django-modelcluster. it is in github so you can make an issue because this project needs documentation. --

Re: design decision tree survey using django admin interface

2015-07-14 Thread Luis Zárate
I know it is not the answer of your question but for your survey design it is important that you see this links. https://github.com/chrisglass/django_polymorphic https://github.com/django-mptt/django-mptt/ I know that because I did a survey app years ago, but unfortunately it is not free and it

Re: STATIC_URL with thumbnail_url Template Tag

2015-07-10 Thread Luis Zárate
Hi, Stephanie Your are using easy-thumbnails, right? so, are you sure that Pillow are right installed ? http://easy-thumbnails.readthedocs.org/en/latest/usage/ As I see your questions is same that this question http://stackoverflow.com/questions/12956788/how-to-thumbnail-static-files

Django 1.8 feature in 1.7.9?

2015-07-09 Thread Luis Zárate
Maybe you need to uninstall django first, clear pip cache and install again. pip uninstall django==1.7.9 rm ~/.cache/pip/*# or wherever it is pip cache folder pip install django==1.7.9 El jueves, 9 de julio de 2015, Tim Graham escribió: > The consequences of

Re: Búsquedas en una aplicacion

2015-07-07 Thread Luis Zárate
¿Que tipo de búsquedas desea hacer? Si son consultas en la base de datos puede usar el ORM de django para construir la consulta adecuada https://docs.djangoproject.com/en/1.8/topics/db/queries/ Si lo que busca es hacer un buscador para contenido de una página (blog, web page) entonces puede

Re: Push Pics on to Website page?

2015-06-28 Thread Luis Zárate
Take a look this: https://github.com/caioariede/django-location-field 2015-06-28 9:03 GMT-06:00 : > Hi Everyone, > > Within Django is there a module to push picture files, i.e., jpeg, gif, > or an interface to Google's Map.API, onto a web site page? > > Regards, > Hal > >

Re: ModelAdmin.save_as integrity error

2015-06-23 Thread Luis Zárate
Can I see your Substance save method? Maybe there are something wrong. El martes, 23 de junio de 2015, Mike Dewhirst escribió: > I commented out the save() method in the Substance model (the master model with a number of 1:1 and 1:n relationships) and it started saving

Re: Best Queryset Practice

2015-06-22 Thread Luis Zárate
Querysets are lazy, so Model.objects.all().filter(...) execute a same query that Model.objects.filter(...).all() and Model.objects.filter(...). For check this tray in shell str(Model.objects.all().filter(pk=1).query) str(Model.objects.filter(pk=1).all().query)

Re: Errors with django-rest-auth and django-allauth

2015-06-20 Thread Luis Zárate
As say Stephen Butler you need to install django.contrib.sites (it not enable by default) and set SITE_ID = 1 in your settings. Here is the reference: https://docs.djangoproject.com/en/1.8/ref/contrib/sites/#enabling-the-sites-framework -- "La utopía sirve para caminar" Fernando Birri --

Re: Forum app

2015-06-14 Thread Luis Zárate
Those links maybe can help you https://github.com/vicalloy/LBForum https://github.com/nitely/Spirit For more see https://www.djangopackages.com/grids/g/forums/ 2015-06-14 4:32 GMT-06:00 Arindam : > What are the stable forum apps ? > > -- > You received this message

Re: How to test email-verification in django-registration-redux application on localhost?

2015-06-09 Thread Luis Zárate
Put SITE_ID = 1 in your settings file to fix this error 2015-06-09 7:01 GMT-06:00 akshat : > You're using the Django "sites framework" without having set the SITE_ID > setting. Create a site in your database and set the SITE_ID setting or pass a > request to

Re: Where can I find the admin/base_site.html

2015-06-07 Thread Luis Zárate
python -c " import sys sys.path = sys.path[1:] import django print(django.__path__[0] +'contrib/admin/templates/admin/base_site.html')" 2015-06-07 1:18 GMT-06:00 shimanyi valentino : > python -c "import syssys.path = sys.path[1:]import > djangoprint(django.__path__)" > >

Re: No Email field in the User Registration Form

2015-06-06 Thread Luis Zárate
Where is your meta class ? It is not in __init__() function, is it? if it is then problem is there. class Meta: > model = CustomUser > fields = ['email',] > del self.fields['username'] > this is wrong, use exclude in Meta class to remove fields -- "La utopía sirve para caminar" Fernando

Re: how to uninstall the django version

2015-06-06 Thread Luis Zárate
If you do a virtual environment with pip it is easy. $ pip uninstall django 2015-06-02 23:45 GMT-06:00 Siddharth Tanna : > copy the file named django-admin from django folder in c: and paste it in > python folder[root directory] > > -- > You received this message

Re: Help needed for big django project (crm+shop+cms+autoresponder). What apps shall I build on?

2015-06-06 Thread Luis Zárate
Some useful links: 1. CRM system > https://github.com/kunitoki/nublas -> client database > -> ticket system (client communication including sending emails from > backend) > https://github.com/wyldebeast-wunderliebe/mrwolfe https://github.com/rossp/django-helpdesk 2. Shop > ->

Re: Help needed for big django project (crm+shop+cms+autoresponder). What apps shall I build on?

2015-06-06 Thread Luis Zárate
Did you serch for something like this https://www.*odoo*.com/, It is not django but it is in python and released under the AGPL license. If you want to build your software stack based in django then start searching in https://www.djangopackages.com/. 1. *CRM* system -> client database ->

Re: I am pretty Good with Django Now but wondered how to program with python with django

2015-06-06 Thread Luis Zárate
If you want open source IDE maybe aptana is the best option for me. I also usted to progam with ninja ide and eclipse + pydev, but now i use pluma in small projects and aptana in big projects, and obviously django shell and admin commands on console. El lunes, 1 de junio de 2015, James Schneider

Re: Django formset hidden id field

2015-05-29 Thread Luis Zárate
Mmm I am not sure of this but I guest that this number is not a primary key (pk start in 1 not in 0 in postgres and mysql), it is a formset control number used by formset for group fields in the server side ( for create forms in correct order also) El miércoles, 27 de mayo de 2015, Matthias

Re: Gmail oAUTH application for Django

2015-05-26 Thread Luis Zárate
Why don't you use django-allauth? http://www.intenct.nl/projects/django-allauth/ 2015-05-26 7:48 GMT-06:00 Great Avenger Singh : > Hello Django-People, > > I am writing a Gmail oAuth2 application with Django so one can login to > Gmail. (I have Desktop Python script

Re: Migrating from sqllite3 to postgres

2015-05-25 Thread Luis Zárate
Mmm probably you are looking for export /import data in django. For export : python manage.py dumpdata --format=json myapp > data.json For import: python manage.py loaddata data.json See https://docs.djangoproject.com/en/1.8/ref/django-admin/#loaddata-fixture-fixture El lunes, 25 de mayo de

Re: How to use unlocalize in views

2015-05-25 Thread Luis Zárate
Set in yours Settings USE_I18N = FalseUSE_L10N = False See: https://docs.djangoproject.com/en/1.8/ref/settings/#use-i18n 2015-05-25 7:01 GMT-06:00 : > Hello guys! > > Is there a way to use unlocalize in views? I know that I can use this in > template ( >

<    1   2   3   >