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.

NoReverseMatch at /app/

2013-05-09 Thread Carlos Aboim
I am getting a strange error on my humble opinion.. *Why am I getting this error?* Reverse for 'registo.detail' with arguments '(1,)' and keyword arguments '{}' not found. *my views:* from django.views.generic.edit import CreateView, UpdateView, DeleteView from django.shortcuts import

add and remove instance keeping the log

2013-05-08 Thread Carlos Aboim
Hi Imagine something like: def Model_A(models.Model): number = models.IntegerField() date = models.DateField() Add an instance of the Model_A Delete an instance of the Model_A Add other instance of the Model_A Delete other instance of the Model_A Then when I do a query on database I

Re: django 1.5 not getting css

2013-04-21 Thread Carlos Aboim
ok I understand that, but I am using the development server. any other clues? thanks Domingo, 21 de Abril de 2013 17:44:46 UTC+1, Rainy escreveu: > > > > On Sunday, April 21, 2013 11:18:22 AM UTC-4, Carlos Aboim wrote: >> >> Hi everyone. >> >> Anybody can tell

css for flatpages

2013-04-21 Thread Carlos Aboim
Hi tell me, where should live css files for flatpages, these need a special folder for server to find them as for apps for example? thank you! -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

django 1.5 not getting css

2013-04-21 Thread Carlos Aboim
Hi everyone. Anybody can tell me why I can get css on my flatpage /home/ ? http://dpaste.com/hold/1066757/ -> this is the html of the page http://dpaste.com/hold/1067747/ ---> this is the css styles http://dpaste.com/hold/1066760/ -->settings.py

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: 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

Nested Result

2013-04-10 Thread Carlos Eduardo Sotelo Pinto
me a hand -- Carlos Eduardo Sotelo Pinto | http://carlossotelo.com | csotelo@twitter GNU Linux Admin | PHP Senior Web Developer Mobil: RPC (Claro)+51, 958194614 | Mov: +51, 959980794 GTalk: carlos.sotelo.pi...@gmail.com | Skype: csotelop MSN: carlos.sotelo.pi...@gmail.com | Yahoo

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 >

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

Re: Webfaction vs DigitalOcean

2013-04-02 Thread Carlos Daniel Ruvalcaba Valenzuela
ce, DO you have to configure everything yourself but you can have anything you want, however you want, where instances can be deployed fast (a bit like amazon AWS). It is a tradeoff between easy to use and control. Regards, Carlos Ruvalcaba On Tue, Apr 2, 2013 at 10:31 AM, Venkatraman S <venka

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 <tevans...@googlemail.com> wrote: > On Fri, Mar 8, 2013 at 4:42 AM, carlos <crocha09...@gmail.com> wrote: > > > > H

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: 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

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 >

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

Re: A query question

2013-02-26 Thread carlos
= A.objects.exclude( kisi__in = b_objects ) > > Is it enough? > > 2013/2/26 carlos <crocha09...@gmail.com>: > > Hi, maybe use DateField__range(date1,date2) > > > > Cheers > > > > > > On Tue, Feb 26, 2013 at 5:43 AM, ozgur yilmaz <yelb...@gmai

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

Re: I need help

2013-02-19 Thread Carlos Aguilar
I fix the error. Thank you for your time. The error was caused for a bad access to delete function. Thanks againg. Best Regards On Tue, Feb 19, 2013 at 5:55 PM, Russell Keith-Magee < russ...@keith-magee.com> wrote: > > On Wed, Feb 20, 2013 at 6:52 AM, Carlos Aguilar <darkan

o models possui foreing key! para forms e views?

2013-02-16 Thread Carlos Andre
Olá pessoal mais uma vez postando já está chato, eu entendo! Olhem só: O models.py class Base(models.Model): nome=Char class endereco(models.MOdel): rua=Cha... class registro(models.Model): registro= Cha... individuo = Foreignkey(Base)

Re: E-commerce framework for downloadable content

2013-02-12 Thread Carlos Edo Méndez
Thank you both for your help. I found Django-Oscar, what do you think of it? Would it be good for a start? -- 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

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

forign key no forms

2013-02-10 Thread Carlos Andre
Olá pessoal! Olha, preciso que um foreign key seja acessível com o forms! Tentei de algumas maneiras e não consegui! materiais também não tão sucintos! alguém pode me ajudar com essa questão? Obrigado pela a atenção! -- You received this message because you are subscribed to the Google Groups

E-commerce framework for downloadable content

2013-02-08 Thread Carlos Edo Méndez
or designers. I also need it to be fast and easy to pay, maybe storing credit card information or a similar solution. Do you know which framework would be best for this? Thanks in advance, Carlos -- You received this message because you are subscribed to the Google Groups "Django users&q

Re: Automating deployments

2013-02-04 Thread carlos
>> > >> We are using ansible. > >> http://ansible.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

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

Re: using existing database with django

2013-01-30 Thread Carlos Daniel Ruvalcaba Valenzuela
to match 1:1 to the DB Tables, you can map them, so instead of having a model for a table named non_descriptive_name_0001 you can just call the model "Products" and have it map the table "non_descriptive_name_0001", you can evolve slowly the schema with south if the DB supports

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

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

Re: webhosting for django projects with SQLite

2013-01-25 Thread Carlos Daniel Ruvalcaba Valenzuela
I can only speak for what I have tried, Webfaction can be an option that supports what you want and is a simple as regular hosting, if you are going for the cheap vps route any will do as you have direct control over the python install, modules or virtualenv in the server. Regards, Carlos

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

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

Re: How to create superuser?

2013-01-07 Thread Carlos Daniel Ruvalcaba Valenzuela
Check the docs, there is a manage.py command to create superusers once the DB is sync'd: https://docs.djangoproject.com/en/1.4/ref/django-admin/#createsuperuser Regards, Carlos Ruvalcaba On Mon, Jan 7, 2013 at 7:50 PM, Skip Montanaro <skip.montan...@gmail.com> wrote: > get_system

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? >

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,

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

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

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

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

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 >

Re: Django MongoDB

2012-11-25 Thread Carlos Aguilar
You know which mongoengine and django-nonrel are 2 different libraries for mongodb??? Please select one and use it, but not both. Best Regards -- Carlos Aguilar Consultor Hardware y Software DWD http://www.dwdandsolutions.com http://www.houseofsysadmin.com Cel: +50378735118 USA: (301) 337-8541

multiple user profile solution

2012-11-22 Thread Juan Carlos Vargas Valencia
I have spend all yesterday making this run, and I have a solution. I dont know if its the best, but see it and please tel me if there is a mor professional way to do it: first I add in customize my user profile

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,

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

Re: Help with error uploading files

2012-11-08 Thread Carlos Aguilar
PM, Dennis Lee Bieber <wlfr...@ix.netcom.com>wrote: > On Wed, 7 Nov 2012 21:10:06 -0800 (PST), Carlos Aguilar > <darkange...@gmail.com> declaimed the following in > gmane.comp.python.django.user: > > > Hello, > > > > I am working in a project th

Re: Help with error uploading files

2012-11-08 Thread Carlos Aguilar
Yesterday doing few test I note that the problem is causes by the following configs DEFAULT_FILE_STORAGE = 'waitress.apps.venues.storage.CachedS3BotoStorage' DEFAULT_S3_PATH = "media" I test 2 file storages one is s3_folder_storages.s3.DefaultStorages. I am using the same config in other

Help with error uploading files

2012-11-07 Thread Carlos Aguilar
Hello, I am working in a project that requires you upload an image in a model. The project was started by other developer. Today testing, without realize changes in the model I am receiving the following error: 'cStringIO.StringO' object has no attribute 'size' I not have idea what is

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

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

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

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 <theimmortal...@gmail.com>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 2

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

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")

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

uso do csrf

2012-09-24 Thread Carlos Andre
Olá pessoal, estou com um pequeno problema na implementação de meu projeto. Eu consegui usar no formulário o csrf isto só com o views e templates, mas quando adicionei o forms e usei o csrf não deu certo! implementei do mesmo modo que anterior mas sempre aparece o erro 403! se poderem me ajudar

Re: To Use or Not to Use the admin backend

2012-09-04 Thread Carlos Daniel Ruvalcaba Valenzuela
of rolling your own. Regards, Carlos Daniel Ruvalcaba Valenzuela -- 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-user

Re: Using Tag Filters in a generic view

2012-08-24 Thread Carlos Palol
Hi, please share your view class. Cheers On Thursday, 23 August 2012 18:56:37 UTC+2, miked wrote: > > I have create a generic view and in that view I have specified > context_object_name of errata_id_list in this case. This generic view is > tied to a query set of a model and in the view I

Re: DJANGO_DEFAULT_SETTINGS

2012-08-14 Thread Carlos Andre
Thanks for all! i'm solving this problem! 2012/8/14 Melvyn Sopacua > On 15-8-2012 1:02, Furbee wrote: > > > DJANGO_SETTINGS_MODULE is an environment variable that must be set. I > > believe this is taken care of for you when you create a project using > > django-admin.

Re: DJANGO_DEFAULT_SETTINGS

2012-08-14 Thread Carlos Andre
which > will teach you how to set this variable properly. > > HTH > > Jirka > -- > *From: * Carlos Andre <eucan...@gmail.com> > *Sender: * django-users@googlegroups.com > *Date: *Tue, 14 Aug 2012 15:48:18 -0300 > *To: *<django-users

Re: DJANGO_DEFAULT_SETTINGS

2012-08-14 Thread Carlos Andre
Ok, the quest is relative a how that work with forms of data in settins.py! not relative to date time. in real i'm want insert data in databases athroughl shell and thi error is show! 2012/8/14 Satinderpal Singh <satinder.goray...@gmail.com> > On Tue, Aug 14, 2012 at 9:42 PM, Car

DJANGO_DEFAULT_SETTINGS

2012-08-14 Thread Carlos Andre
hi developers i'm with a ptoblem in this date. How work? thanks! -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to

Re: Django: How to get American date format in a form?

2012-08-13 Thread Carlos Palol
Try configuring your form field directly, like this: class CallsForm(ModelForm): contact_date = forms.DateField( localize=True, input_formats=['%m/%d/%Y'], widget=forms.DateInput(attrs={ 'placeholder'='Format is m/d/...', }) ) class

Re: django-allauth and signup or login via twitter?

2012-08-02 Thread Carlos Leite
I've never used allauth. I build an app with login via twitter using django-social-auth instead. I just follow the doc steps. If you'd like to see the code [1] [1] - https://github.com/znc-sistemas/python-people/commit/caf37acc0be9530de1c3a43aa5a525ccba266519 git it a try :

Re: Checkbox checking

2012-08-01 Thread Carlos Palol
It seems in this particular case you don't need the boolean field in the model. As the behaviour you want has to do only with the form, you just have to add an additional required checkbox in this model form. class MyModelForm(forms.ModelForm): involved = forms.BooleanField(required=True)

Re: Difficulties using generic views (Tutorial 4, Django 1.4)

2012-07-23 Thread Carlos Palol
I'm glad. Not very prone to randomness, actually. Make sure the web server is restarting after your changes, and that the browser cache is not lying to you. Also, if you are changing module (file) names, better delete the .pyc files. Cheers, Carlos Palol On 23 Jul 2012, at 16:11

Re: Difficulties using generic views (Tutorial 4, Django 1.4)

2012-07-23 Thread Carlos Palol
Let's see the whole error page. On Sunday, 22 July 2012 23:43:59 UTC+2, Ricardo Cardoso wrote: > > Thank you for your input guys. > > Sadly, i had already checked it Carlos and have my templates for polls > under: > /home/my_user/Webdev/Templates/polls > > In this cas

Re: Difficulties using generic views (Tutorial 4, Django 1.4)

2012-07-19 Thread Carlos Palol
> > url(r'^$', > ListView.as_view( > queryset=Poll.objects.order_by('-pub_date')[:5], > context_object_name='latest_poll_list', > template_name='polls/index.html')), > > Here you are setting template_name='polls/index.html' > >

Re: Can a method call inside save() display its return on template?

2012-07-19 Thread Carlos Palol
> > Is it now possible what get_direction_descr() and get_vrd_code() return to > be displayed on the template on the fly just after the user selects nod_id1 > and nod_id2 from a dropdown list? > Or how I could accomplish sth like this? > > Hello, the Model save() method is not connected like

activate site django

2012-07-18 Thread Carlos Andre
hi programers! i want to make my project work in web, but i only know how deploy django-mod_python-apache, also the question! i'm keep all install corretc and work correct too, whall i will keep this project in web? process using ftp! thanks! -- You received this message because you are

django+apache

2012-07-17 Thread Carlos Andre
hi programers, i'm with troble in apache with django connect! what i can make to connect! i start with mod_python, but have very troble! can Somebory help me? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: Is upgrading to a newer Django version generally hassle-free?

2012-07-13 Thread Carlos Daniel Ruvalcaba Valenzuela
On Fri, Jul 13, 2012 at 1:14 PM, sadpluto wrote: > I have is whether transitioning to newer versions of Django > is generally easy and well documented. I can only imagine that it is, but I > haven't found convincing evidence while searching online. It would be great > to see

configure apache and mod_python

2012-07-11 Thread Carlos Andre
Hi, i'm with a hard problem. also, my apache have a problem he not want be stated, i try use the xamppy and now be sure that problem! As I put apache and mod_python to work? Please help i need this! I've tried a lot for tutorials that do not explain, those who have used it wrong! thanks! -- You

Re: Django and PHP webhosting in Germany

2012-06-16 Thread Carlos Daniel Ruvalcaba Valenzuela
with medium load, but thats where my limited experience with them goes as we mostly have servers in america. Regards, Carlos Ruvalcaba On Sat, Jun 16, 2012 at 2:06 PM, sjtirtha <sjtir...@gmail.com> wrote: > thank you carlos. For me the options are only virtual server and > webhost

Re: Django and PHP webhosting in Germany

2012-06-16 Thread Carlos Daniel Ruvalcaba Valenzuela
Try Hetzner in Germany, they are a solid hosting company with reasonable prices, their dedicated hardware is well know for being a great value. http://www.hetzner.de/ On Sat, Jun 16, 2012 at 1:24 PM, sjtirtha wrote: > Hi, > > can somebody recommend a good and cheap web

Re: I need a programmer Python Django

2012-06-14 Thread Carlos Daniel Ruvalcaba Valenzuela
I work with a freelancer group with a focus on django/python clients, we can send you a quote if you can tell us more about this project. Drop me an email to either: clsdan...@gmail.com clsdan...@blackchairsoft.com Regards, Carlos Ruvalcaba Blackchair Software -- You received this message

Re: generic view 'create_object' inssue

2012-04-25 Thread Carlos Aboim
No answers yet? Can anyone help me?! Thank you Quarta-feira, 25 de Abril de 2012 8:08:24 UTC-3, Carlos Aboim escreveu: > > I fellows > I am getting a strange behavior from a simple generic view > > The problem is that I can not pass the data in the form to introducing

generic view 'create_object' inssue

2012-04-25 Thread Carlos Aboim
I fellows I am getting a strange behavior from a simple generic view The problem is that I can not pass the data in the form to introducing a new object in the database. Then the urls.py file > http://dpaste.com/hold/732643/ The html form is this > http://dpaste.com/hold/732646/ when

How to deal with multiple foreign keys in child tables

2012-04-10 Thread Carlos Quiros
a pull down list. How can I do this? Many thanks, Carlos. -- 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+unsu

Re: find django template developers

2012-03-21 Thread Carlos Daniel Ruvalcaba Valenzuela
There is also djangopeople.me where you can directly find people and it is free. I'm not affiliated to them in any way but I have had jobs before from people cold calling me after finding me in djangopeople. Regards, Carlos Ruvalcaba -- You received this message because you are subscribed

Re: New way to run your Django projects

2012-03-19 Thread Carlos Daniel Ruvalcaba Valenzuela
will personally give it a try! Regards, Carlos Daniel Ruvalcaba Valenzuela -- 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 e

User missing after login

2012-03-07 Thread Juan Carlos
Hello everybody! I am try to add registration in my django site., I am using django.contrib.auth.views.login via django-registration and I have set the next="/home_page/" param in the login form. The view asociated to / home_page/ is excuted, its return looks like this: return

Re: Django ExtraField

2012-02-25 Thread Carlos Leite
On Fri, Feb 24, 2012 at 2:14 PM, coded kid wrote: > Sorry, How will I set that? is it from the template? no, its a widget ... you have to set the widget on your form class Class MyForm(model / form) hide_field = forms.CharField(widget=forms.HiddenInput) -- You

Re: Is there a orded ModelMultipleChoiceField ?

2012-02-25 Thread Carlos Leite
DId you try to ordered your queryset ? ... to discover the order the user made the choices, if I understand what you want, you have to use some way (ajax), to persist the order somewhere.. and then populate your choices filed following the order persisted. Did that helps? On Fri, Feb 24,

Re: Is GeoDjango Too Much For This?

2012-02-25 Thread Carlos Leite
My english is not that great, but I'll try anyway. > I'm currently building my first Django-based app, which is proceeding > fairly well, thus far. One of the goals is to allow users to post > information (text, pics, video) and for the app to be able to > automatically detect the location where

Re: Best Practices for Outsourcing Partial Development?

2012-01-17 Thread Carlos Daniel Ruvalcaba Valenzuela
painful and a friction cause, so I tend not to use them I very much prefer the platforms I'm already using (for developing Free Software) such as github / bitbucket, trac, redmine, etc. The best jobs I ever had have been outside such platforms, but alas YMMV. Regards, Carlos Daniel Ruvalcaba

Re: Alternatives to celery

2012-01-15 Thread Carlos Daniel Ruvalcaba Valenzuela
a look at supervisord: http://supervisord.org/ Regards, Carlos Daniel Ruvalcaba Valenzuela -- 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 g

Re: Website Statistics - What should I use to have Google Analytics in Django?

2011-11-30 Thread Carlos Daniel Ruvalcaba Valenzuela
A quick Google revealed that there is already a django-google-analytics package, why not try to check it out? otherwise you could as last resort just put their tracking code on your master template and be done with it. http://code.google.com/p/django-google-analytics/ Regards, Carlos Ruvalcaba

Re: Simple task dispatching (How heavy is celery + RabbitMQ)

2011-11-28 Thread Carlos Daniel Ruvalcaba Valenzuela
use Redis as a broker, redis is light and very fast, you can limit the amount of memory used by it too. Check the celery page for alternative brokers. I have tested DB broker and works ok, redis broker worked wonders in another setup where it was also being used for caching. Regards, Carlos Daniel

Re: Slow page load

2011-11-18 Thread Carlos Daniel Ruvalcaba Valenzuela
production environment)? Regards, Carlos Daniel Ruvalcaba Valezuela -- 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 dj

Re: DJango for large-scale e-commerce: A good or bad choice?

2011-10-23 Thread Carlos Leite
> I'm looking at all the notable CMSs and web-frameworks across any > language (C++, Ruby, Python, Perl, .NET, PHP), for an e-commerce > solution which suits my project. Which language are most comfortable ? Python is great, easy, elegant, and even for non hard programmers, its easy to maintain.

Re: Don't understand still

2011-10-15 Thread Carlos Daniel Ruvalcaba Valenzuela
Also don't forget to load your data in the database, otherwise the results of the query will be empty, you can use the django-admin to help you get started and fill some data in (as outlined on the tutorials from django docs). -- You received this message because you are subscribed to the Google

Re: Don't understand still

2011-10-15 Thread Carlos Daniel Ruvalcaba Valenzuela
Perhaps the problem lies on the view code, are you passing the query data to the template? Is que query returning any data? Try posting the relevant code from your views. Regards, Carlos Ruvalcaba El 15/10/2011 14:12, "Piotr Hosowicz" <phosow...@gmail.com> escribió: > He

Problems trying to use ManyToMany field before saving in a ModelForm

2011-09-12 Thread Carlos Brum
Hello guys, I have a problem to deal with a field ManyToMany in Django. It is the following: When I try to access a list of relations that is my ManyToMany field I get an error "%ModelName% instance needs to have a primary key value before a many- to-many relationship Can be used. " I need to

Re: If anyone needs a Django pay check

2011-09-10 Thread Carlos Daniel Ruvalcaba Valenzuela
Following the thread, we at Blackchair Software are also looking for django developers in the near future so if anyone would like to send their resume. Regards, Carlos Daniel Ruvalcaba Blackchair Software -- You received this message because you are subscribed to the Google Groups "D

Re: Django testing with existing data

2011-08-29 Thread Carlos Brum
Thanks, Russ! You're perfectly rigth! I was trying to use TDD in a wrong way. Now I understand I *have* to use a new database. "dumpdata" is what I need. Thanks for your advice. On Aug 23, 8:53 pm, Russell Keith-Magee <russ...@keith-magee.com> wrote: > On Tue, Aug 23, 2011

Django testing with existing data

2011-08-23 Thread Carlos Brum
Hello guys, I'm new in Django testing whith django test facilities. I've read "https://docs.djangoproject.com/en/1.3/topics/testing/; but couldn't find what i'm looking for. I'm trying to begin TDD development but wanna use my old data. I don't wanna have to build up all my database again. I

Re: Help please xml2-config from libxml2

2011-08-02 Thread Carlos Daniel Ruvalcaba Valenzuela
Hello, your problem is most probably the lack of the development package for libxml2, try installing the libxml2-dev package via apt-get command or synaptic under Ubuntu. Regards, Carlos Ruvalcaba El 02/08/2011 15:39, "theseventhletter" <g.school...@gmail.com> escribió: > Good

Pagination import error

2011-06-20 Thread Carlos Aboim
Hi there, I am getting this error on my code execution: Request Method: GET Request URL: http://127.0.0.1:8000/admin Django Version: 1.3 Exception Type: ImportError Exception Value: cannot import name Paginator Exception Location: /Library/Frameworks/Python. framework/Versions/2.7/

Re: size of an image

2011-01-24 Thread Carlos A. Carnero Delgado
h and height fields? [1] HTH, Carlos. -- 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...@googlegroups

<    1   2   3   4   5   6   >