admin site, model default permissions

2015-05-20 Thread Jose Ignacio Berreteaga
Hi I'm working with django 1.8. My project has several applications, each one uses a database using routers.I put admin site tables in a database by another router. app1> router1 ---> db1 app2> router2 ---> db2 'admin', 'auth', 'contenttypes', 'sessions', 'messages', 'sites' > rout

Apache Double Slash Help

2015-05-15 Thread Jesus Ignacio Gómez Pérez
I am part of a colaborative initiative to develop software on Django, currently i'm working with Apache and Oscar Framework and i'm having troubles with the following request URI " *dashboard/content-blocks/page//asistenciaMedica/*", which returns a 404 code from Django url router which transla

not select_relelated records

2014-12-23 Thread Jose Ignacio Berreteaga
Hi Some records on "son" table haven´t their parent record on "parent" table. How to know are they? Thanks in advace. Jose I. -- 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,

Re: combobox prepopulated to only related objects to "self"

2012-08-01 Thread Ignacio Soto
choices > > > On Wed, Aug 1, 2012 at 1:17 AM, Ignacio Soto wrote: > >> Hi everyone >> >> i have this model >> >> GROUP and Product >> >> >> product has a group field thath is foreignkey to GROUP. >> >> >> and Group has f

combobox prepopulated to only related objects to "self"

2012-07-31 Thread Ignacio Soto
Hi everyone i have this model GROUP and Product product has a group field thath is foreignkey to GROUP. and Group has foreignKey to Product to select primary product. so i want to have a group with many products and one is the "primary product". so...i could do this by select inline produ

Re: ManyToMany relationship with intermediate model and admin list display with each realtion with value as diferent column

2012-07-24 Thread Ignacio Soto
in world domination. > > -- > 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...

ManyToMany relationship with intermediate model and admin list display with each realtion with value as diferent column

2012-07-24 Thread Ignacio Soto
Hey guys i have an issue, i don know if it really can be done. im using django 1.3 i have a model producto(product) and Tienda(store) and a product could be in one or more stores, so i created a many to many relationship but y have a stock in each store, so i use the intermediary model Produc

Re: Multiple UserProfile

2011-06-11 Thread Ignacio Soto
Ok, kenneth i havent seen it that way. I will use your model. I really apreciate it Thanks ignacio Soto Reveco Staff IngeHost El 12-06-2011 0:39, "Kenneth Gonsalves" escribió: On Sat, 2011-06-11 at 21:12 -0400, Ignacio Soto wrote: > No, the same person cant be costumer and s

Re: help plz to install Django

2011-06-11 Thread Ignacio Soto
Yes kennet is right, the version that is in the repos..maybe is not the latest release version. In ubuntu 11.04 is the 1.2 in repos, you have to follow the install instructions form the web page djangoproject. Cheers ignacio Soto Reveco Staff IngeHost El 11-06-2011 21:42, "Kenneth Gons

Re: Multiple UserProfile

2011-06-11 Thread Ignacio Soto
No, the same person cant be costumer and seller. ignacio Soto Reveco Staff IngeHost El 11-06-2011 21:37, "Kenneth Gonsalves" escribió: On Fri, 2011-06-10 at 23:51 -0400, Ignacio Soto wrote: > i want to create 2 user profile: cutomer an... can the same person be both custom

Re: help plz to install Django

2011-06-11 Thread Ignacio Soto
Hi There is an idle called aptana, that include the pydev enviorement. And a better. Option is install eclipse and a Pydev as a plugin. Cheers ignacio Soto Reveco Staff IngeHost El 11-06-2011 14:46, "ihsan mokhlisse" escribió: thnks Sergiy . and plz how can i cinfigure the djan

Re: Multiple UserProfile

2011-06-11 Thread Ignacio Soto
Ok, thannks i will try, and let you know... Cheers ignacio Soto Reveco Staff IngeHost El 11-06-2011 11:41, "Shawn Milochik" escribió: Oops, correction: You'd use user.seller_profile and user.customer_profile if you've set it up as a OneToOneField -- the get() is unneces

Multiple UserProfile

2011-06-11 Thread Ignacio Soto
hanks -- __ Ignacio Soto Reveco Staff IngeHost -- 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...@googlegroup

Re: django session InvalidOperation

2010-12-22 Thread Ignacio
Hi kinder. I've got this exact problem with django 1.2.3 and python 2.7. Could you find a fix for it? On 11 dic, 16:18, Leo wrote: > Hard to know from what's shown here, but it seems likely that your > database didn't get created properly on the new server.  The error > suggests that the expire_d

forms searh foreing key object

2009-12-11 Thread Manuel Ignacio
Hello I have a form with some required fields: date : required patient : (foreing key) descritpion: required The patient table can have at least 1000 records, i don't want to show on a select list, i want to implement another form where i can searh the patient, i want to know how to do this wit

static list and start server process

2009-10-29 Thread Manuel Ignacio
Hello, i have a menu list stored at my database, i want to obtain it only at start server process, and later when add a menu entry this list should be updated, i have the following considerations: 1. I don't want a database query for every request, because menu entry list would be very low frecue

iceweasel 3.0.6 create unser cache problem

2009-09-05 Thread Manuel Ignacio
Hi, when i store my password on icewasel 3.0.6 private data, and i want to create a new user, the new user form is preloaded with the current user's username and password regards --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goog

when browser store user password, create user fail s

2009-09-05 Thread Manuel Ignacio
hi, when i loggin for first time in django admin interface, the browser ask me if i want to store the password, if i say yes, later when i want create a new user, the form is preloaded whit the logged user info any ideas? regards --~--~-~--~~~---~--~~ You received

create a google account

2009-03-05 Thread Manuel Ignacio
hi, anyone knows if is possible create an google account for an user from django code? 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@go

site.title does not show in child flatpages templates

2009-02-16 Thread Manuel Ignacio
Hi, when i load my site i have the next code in my view: current_site = Site.objects.get_current() def default_index(request): return render_to_response('doorsFront/default_index.html', {'current_site':current_site}) I load the site name in my template and i extend this template por evereting

site.title does not show in child flatpages templates

2009-02-16 Thread Manuel Ignacio
Hi, when i load my site i have the next code in my view: current_site = Site.objects.get_current() def default_index(request): return render_to_response('doorsFront/default_index.html', {'current_site':current_site}) I load the site name in my template and i extend this template por everetin