Re: Graphing (Pie Chart, Bar Graphs, Line Plots, etc) in Django?

2009-07-16 Thread carlos
yes man a have various for example : [1] pygooglechart, [2] PyOFC2, and library [3] ReportLab [1]. http://pygooglechart.slowchop.com/ [2]. http://btbytes.github.com/pyofc2/ [3]. http://www.reportlab.org/ good luck 2009/7/16 Keith Pettit > What is the best way to create Pie Charts, Bar Graphs, L

Re: Django ORM - Table Changes

2009-09-10 Thread carlos
ok only comment is you use django_evolution http://code.google.com/p/django-evolution/ "When you run ./manage.py syncdb, Django will look for any new models that have been defined, and add a database table to represent those new models. However, if you make a change to an existing model, ./manage.

Re: amCharts and Django

2009-06-14 Thread carlos
someone working with graphs statistic withs Django for examples PyOFC2, GChartWrapper, pygooglecahrt, but have one example with retrieve data of the databases or something that explains how to do thanks 2009/6/13 Travis Jensen > Anybody using amCharts with Django? I'd like to be able to hook t

Problem_Inline_max_num

2010-05-10 Thread carlos
Hola, tengo un problema con django 1.2 rc 1 en los Inline bueno paso a explicarles, antes en la version 1.1.1 cuando colocaba un max_num = 20 me los pintaba bien ahora que pongo max_num = 9 me los pinta bien pero una ves que sobrepaso ese valor no funciona algo esta pasando con la version de 1.2 rc

Re: root_path in admin sites is None

2010-06-23 Thread carlos
i have the same problem i fixed: in urls.py root proyect before: ('^admin/(.*)', admin.site.root), after: (r'^admin/', include(admin.site.urls)), it work good now!!! bye 2010/6/23 Filip Gruszczyński > After migrating to 1.2 I encountered a problem in admin panel. My > change password ang logo

Re: Django IDE

2010-08-03 Thread carlos
I use Gedit, but when I get bored using the same vim cheer On Sun, Jul 18, 2010 at 5:39 PM, Fabian Ezequiel Gallina wrote: > 2010/7/18 Roald de Vries : > > > > Comparison of VIM and Emacs (what I've read): > > - Emacs is monolithic (does everything, for example includes shell), VIM > is > > uni

Re: choices in model field error

2010-02-21 Thread carlos
hi copy de code in first line your models.py or views.py # -*- coding: UTF-8 -*- bye :) On Thu, Feb 18, 2010 at 7:55 PM, Karen Tracey wrote: > On Thu, Feb 18, 2010 at 11:18 AM, hooda_28 wrote: > >> hi im having a problem for about an hour now, i have a model >> >> class Dummy(models.Model):

Re: SQL query to django

2021-10-09 Thread carlos
he web visit > https://groups.google.com/d/msgid/django-users/CABxpZHsysRxgE9bn9c9naLY%2BtWmKRfwpr%2BUsMYiAV_ZcPC_3Hw%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CABxpZHsysRxgE9bn9c9naLY%2BtWmKRfwpr%2BUsMYiAV_ZcPC_3Hw%40mail.gmail.com?utm_medium=email&utm_source=foo

Re: Django Chat Application

2021-11-29 Thread carlos
t; <https://groups.google.com/d/msgid/django-users/fe61e07a-732d-46f4-ac59-ab3c6fae19f5n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- att. Carlos Rocha -- You received this message because you are subscribed to the Google Groups "Django users" g

Re: Developing django apps in jupyter

2021-11-29 Thread carlos
s" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAO-vjEQ1Z-NPsTT_nQkyrX272qOi81q%3Dkq3DmcO1GVTMhiUb4w%40

Re: INSTALACION PYTHON / DJANGO EN DEBIAN

2022-07-11 Thread carlos
t > https://groups.google.com/d/msgid/django-users/CAOZHYKNbaWqdxXT%2B7atp6nESd7k%3DDQaugRDUtbtHPD-N%2BqKgFA%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAOZHYKNbaWqdxXT%2B7atp6nESd7k%3DDQaugRDUtbtHPD-N%2BqKgFA%40mail.gmail.com?utm_medium=email&utm_source=footer> > .

Re: Sockets

2022-07-20 Thread carlos
g emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAE0sOGw%2BQR9NUHv26GCD95hS%2Btpn678cYUASGnaiz3rKkoJRUg%40mail.gmail.com > <https://groups.google.com/d/msgid/dja

Re: Chat app using django

2022-07-20 Thread carlos
. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to django-users+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/CAA3DN%3DUbifEnMGUKpTYGeMWKuaB%2BmpM0-tBwM27CZ

Re: Mobile App

2022-09-04 Thread carlos
lt;https://groups.google.com/d/msgid/django-users/CAL8t8eqZap1_4kPKuMWovWWtPUVHZN7TFnLqgX7K3Om4cg8Npg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- att. Carlos Rocha -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe fro

Re: Filter by date range

2022-09-09 Thread carlos
rom it, send an > email to django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CADYG20Go5PXJRP-MGJ07M36ftSaQ6WJVjYg_p4UYB9UUWge-LA%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CADYG

Re: Filter by date range

2022-09-10 Thread carlos
;fromdate' and 'todate'? >> >> On Sat, 10 Sept 2022 at 13:27, tech george wrote: >> >>> Hello Carlos, >>> >>> I have used the code below as you advised by when I filter the table >>> comes blank: >>> >>> query_results

Re: Single Sign On in Django

2022-11-10 Thread carlos
oglegroups.com?utm_medium=email&utm_source=footer> > . > -- att. Carlos Rocha -- 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+unsub

Re: sso using django

2023-02-11 Thread carlos
gle.com/d/msgid/django-users/1d2d0aae-a9e7-4da0-b4b5-3af333537aefn%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/1d2d0aae-a9e7-4da0-b4b5-3af333537aefn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- att. Carlos Rocha -- You received this message be

Re: I need to create account using sso Google in Django rest framework Amy suggestions?

2023-05-04 Thread carlos
to django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/e1fb705e-759b-126a-152c-cc5625d31e50%40stacktrace.dk > . > -- att. Carlos Rocha -- You received this message because you are subscribed to the

Re: how to convert to Django 3 or 4

2023-06-02 Thread carlos
django-users/8f8a68b4-a3c5-a10d-8246-2ef41635b406%40jfcomputer.com > <https://groups.google.com/d/msgid/django-users/8f8a68b4-a3c5-a10d-8246-2ef41635b406%40jfcomputer.com?utm_medium=email&utm_source=footer> > . > > > > -- > Signed email is an absolute defence against ph

Re: Slow Performance of Django Web App

2023-06-11 Thread carlos
; To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/d32868ba-a2df-41e3-8f41-3ecc3c1b3471n%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/d32868ba-a2df-41e3-8f41-3ecc3c1b3471n%40googlegroups.com?utm_medium=email&utm_source=footer&

nested inline help

2012-09-24 Thread carlos
Hi, all which is the best way to create nested inline in the Django admin? i use the stable version 1.4.1 thx -- 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 f

Re: Django on Bluehost

2012-09-24 Thread carlos
I configure many project in bluehost the ways i use is put the code in dir home for example /home/user/projects/mysite in /home/user/public_html/django.fcgi and .htaccesss and the content is: django.wsgi #!/home3/user/bin/python import sys, os sys.path.insert(0,"/home3/user/projects/mysite") fro

Re: eCommerce Solutions

2012-09-25 Thread carlos
Hi, maybe try with http://mezzanine.jupo.org/ and http://cartridge.jupo.org/ cheer, On Tue, Sep 25, 2012 at 2:57 PM, T.J. Simmons wrote: > Hi all, > > I've got a store I need to get up and running in just over a month. I'm > trying to pick an eCommerce solution but there just seems to be a lack

Re: eCommerce Solutions

2012-09-25 Thread carlos
noup :( sorry only try use mezzanine cms!! On Tue, Sep 25, 2012 at 7:30 PM, T.J. Simmons wrote: > Thanks Carlos, I meant to include Cartridge in my list - potentially > instead of Plata, actually. Do you have any experience with it? > > On Tue, Sep 25, 2012 at 4:38 PM, carlos wr

Re: connecting to existance mysql

2012-10-09 Thread carlos
first https://docs.djangoproject.com/en/dev/howto/legacy-databases/#auto-generate-the-models cheer On Tue, Oct 9, 2012 at 10:02 AM, Lee Hinde wrote: > On Tue, Oct 9, 2012 at 8:58 AM, Lewis wrote: > > Hello, > > I have website that build in php and have the database exists, what is > the > > pr

Re: admin geodjango geometry and googlemaps v3

2012-10-09 Thread carlos
i thing the geodjango use openlayer. cheer On Tue, Oct 9, 2012 at 1:58 PM, NiL wrote: > Hi list, > > googlemaps v2 is deprecated @ google. I'm trying to use the googlemap's > flavor of GeoAdmin, but to no luck. > > The code inside django.contrib.gis.maps.google.GoogleMap refers to the v2 > of t

Re: django autocomplete search with jQuery

2012-11-05 Thread carlos
Hi i found in google http://code.google.com/p/django-autocomplete/ and other autocomplete for complete selects https://github.com/digi604/django-smart-selects i thing the first help you cheers On Sun, Nov 4, 2012 at 2:25 PM, Serena wrote: > Hello, how are you? I am new to Django and I have li

Re: Installing PyBB

2012-11-20 Thread carlos
read de documentation http://packages.python.org/pybb/ or send mail for the author :/ cheers On Tue, Nov 20, 2012 at 11:15 AM, Yogev Metzuyanim wrote: > Hi > I intalled PyBB with easy install, after adding it to the INSTALLED_APPS, > i run syncdb an

Re: I want to learn programming and codes !

2012-11-21 Thread carlos
example http://lightbird.net/dbe/ good tutorial Cheers On Wed, Nov 21, 2012 at 10:02 AM, Jonathan Baker < jonathandavidba...@gmail.com> wrote: > I would start with Django 1.3 and the following tutorial: > http://www.djangobook.com/en/2.0/index.html > > Cheers, > Jonathan > > > On Wed, Nov 21, 20

Re: How to config my django project to use tastypie and mongoengine

2012-11-26 Thread carlos
well mongodb actually no run en django core, but exist other alternative https://github.com/django-nonrel/django-nonrel and http://django-mongodb.org/ Cheers On Sun, Nov 25, 2012 at 3:19 AM, Chanh Le wrote: > In the settings.py > import mongoengine > mongoengine.connect('cooking') > AUTHENTIC

Re: _set.all in template should be simple, wood and trees maybe?

2012-11-29 Thread carlos
{% for x in list %} {{x.text}} {% for t in x.hot_topic_set.all %} {{ t.topic }} {% endfor %} {% endfor %} try only erase the if tag work for me !! On Thu, Nov 29, 2012 at 9:17 AM, MikeKJ wrote: > Good question, I have attempted to shell the problem out and no I dont get

Re: User permisions

2012-12-06 Thread carlos
https://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.save_model On Thu, Dec 6, 2012 at 8:18 AM, Javier Guerra Giraldez wrote: > On Thu, Dec 6, 2012 at 8:44 AM, Mārtiņš Jakubovičs > wrote: > > I have app "items" and in admin page I create two users with permisi

Re: invalid syntax inside urls.py

2012-12-18 Thread carlos
and coma before url admin !!! Cheers On Tue, Dec 18, 2012 at 3:32 PM, Chris Cogdon wrote: > Need a comma between the view name, and {'queryset...' and your > parenthesis are not nested properly. > > > On Tuesday, December 18, 2012 12:19:24 PM UTC-8, maiquel wrote: >> >> 'm trying to do the fol

Re: Layered Dropdown List

2012-12-24 Thread carlos
maybe this app help you https://github.com/digi604/django-smart-selects Cheers On Mon, Dec 24, 2012 at 10:47 AM, Xavier Ordoquy wrote: > Hi, > > Le 24 déc. 2012 à 08:43, CodingDaddy a écrit : > > I would like to ask your advice on how I can implement layered dropdown > list. > Let's say I have

Re: alternate way for nested inline in django admin

2012-12-31 Thread carlos
it no posible nested inline in django !! On Sat, Dec 29, 2012 at 10:36 AM, Nikhil Verma wrote: > Hi All > > Can somebody explain me the workaround for this ticket 9025. I want to > nested inlines in my django admin > explained below. > > Thanks in advance > > On Fri, Dec 28, 2012 at 10:54 PM, Ni

Re: When I set DEBUG=False, my 404.html doesn't appear

2012-12-31 Thread carlos
you need read this https://docs.djangoproject.com/en/dev/topics/http/views/#the-404-page-not-found-view Cheers On Sat, Dec 29, 2012 at 12:43 PM, nimesh ghelani wrote: > Can you post the shell output when 404 occurs along with the TEMPLATE_DIRS > part of settings.py? > > > On Saturday, December

Re: mod_wsgi performance problem

2013-01-07 Thread carlos
maybe try deploy with gunicorn and nginx http://gunicorn.org/ http://wiki.nginx.org/Main Cheers On Mon, Jan 7, 2013 at 1:01 AM, Aaron C. de Bruyn wrote: > Without knowing a bit more about your setup it would be difficult to give > any meaningful advice. > > Are you running Apache under Windows

Re: Please explain this django admin code

2013-01-25 Thread carlos
excellent explanation did not know anything about it thank Russ :) On Fri, Jan 25, 2013 at 9:08 AM, Russell Keith-Magee < russ...@keith-magee.com> wrote: > > > On Fri, Jan 25, 2013 at 10:36 PM, Tundebabzy wrote: > >> I'll be really grateful if someone can take the time to explain these >> line

Re: PHP vs Django

2013-01-28 Thread carlos
Hi man learn both or not more lenguages: python,ruby,php,javascript and them framework Django, ruby on rails, symfony2,nodejs, etc etc. Not only one XD Cheers :) On Sun, Jan 27, 2013 at 9:58 PM, Edwin Lunando wrote: > Although, your question is out of topic, let me share my experience. Most > o

Re: How to use django Cooment framework

2013-01-28 Thread carlos
Hi you read the doc. https://docs.djangoproject.com/en/dev/ref/contrib/comments/ https://docs.djangoproject.com/en/dev/ref/contrib/comments/custom/ :) On Mon, Jan 28, 2013 at 11:13 AM, Sarfraz ahmad wrote: > good evening friends > > i m a new django user, i want to implement comment framework

Re: inspectdb option and DJango normal operations

2013-02-01 Thread carlos
yes and not why syncdb create a other tables for example auth, content_type etc and inspectdb only tables databases old Cheers On Thu, Jan 31, 2013 at 12:03 PM, wrote: > If I use the inspectdb command to create models.py file from existing > database schema would it function the same way as if

Re: Automating deployments

2013-02-04 Thread carlos
le.cc/ > >> > >> Other popular choices are puppet and chef. The real benefit. Is that > >> these tools let you version control your configurations. > >> > >> Sent from my iPhone > >> > >> On Feb 1, 2013, at 7:46 PM, Carlos Aguilar

use app_label

2013-02-11 Thread carlos
Hi I have an app called myapp within my models eg class Foo(models): fields1 = models(blabla) fields2 = models(blabla) class Meta: verbose_name = "Foo model" app_label = 'candy' db_table = 'myapp_foo' class Bar(models): fields1 = models(blabla) fields2

Re: A query question

2013-02-26 Thread carlos
Hi, maybe use DateField__range(date1,date2) Cheers On Tue, Feb 26, 2013 at 5:43 AM, ozgur yilmaz wrote: > Hi all, > > I have to build a query, if possible an inexpensive query: > > Model A: > ... > ... > > Model B: > ForeignKey( Model A ) > Date > ... > > Model B is an activity with a date fie

Re: A query question

2013-02-26 Thread carlos
( kisi__in = b_objects ) > > Is it enough? > > 2013/2/26 carlos : > > Hi, maybe use DateField__range(date1,date2) > > > > Cheers > > > > > > On Tue, Feb 26, 2013 at 5:43 AM, ozgur yilmaz wrote: > >> > >> Hi all, > >> &g

Re: Problem UserAdmin with GenericStackedInline in Django 1.5c2

2013-02-27 Thread carlos
Hi maybe you forget this # Re-register UserAdminadmin.site.unregister(User)admin.site.register(User, UserAdmin) https://docs.djangoproject.com/en/1.5/topics/auth/customizing/#extending-the-existing-user-model On Wed, Feb 27, 2013 at 2:35 AM, Witold Greń wrote: > Hi, I have a problem UserAdmi

Re: 1.5 custom user model: Add User with default UserCreationForm results in "no such table: auth_user"

2013-02-27 Thread carlos
check the docu https://docs.djangoproject.com/en/1.5/topics/auth/customizing/#custom-users-and-the-built-in-auth-forms Cheers On Wed, Feb 27, 2013 at 1:15 PM, Eric Psalmond wrote: > Hi everyone, > > After a bit of searching I didn't find an answer to this issue, so I > thought I'd post here an

Re: Daemonize django server

2013-02-28 Thread carlos
you try http://gunicorn.org/ is fast and easy to deploy Cheers On Thu, Feb 28, 2013 at 1:22 PM, Tim Johnson wrote: > * Josh Cartmell [130228 09:48]: > > This (http://software.clapper.org/daemonize/) may do what you want and > > can be installed with homebrew on a mac, but if this is in any wa

Question modelformset_factory with initial values

2013-03-07 Thread carlos
Hi is posible fill forms with initial values for example -- models.py - class Model1(models.Model): field1 = models.CharField() field2 =models.CharField() CHOICE_ONE = ( (1,'one'), (2, 'two'), (3, 'three'), (4, 'four') ) class Model2(models.Model):

Re: Question modelformset_factory with initial values

2013-03-08 Thread carlos
Thanks Tom you were right but I had several mistakes and resolved to thank you very much :) Cheers On Fri, Mar 8, 2013 at 8:56 AM, Tom Evans wrote: > On Fri, Mar 8, 2013 at 4:42 AM, carlos wrote: > > > > Hi > > is posible fill forms with initial values for example >

Re: ModelForm not creating datepicker

2013-04-02 Thread carlos
yes that is correct maybe you want to use a datepicker http://jqueryui.com/datepicker/ Cheers On Tue, Apr 2, 2013 at 5:14 PM, Nick D wrote: > Hi all, > > I've created a ModelForm and am attempting to use it, but all of my date > fields are coming up with type "text" instead of a datepicker. C

Re: Django queryset 'in' operator on two querysets fails on first call

2013-04-10 Thread carlos
maybe need read de docu https://docs.djangoproject.com/en/1.5/ref/models/querysets/#select-related Cheers On Wed, Apr 10, 2013 at 7:26 AM, bradley griffiths < bradley.griffi...@gmail.com> wrote: > Cross posted from: stack > overflow

Re: Upload Image

2013-04-19 Thread carlos
Hi se this code * fnewdoc = Document(docfile = request.FILES['docfile'])* * newdoc.save()* * * *diferent name fnewdoc != newdoc* * * *Cheers* On Fri, Apr 19, 2013 at 10:31 AM, Hélio Miranda wrote: > Been changing and now have the following code: > > Models.py: > *class Document(models.Model):*

Re: Upload Image

2013-04-19 Thread carlos
try this minimun changed = views === def index(request): if request.method == 'POST': form = DocumentForm(request.POST, request.FILES) if form.is_valid(): form.save() return HttpResponseRedirect('/') else: form = DocumentForm() re

Re: Fetching data from related tables

2013-05-10 Thread carlos
Hi maybe try with this app https://github.com/digi604/django-smart-selects Cheers On Thu, May 9, 2013 at 4:33 PM, Sam wrote: > I have 3 tables: Continent, Country and Story. > > Country has ForeignKey(Continent) and Story has ManyToManyField(Country, > blank=True) field. > > What I need is to

is possible to store a value of a field in a proxy model

2013-06-10 Thread carlos
Hi is possible to store a value of a field in a proxy model I explain how models are class Model1(models.Model): title = models.Charfield(blabla) class Model2(models.Model): name = models.CharField(blabla) fk_field = models.FK(Model1) and then important thing class ItemModel(Model1

how could I get the instance of a proxy model

2013-06-12 Thread carlos
for example class ModelA(models.Model): field1 = charfield () field2 = charfield () field3 = charfield () def create_itemmodel (sender, instance, created, ** kwargs): print "here my class", instance class ItemModel(ModelA): class Meta: proxy = True signals.post

Re: Select2Multiple with list_filter :(

2013-06-25 Thread carlos
Hi maybe help you try this snippets http://djangosnippets.org/snippets/1758/ Cheers On Tue, Jun 25, 2013 at 6:21 AM, Jesús Lucas Flores wrote: > Hi i am looking for a thirth package for a usual funcinality : I want > filter for multiple values with list_filter for django admin but I can't . > (

Re: Django automatically formatting ints with commas, bug?

2013-06-27 Thread carlos
try this https://docs.djangoproject.com/en/dev/ref/settings/#decimal-separator Cheers On Thu, Jun 27, 2013 at 7:32 PM, Stryder Crown wrote: > Any body know why django would format an integer as a comma seperated > value? i.e. 1578 becomes 1,578? > No, I'm not using humanize and only loading i

Re: django graphics

2013-07-10 Thread carlos
Hi the other library js for graphis is http://www.flotcharts.org/ On Wed, Jul 10, 2013 at 9:17 AM, pa xapy wrote: > why you do this with django? > there so many js libraries > i think that for the web purposes its best solution than generate graphics > with python. > personally, i'm using the h

Re: form.errors

2013-07-11 Thread carlos
try this with django 1.5.1 from django.shortcuts import render def register_page(request): if request.method == 'POST': form = RegistrationForm(request.POST) if form.is_valid(): form.save() return HttpResponseRedirect('/register/success/') else:

Re: New to django, trying to implement a comment system, and rather uncertain about how to go about it

2013-07-15 Thread carlos
Hi ben you are try with this app http://disqus.com/ or you can use comment contrib app read this tutorial http://lightbird.net/dbe/blog.html#comments Cheers On Mon, Jul 15, 2013 at 2:52 PM, Ben Spatafora wrote: > Okay, I'm pretty new to django (and coding in general), so please bear > with me.

Re: Python 2.7 + Django 1.4 + apache 2.4

2013-07-15 Thread carlos
where is the error ?? On Mon, Jul 15, 2013 at 5:11 PM, maiquel wrote: > How to set up django on Apache > > I'm using django 1.4 > and apache 2.4 > and Python 2.7 > My configuration is well > > in httpd.conf > > WSGIScriptAlias / C :/ xampp / htdocs / My_blog / My_blog / wsgi.py > WSGIPythonPath

Re: Django Signal DataBase Change on Template

2013-08-01 Thread carlos
Hi if you need create app for real time try this app can help you https://github.com/stephenmcd/django-socketio or find other app https://www.djangopackages.com/grids/g/websockets/ Cheers On Thu, Aug 1, 2013 at 10:59 AM, wrote: > Hi, > > Flot is your friend. Http://flotgraphs.org > > > > > Sen

Re: django ajax jquery

2013-08-15 Thread carlos
Hi maybe you need find in google.com for example http://fromzerotocodehero.blogspot.com/2011/01/django-ajax-tutorial-part-1.html I think there are more tutorials Cheers, On Thu, Aug 15, 2013 at 6:09 AM, Scheck Nyori wrote: > Hello! > I am a noob in web development. Just finished polls tuts.

Re: Any Tutorials on Django similar to Web2py ????????????????

2013-08-20 Thread carlos
https://docs.djangoproject.com/en/1.5/intro/tutorial01/ Cheers On Tue, Aug 20, 2013 at 9:57 AM, JAI PRAKASH SINGH < jaiprakashsingh...@gmail.com> wrote: > Any Tutorials on Django similar to Web2py > > -- > You received this message because you are subscribed to the Google Group

Re: New field in django

2013-09-08 Thread carlos
Hi try this ./manage.py convert_to_south myapp # if your app exist try read the doc http://south.readthedocs.org/en/latest/convertinganapp.html#converting-an-app Cheer, On Sun, Sep 8, 2013 at 11:29 PM, Xavier Ordoquy wrote: > Hi, > > The message is: "Table 'tcc_report' already exists" > > This

Re: Resize image size in the view

2013-09-10 Thread carlos
Hi you try use http://sorl-thumbnail.readthedocs.org/en/latest/ is good Cheers On Tue, Sep 10, 2013 at 10:53 PM, Robin Lery wrote: > Hello, > I have been trying to achieve thumbnail for the uploaded images, but it > just don't seem to resize the image on the apache server when the page is > lo

Re: Resize image size in the view

2013-09-11 Thread carlos
at 12:26 AM, Robin Lery wrote: > Yes, same here. That's why I was asking, whether there's a way to call the > resize image in the view. > > > On Wed, Sep 11, 2013 at 11:55 AM, Karl Arunachal < > kakararunachalserv...@gmail.com> wrote: > >> Hello Carlos!

Re: Receive parameter via post

2013-09-19 Thread carlos
Hi, try in the views: print request.POST['id'] for see de value cheers, On Thu, Sep 19, 2013 at 7:25 AM, Hélio Miranda wrote: > Good. > I have my client application server, and was trying to send an id > parameter via a post like this: > $scope.deleteIMG = function(ID){ > $http({ > method: 'P

Re: Multiple versions of Django

2013-09-30 Thread carlos
Hi, uwsgi is too good option http://uwsgi-docs.readthedocs.org/en/latest/ and nginx with virtualenv On Mon, Sep 30, 2013 at 11:45 AM, Peter Herndon wrote: > I would suggest using separate virtual environments, each with gunicorn ( > http://gunicorn.org/) installed into the venv. Run gunicorn li

Re: Defining new project as a service at nignx

2013-10-14 Thread carlos
Hi you need read this http://wiki.nginx.org/ServerBlockExample http://wiki.nginx.org/DjangoFastCGI Cheers On Mon, Oct 14, 2013 at 11:17 AM, Muhammed TÜFEKYAPAN wrote: > Hello everybody, > > > I use digitalocean as a server. I upload my django project files on my > server and start to setup.

Re: Defining new project as a service at nignx

2013-10-15 Thread carlos
Hi maybe you need use supervisord http://supervisord.org/ Cheers On Tue, Oct 15, 2013 at 3:12 AM, Muhammed TÜFEKYAPAN wrote: > Hello everyone, > > Yes I know that but now my problem is our new project doesn't seen on > services list and so I can't start it. > > I use gunicorn. > > How can I mad

Re: [ANNOUNCE] Django 1.8 alpha 1 released

2015-01-21 Thread carlos
Fabio yes i see https://docs.djangoproject.com/en/dev/releases/1.8/#management-commands - inspectdb now introspects database views on all database backends. In previous versions, only tables (not views)

Re: Using jquery ajax POST method with django

2015-01-21 Thread carlos
if you comment middleware csrf this is a risk security problem in your app maybe you need read this part of documentation https://docs.djangoproject.com/en/1.7/ref/contrib/csrf/#ajax Cheers On Sat, Jan 17, 2015 at 10:44 PM, Hossein Rashnoo wrote: > I correct my code and it's worked. Thank you

Re: Django: How to customize the admin form for specific model

2015-02-03 Thread carlos
Hi, in addition Collin answer you need use sorl-thumbnail in show picture in admin http://sorl-thumbnail.readthedocs.org/en/latest/examples.html#admin-examples Cheers On Tue, Jan 27, 2015 at 2:11 PM, Collin Anderson wrote: > Hi, > > You could have the images be inline: > > class CommentImageInl

help with this show data in template

2015-02-12 Thread carlos
Hi, i don't know show my data in template ok explain my models models.py class Country(..): name = charfield... def __unicode__(..) return self.name class Gender(..): name = charfield... def __unicode__(..) return self.name class Player(..): country = FK(countr

Re: Read a csv file and save data in postgresql

2015-02-24 Thread carlos
or maybe used this app, in the admin https://github.com/bmihelac/django-import-export Cheers On Tue, Feb 24, 2015 at 7:57 PM, Kelvin Wong wrote: > Looking at your code, maybe this one is better > > https://pypi.python.org/pypi/unicodecsv/0.9.4 > > This thing will make a dict, which you can mak

best way change template base my app

2015-05-13 Thread carlos
Hi, is posible change my base template with if tag example: {% if request.session.type = '1' %} {% extends "base.html"%} {% else %} {% extends "base_other.html"%} {%endif%} i have a error like that TemplateSyntaxError at /monito/cult/ Invalid block tag: 'endif' will to do change the ba

Re: best way change template base my app

2015-05-14 Thread carlos
ml > {% extends base %} > > if you need it on every template maybe you should use a context processor > to define your base variable. > > 2015-05-13 15:11 GMT-03:00 carlos : > >> Hi, is posible change my base template with if tag >> example: >> >> {% if requ

Re: Add multiple objects of same model at the same time in admin

2015-06-15 Thread carlos
= ModelB extra = 1 class ModelAAdmin(admin.ModelAdmin): inlines = [ModelBInline] admin.site.register(ModelA, ModelAAdmin) Cheers On Sun, Jun 14, 2015 at 1:08 AM, Carlos Arturo Sanchez Rivera < ing.c...@gmail.com> wrote: > It is easier with decorators > > @admin.re

Re: Serving static files from another directory rather than "statics"

2014-07-07 Thread carlos
Hi, maybe you need use this third party solution http://django-compressor.readthedocs.org/en/latest/ and other is https://django-pipeline.readthedocs.org/en/latest/ Cheers On Mon, Jul 7, 2014 at 5:58 PM, Chen Xu wrote: > Hi Everyone, > I am working on a site, under my project in my local envi

MultiValueDictKeyError in Django admin edit inline generic model

2014-07-09 Thread carlos
Hi, i have this error when i edit the data, is similar error the next link http://stackoverflow.com/questions/19741314/multivaluedictkeyerror-in-django-admin but the only different is i use generic relation, this is my models.py class Photos(models.Model): name = models.CharField(max_length=150)

Re: MultiValueDictKeyError in Django admin edit inline generic model

2014-07-09 Thread carlos
Hi, me again :) i forgot mention a use the latest release django 1.6.5 and python 2.7.5 any help or tips? thank. On Wed, Jul 9, 2014 at 9:38 PM, carlos wrote: > Hi, i have this error when i edit the data, is similar error the next link > > > http://stackoverflow.com/questi

Re: Recommendation/alternative for multi-tenancy under django

2014-07-18 Thread carlos
Hi, Subodh right now i find information for multi-tenant project in django and see this app, i never used only i read information for the future project. https://github.com/bernardopires/django-tenant-schemas maybe help you. Cheers On Fri, Jul 18, 2014 at 6:56 PM, Mike Dewhirst wrote: > On 1

Re: asyncio integration /benefits & performance

2014-07-29 Thread carlos
If you need real time application i thing you need read about gevent http://www.gevent.org/ other lecture is socketio and exit third app django https://github.com/stephenmcd/django-socketio and here other thing http://www.pixeldonor.com/2014/jan/10/django-gevent-and-socketio/ Cheers On Tue, Jul

Re: Django package to convert Less to CSS

2014-07-29 Thread carlos
https://pypi.python.org/pypi/lesscss Cheers On Tue, Jul 29, 2014 at 3:27 PM, Chen Xu wrote: > Hi, Everyone > I am wondering is there a good django package that can convert less file > into css file? > > > Thanks > > > -- > ⚡ Chen Xu ⚡ > > -- > You received this message because you are subscrib

Re: Django 1.7 - What are you most excited about?

2014-07-29 Thread carlos
Hi maybe you need read the release note Django 1.7 about the new features https://docs.djangoproject.com/en/dev/releases/1.7/ Cheers :) On Tue, Jul 29, 2014 at 7:31 PM, Ryan Blunden wrote: > Hi everyone, > > I'm giving a lightening talk at the San Francisco Django meetup tomorrow > night about

Re: writing simple forms

2014-07-29 Thread carlos
Hi, this is for you https://docs.djangoproject.com/en/dev/topics/forms/ Cheers On Tue, Jul 29, 2014 at 8:52 PM, Dtr Prasad wrote: > I want write simple forms like file uploading,sesion tracking using python > modules. > How can it be done through Django,does not require model > > > > > > > > >

Re: wysiwyg image manager suggestions

2014-08-20 Thread carlos
Maybe you try django-ckeditor-updated https://pypi.python.org/pypi/django-ckeditor-updated On Wed, Aug 20, 2014 at 9:13 AM, wrote: > Any suggestions on a wysiwyg editor for Django that will allow: > >- browser images and insert image in wysiwyg >- upload image to server to user specif

Re: Query parameters in the URL, with REST Framework

2014-09-09 Thread carlos
Hi, maybe you need read documentation about filtering http://www.django-rest-framework.org/api-guide/filtering Cheers On Mon, Sep 8, 2014 at 1:41 PM, Elio Gerson Clímaco Herrera < elioclim...@gmail.com> wrote: > Hi, everybody. > > I, stared using *REST Framework*

Change GFK to FK

2014-09-28 Thread carlos
Hi, is posible to change GenericForeingnKey to ForeignKey without losing data? any link to explain the trick? I have an old application with GFK but now I want to FK moment but I will not lose data this is example my models old and below the new models http://pastebin.com/ym6Scrmd Cheers --

Re: Change GFK to FK

2014-09-29 Thread carlos
Hi, ok my questions is how to create a data migration, populating the FK data??. my old data no have fk only content_type and object_id for my relations with my class ModelMain, if fk = object_id?? or content_type? thank On Mon, Sep 29, 2014 at 6:23 AM, Tom Christie wrote: > You'll probably w

help with idea

2014-10-03 Thread carlos
Hi i need have this in my views! but not working dicc_one = {'string1': 'fieldsFK__total_one__gt=0', 'string2': 'fieldsFK__total_two__gt=0', 'string3': 'fieldsFK__total_three__gt=0', 'string4': 'fieldsFK__total_four__gt=0', } r

Re: help with idea

2014-10-06 Thread carlos
Collin thank so much really help me! Cheers On Sat, Oct 4, 2014 at 11:09 AM, Collin Anderson wrote: > If you change how your dictionary is formatted, it can be much easier: > dicc_one = { > 'string1': {'fieldsFK__total_one__gt': 0}, > 'string2': {'fieldsFK__total_two__gt': 0}, > 'st

Re: VIdeo Lectures ?

2014-10-06 Thread carlos
i thing this good places for learn django http://gettingstartedwithdjango.com/ Cheers On Mon, Oct 6, 2014 at 8:29 AM, Julo wrote: > Godjango.com !! > Really cool videos! > -- > *From: * rishabh yadav > *Sender: * django-users@googlegroups.com > *Date: *Mon, 6 Oct 20

Re: Django 1.7 User login via Email or Username

2014-10-16 Thread carlos
Hi, you see the full example in docs https://docs.djangoproject.com/en/1.7/topics/auth/customizing/#a-full-example Cheers On Wed, Oct 15, 2014 at 2:52 AM, monoBOT wrote: > You can implement an alternative authentication backend like so: > > *on your settings:* > > AUTHENTICATION_BACKENDS = ( >

how to update data in FK fields another Model

2014-10-16 Thread carlos
Hi, i need update a fields the other model i have FK relation ok this is my code ModelA(models.Model): name=charfield(...) field_count = integerfield() . ModelB(models.Model): fk_name = FK(ModelA, related_name='models_a') # other fields def save(self, *args, **

Re: how to update data in FK fields another Model

2014-10-16 Thread carlos
field_count') + 1 > > Other than that, there are a few weird things about the code, for example: > > product = ModelA.objects.get(id=self.fk_name.id) > > Why not just use > > product = self.fk_name ? > > On Thu, Oct 16, 2014 at 5:09 PM, carlos wrote: >

  1   2   3   4   5   6   >