Re: Looking for collaborators for an online marketplace project with Python, Django, React.js and Next.js

2024-02-12 Thread David Emanuel Sandoval
Hello - Holaa! I would like to help. Me gustaría colaborar. I'm emasmach on github. Un saludo. See you. El lun, 12 feb 2024, 12:08, T Y escribió: > im in. pls add me in git. > > tommyyama2020 > > > On Sun, Feb 11, 2024 at 1:55 AM Jorge Bueno > wrote: > >> The project: >> >> I am working on a

Re: Django Channels and multi-tenant will this be a world of hurt?

2024-01-27 Thread David Emanuel Sandoval
the correct schema. David Emanuel Sandoval <https://www.linkedin.com/in/david-emanuel-sandoval/> WEB DEVELOPER +549 3734 607102 <https://linkedin.com/in/david-emanuel-sandoval/> <https://github.com/emasmach/> El sáb, 27 ene 2024 a las 14:14, David Emanuel Sandoval (&

Re: Django Channels and multi-tenant will this be a world of hurt?

2024-01-27 Thread David Emanuel Sandoval
To identify the tenant i used a middleware that extract the tenant from the domain. El sáb, 27 ene 2024, 10:28, Nagaraja escribió: > Y cnt u use pusher instead of channels > > On Sat, 27 Jan, 2024, 4:40 pm 'Sebastián García' via Django users, < > django-users@googlegroups.com> wrote: > >> Hi, I'

Re: Re:

2023-07-19 Thread David Emanuel Sandoval
did work a lot to improve my skills in this field. David Emanuel Sandoval <https://www.linkedin.com/in/david-emanuel-sandoval/> WEB DEVELOPER +549 3734 607102 <https://linkedin.com/in/david-emanuel-sandoval/> <https://github.com/emasmach/> El mié, 19 jul 2023 a las 11:06,

Re: Exceeded conections to DB (postgres and django-tenants)

2023-02-23 Thread David Emanuel Sandoval
I want to make a correction: I'm using django 3.2 El jue, 23 feb 2023 a las 16:11, David Emanuel Sandoval (< davidemanuelsando...@gmail.com>) escribió: > Hello everyone! > > I hope you can help me with a problem that I have from time to time (I > wasn't able to

Exceeded conections to DB (postgres and django-tenants)

2023-02-23 Thread David Emanuel Sandoval
Hello everyone! I hope you can help me with a problem that I have from time to time (I wasn't able to replicate the error). The problem is that sometimes the connections to DB exceed the maximum number of allowed connections and I'm not sure why that happens. That causes the app to crash. I'm usi

Re: django internationalization

2022-11-28 Thread David Emanuel Sandoval
Hi, in my case I'm not sure if I'm understanding the problem well. Do you have a different url for every language? Are the urls also translated? In the docs i see they use a tag to get the correct url for the given language, but as I said, I'm not sure if that is what you want. https://docs.djan

Re: Template inheritance not working

2022-11-18 Thread David Emanuel Sandoval
The base template contains the default content, and blocks with default contents in it. Then, in the child template, you can override those blocks. El vie, 18 nov 2022 17:54, Alec Delaney <96alecpatr...@gmail.com> escribió: > Hello. How are you? Can I see another example of template inheritance?

Re: Django-tenants-schema and django-tenant

2022-11-14 Thread David Emanuel Sandoval
I work on a project using django tenants, so i know it works on heroku. I just dont know how it was configured in the "dns" part. El lun, 14 nov 2022 11:43, Alejandro hurtado chacñama escribió: > 1:in your nginx configuration you should add something like: > *server_name *.mydomain.com

Re: Multitenant App

2022-11-07 Thread David Emanuel Sandoval
Hi, I'm not sure what you mean by updating all templates. In my case, when I update a template, the changes are reflected in all tenants/clients. David Emanuel Sandoval <https://www.linkedin.com/in/david-emanuel-sandoval/> WEB DEVELOPER +549 3734 607102 <https://linkedin.com/in

Re: MultiTenant Connections

2016-11-18 Thread Emanuel Araújo
This link resolved a question: https://gist.github.com/bubenkoff/005ea57b63251dafe81f I needed only change some line to work a python3 version. Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop re

MultiTenant Connections

2016-11-17 Thread Emanuel Araújo
Hi, I need to implement multiconnections on distinct customers on my app. the cenario is: I have a website and my customers put on form a username. So, I need that Django connect on postgresql setting schema-name same a username on request. When I connect on postgresql with a username, the sea

Re: Reverse lookup in search_fields on Admin

2014-10-23 Thread Emanuel
Hi. Yes, I do have another fields. And thanks a lot. I was focus on that particular field that I forgot to see that I had another relation in search_fields wich I was not using the lookup. It works now. Thanks Quinta-feira, 23 de Outubro de 2014 13:11:37 UTC+1, Collin Anderson escreveu: >

Reverse lookup in search_fields on Admin

2014-10-21 Thread Emanuel
Hello all! I have this models: class Article(models.Model): name = models.CharField(...) class Sale(models.Model): ... class SaleItems(models.Model): article = models.ForeignKey(Article) And the Admin: class SaleAdmin(admin.ModelAdmin): search_fields = ('...', < and here is the proble

Re: permissions and inlines issues

2014-10-10 Thread Emanuel
.has_perm('see_BFlow'): return super(BFlowAdmin, self).get_model_perms(request) return {} And finally it worked :) Thanks Sexta-feira, 10 de Outubro de 2014 18:53:29 UTC+1, Emanuel escreveu: > > Ok > Thanks, I will try and post here the result later > > >

Re: permissions and inlines issues

2014-10-10 Thread Emanuel
Ok Thanks, I will try and post here the result later Sexta-feira, 10 de Outubro de 2014 18:45:46 UTC+1, Collin Anderson escreveu: > > Ohh, but it might still be possible to circumvent that hiding, so I'm not > sure. > -- You received this message because you are subscribed to the Google Group

Re: permissions and inlines issues

2014-10-10 Thread Emanuel
Yes. But they have permission to them. But I want some people only have permission to see when the models are inlines from another model. And other people have permission to see always... Thanks Sexta-feira, 10 de Outubro de 2014 13:22:35 UTC+1, Collin Anderson escreveu: > > So the remaining pr

Re: permissions and inlines issues

2014-10-10 Thread Emanuel
Hi Thanks for the answer. The current solution I had it's the one that you sugest. But I still have the problem that on the index admin page shows the application. The scenario is this: A factory have a diary production (A) And every day people produce Articles and to do that they use some Feed

permissions and inlines issues

2014-10-09 Thread Emanuel
Hi all! I have this situation: class A(models.Model): ... class B(models.Model): --- class C(models.Model): Then I have User 1, User 2 and User 3 B and C are inlines for A I register A, B and C in admin I want User 1 and add and edit B and can't add or edit A and I want User

problem in translation

2014-05-13 Thread Emanuel
Hello! I have a template with two block trans. the template code: {% extends "a.html" %} {% load i18n %} {% block pageTitle %} {% trans "MyTitle" %} {% endblock %} {% block short_description %} {% blocktrans %} My short description {% endblocktrans %} {% endblock short_desc

Re: Inlines in admin

2014-04-08 Thread Emanuel
It solves the problem. Thanks Segunda-feira, 7 de Abril de 2014 22:52:15 UTC+1, Marc Aymerich escreveu: > > On Mon, Apr 7, 2014 at 3:04 PM, Emanuel > > wrote: > > Hi all! > > > > I'm have the following models: > > > > Class A(model

Inlines in admin

2014-04-07 Thread Emanuel
Hi all! I'm have the following models: Class A(models.Model): pass Class Z(models.Model): pass Class B(models.Model): a = models.ForeignKey(a) z = models.ForeignKey(Z) def __unicode__(self): return self.z Class C(models.Model): b = models.Fore

Fwd: help using django wsgi and apache

2012-03-06 Thread Emanuel Vitorino
Hello all I'm trying to install a virtual web server at my place to host two websites. I have installed apache and libapache2-mod-wsgi and it works fine. I have a dynamic IP and I'm using a no-ip account and I'm not being able to understand how to configure apache. I already read some tutorials

help using django wsgi and apache

2012-03-06 Thread Emanuel Vitorino
Hello all -- 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.com. For more options, visit this

problem with media

2010-12-01 Thread Emanuel Vitorino
Hi all! I've recently updated my django version and now all my projects doesn't have css and js from admin or from my apps I've started new projects and it simply doesn't work I've googled and I find out when we are using the deveopment server the static files from admin should be server automat

formset issue

2010-04-07 Thread Emanuel
I've send this post this morning: Hi I have a formset and I'm passing initial data: DeletionFormset = formset_factory(deletionForm, extra=0) formset = DeletionFormset(initial=make_initial_data(instance)) The initial data arrives to the constructor fine. When the construct bilds the forms

formset issue

2010-04-07 Thread Emanuel
Hi I have a formset and I'm passing initial data: DeletionFormset = formset_factory(deletionForm, extra=0) formset = DeletionFormset(initial=make_initial_data(instance)) The initial data arrives to the constructor fine. When the construct bilds the forms it overrides a ChoiceField with a

modelform validation

2010-03-31 Thread Emanuel
Hi all! I have a modelform and I want to customize validation. I'm overriding the method clean_(). When I'm saving the form I want to see if a specific user has been already assigned to a project. The only way he can ben assigned again is if he's an inactive user, so: models.py Class User(mod

modelform validation

2010-03-31 Thread Emanuel
Hi all! I have a modelform and I want to customize validation. I'm overriding the method clean_(). When I'm saving the form I want to see if a specific user has been already assigned to a project. The only way he can ben assigned again is if he's an inactive user, so: models.py Class User(mod

raw sql

2010-03-28 Thread Emanuel
Hi! A few days ago I've post a question about changing the unicode on a form This was the answer: one way is to override __init__. Here is a sample: class Accountaddform(ModelForm): def __init__(self,head,*args,**kwargs): super (Accountaddform,self).__init__(*args,**kwargs) se

help needed in ModelForm __unicode__

2010-03-26 Thread Emanuel
for independent cases? If it is the solution how can I use it? I'm not getting there because it is a instance of a class... Thanks Emanuel -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to djang