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 an exciting project that I think you might be interested
>> in. It's about an online marketplace similar to the US farmers and
>> livestock markets, but with an online focus. The project is already half
>> done, with a well-defined requirements list and backlog that will allow you
>> to learn a lot while contributing to a real project.
>>
>> Technologies:
>>
>> We are using Python and Django for the backend, Next.js and React for the
>> frontend.
>>
>> What we are looking for:
>>
>> We need help to get django working making python manage.py runserver and
>> also all the procedures to check it works well as unit tests right now we
>> have the following functionalities programmed the MVP:
>> 1.User Registration
>> User Profiles
>> Product Listing
>> 4.Search and Filters
>>  5.Shopping Cart
>>  6.Payment System
>> 7.Ratings and Reviews
>> 8.Messaging
>>  Notification system
>> 10.User management
>> Why collaborate:
>>
>> You will learn a lot: The project is well organized and will allow you to
>> work with modern and relevant technologies.
>> You will contribute to a real project: Your work will have a direct
>> impact on the success of the project.
>> You will be part of a community: We are a passionate team committed to
>> the success of the project.
>> How can you participate?
>>  You can access my public GitHub repository here:
>> https://github.com/Programacionpuntera/Marketplace-Supremo
>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/153e4e9d-4453-4280-8b06-27c8cbd1f72fn%40googlegroups.com
>> 
>> .
>>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAAwLT1%3DL4M-nQ7vk5iQFFTNZOqx62sXqMvhfEEGEW0rJgY04Ag%40mail.gmail.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHUWMCamP34%3D5n0AsZV0Hrs_4V_kCfGxiwY0JZ_DGW94igGk3A%40mail.gmail.com.


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

2024-01-27 Thread David Emanuel Sandoval
Just like the one they posted, but with a few minor changes:

 async def __call__(self, scope, receive, send):
and:
return await self.inner(
dict(scope, schema_name=schema_name, multitenant=True), receive, send
)


Also, check if AuthMiddleware is using the channels.auth.get_user()
function within 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 (<
davidemanuelsando...@gmail.com>) escribió:

> 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'm reviving this old thread... do you know of any other solution to
>>> the one proposed by @Ahmed Ishtiaque
>>>
>>> Thanks
>>> El domingo, 24 de febrero de 2019 a la(s) 9:13:30 p.m. UTC-3, Ahmed
>>> Ishtiaque escribió:
>>>
>>>> @N Muchai,
>>>>
>>>> I don't know if you've found a workaround to this, but here's mine if
>>>> people are interested in the future.
>>>>
>>>> I just made a custom ASGI application that adds the tenant schema name
>>>> (provided your URLs are in the form *.domain.com, where * represents
>>>> the schema name) and whether the project is multitenant or not. I haven't
>>>> thought much about whether the boolean for multitenancy identifier helps,
>>>> so feel free to remove it in your implementation. I just stacked this
>>>> application in my project's `routing.py` file. Here's the code I have at
>>>> the moment:
>>>>
>>>> My Middleware:
>>>> class MTSchemaMiddleware:
>>>> def __init__(self, inner):
>>>> self.inner = inner
>>>>
>>>> def __call__(self, scope):
>>>> if "headers" not in scope:
>>>> raise ValueError(
>>>> "MTSchemaMiddleware was passed a scope that did not
>>>> have a headers key "
>>>> + "(make sure it is only passed HTTP or WebSocket
>>>> connections)"
>>>> )
>>>>
>>>> for key, value in scope.get('headers', []):
>>>> if key == b'host':
>>>> schema_name = value.decode('ascii').split('.')[0]
>>>> break
>>>> else:
>>>> raise ValueError(
>>>> "The headers key in the scope is invalid. "
>>>> + "(make sure it is passed valid HTTP or WebSocket
>>>> connections)"
>>>> )
>>>> return self.inner(
>>>> dict(scope, schema_name=schema_name, multitenant=True)
>>>> )
>>>>
>>>> My `routing.py`:
>>>>
>>>> import MTSchemaMiddleware # from wherever your Middleware class resides
>>>> application = ProtocolTypeRouter({
>>>> 'websocket': (
>>>> MTSchemaMiddleware(
>>>> URLRouter(
>>>> chat.routing.websocket_urlpatterns
>>>> )
>>>> )
>>>> )
>>>> })
>>>>
>>>> After you do this, you will be able to access the `schema_name` and
>>>> `multitenant` variables inside your consumer's `scope` like this:
>>>> `schema_name = scope['schema_name']` or `multitenant =
>>>> scope[`multitenant`]`.
>>>>
>>>> Hope this helps someone!
>>>>
>>>> Best,
>>>> Ahmed
>>>>
>>>>
>>>>
>>>> On Thursday, January 10, 2019 at 7:22:40 AM UTC-5, N Muchai wrote:
>>>>>
>>>>> @Filbert,
>>>>>
>>>>> Am in the same exact spot using Django Channels with django-tenants. Did
>>>>> you find a way to identify the tenant?
>>>>>
>>>>> Thanks.
>>>>>
>>>>> On Tuesday, November 28, 2017 at 4:22:10 AM UTC+3, Filbert wrote:
>>>>>>
>>>>>> Sorry, yeah dig before I post :-|  Can create a class-based consumer
>>>>>> and use the mes

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'm reviving this old thread... do you know of any other solution to
>> the one proposed by @Ahmed Ishtiaque
>>
>> Thanks
>> El domingo, 24 de febrero de 2019 a la(s) 9:13:30 p.m. UTC-3, Ahmed
>> Ishtiaque escribió:
>>
>>> @N Muchai,
>>>
>>> I don't know if you've found a workaround to this, but here's mine if
>>> people are interested in the future.
>>>
>>> I just made a custom ASGI application that adds the tenant schema name
>>> (provided your URLs are in the form *.domain.com, where * represents
>>> the schema name) and whether the project is multitenant or not. I haven't
>>> thought much about whether the boolean for multitenancy identifier helps,
>>> so feel free to remove it in your implementation. I just stacked this
>>> application in my project's `routing.py` file. Here's the code I have at
>>> the moment:
>>>
>>> My Middleware:
>>> class MTSchemaMiddleware:
>>> def __init__(self, inner):
>>> self.inner = inner
>>>
>>> def __call__(self, scope):
>>> if "headers" not in scope:
>>> raise ValueError(
>>> "MTSchemaMiddleware was passed a scope that did not have
>>> a headers key "
>>> + "(make sure it is only passed HTTP or WebSocket
>>> connections)"
>>> )
>>>
>>> for key, value in scope.get('headers', []):
>>> if key == b'host':
>>> schema_name = value.decode('ascii').split('.')[0]
>>> break
>>> else:
>>> raise ValueError(
>>> "The headers key in the scope is invalid. "
>>> + "(make sure it is passed valid HTTP or WebSocket
>>> connections)"
>>> )
>>> return self.inner(
>>> dict(scope, schema_name=schema_name, multitenant=True)
>>> )
>>>
>>> My `routing.py`:
>>>
>>> import MTSchemaMiddleware # from wherever your Middleware class resides
>>> application = ProtocolTypeRouter({
>>> 'websocket': (
>>> MTSchemaMiddleware(
>>> URLRouter(
>>> chat.routing.websocket_urlpatterns
>>> )
>>> )
>>> )
>>> })
>>>
>>> After you do this, you will be able to access the `schema_name` and
>>> `multitenant` variables inside your consumer's `scope` like this:
>>> `schema_name = scope['schema_name']` or `multitenant =
>>> scope[`multitenant`]`.
>>>
>>> Hope this helps someone!
>>>
>>> Best,
>>> Ahmed
>>>
>>>
>>>
>>> On Thursday, January 10, 2019 at 7:22:40 AM UTC-5, N Muchai wrote:

 @Filbert,

 Am in the same exact spot using Django Channels with django-tenants. Did
 you find a way to identify the tenant?

 Thanks.

 On Tuesday, November 28, 2017 at 4:22:10 AM UTC+3, Filbert wrote:
>
> Sorry, yeah dig before I post :-|  Can create a class-based consumer
> and use the message->headers->host. I'll get chest deep before ask another
> question.
>
> On Monday, November 27, 2017 at 6:04:48 PM UTC-5, Andrew Godwin wrote:
>>
>> That would be correct (though please be aware Origin can be faked
>> like host headers, so don't use it as the sole point of security).
>>
>> Is it not available via the headers list in the connect message?
>>
>> Andrew
>>
>> On Mon, Nov 27, 2017 at 2:58 PM, Filbert  wrote:
>>
>>> Thanks again. One last question, in order to "multi-tenant-ify"
>>> Channels I think the challenge will be trickle the websocket "orgin" 
>>> into
>>> the consumer from Daphne somehow as it seems there is no way to know in 
>>> a
>>> consumer which tenant (unique domain) the message originated from. 
>>> Without
>>> the domain you can't establish the Postgres schema, without the schema 
>>> you
>>> have no tenant :-)
>>>
>>> Please confirm this would be the approach or whether I am
>>> wrong-headed here.
>>> Thanks.
>>>
>>> On Sunday, November 26, 2017 at 9:58:58 AM UTC-5, Andrew Godwin
>>> wrote:

 I've never used attach-daemon so I can't help you there I'm afraid.
 As long as it does sensible process-management things it's probably 
 alright?

 Andrew

 On Sat, Nov 25, 2017 at 5:17 PM, Filbert  wrote:

> Andrew,
> Thanks for the response. Seeing that I am keeping uWSGI for the
> non-websocket paths, any heartache with me starting daphne and the
> consumers using uWSGI's attach-daemon? I do this with celery and it 
> is a
> convenient way to have everything for the App managed as a unit via a
> single /etc/init (upstart) conf file.
> Thanks.
>
> On Friday, November 24, 2017 at 

Re: Re:

2023-07-19 Thread David Emanuel Sandoval
Just don't give up.

A degree is always good, it can open more doors.

But not all companies require a degree. You can even work remotely for a
company.
I myself got my first dev job with what would be the equivalent of a "high
school" education.
I never went to a university.
But I 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, Vitor Angheben ()
escribió:

> Hi Asim, I'm a fresh graduate in Industrial Engineer, but working with
> software development
>
> Please, check my profile on my LinkedIn, if you find it interesting let me
> know!!
>
> https://www.linkedin.com/in/vitor-a-5977a0b3/
>
> Best regards!
> --
> *De:* django-users@googlegroups.com  em
> nome de Ibtsam Khan 
> *Enviado:* terça-feira, 18 de julho de 2023 13:48
> *Para:* django-users@googlegroups.com 
> *Assunto:* Re:
>
> Hey I'm a fresh graduate from BS IT. And I'm a MERN Stack developer
> learning Django for the web. What do u think?
>
> On Tue, Jul 18, 2023, 9:08 PM Asim Sulehria 
> wrote:
>
> Do you have it or not ?
> We are just hiring Django developers as fresh graduates !
>
>
> On Tue, Jul 18, 2023 at 8:50 PM Vishesh Mangla 
> wrote:
>
> Degree is not sufficient. Memorizing 250 DSA questions is also a
> requirement.
>
> On Tue, 18 Jul, 2023, 21:18 Asim Sulehria,  wrote:
>
> For getting a Job into industry you need a proper degree !
> Do you have it or not?
>
> On Tue, Jul 18, 2023 at 8:36 PM Vishesh Mangla 
> wrote:
>
> No degree teaches django or even web development.
>
> On Tue, Jul 18, 2023 at 8:50 PM Asim Sulehria 
> wrote:
>
> Do you have a bachelor's degree in relevant field like Computer Science?/
> Software Engineering?/ Data Science?
>
> On Tue, Jul 18, 2023 at 8:16 PM utibe solomon 
> wrote:
>
> My number is 08102980007
>
> On Tue, Jul 18, 2023, 9:27 AM utibe solomon 
> wrote:
>
> Dear community, I am currently looking for a remote internship on Django
> to gain more experience in this field I currently have skills in django,
> database testing api development with rest framework using Django channels
> to integrate websockets and asgi connections I don't mind working for free
> but would also be glad if I'm payed 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 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/CAJkiqy7MW-44%2BaPGVbhQ2ecY25Gg51jF8eN9AEoAgrdTLOrJsQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAJkiqy7MW-44%2BaPGVbhQ2ecY25Gg51jF8eN9AEoAgrdTLOrJsQ%40mail.gmail.com?utm_medium=email_source=footer>
> .
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAPz57eEgE4Q_ZittJ4m07LJvjrCwb3RUOJvmatox5E4gtf2ZBQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAPz57eEgE4Q_ZittJ4m07LJvjrCwb3RUOJvmatox5E4gtf2ZBQ%40mail.gmail.com?utm_medium=email_source=footer>
> .
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CACaE8x65jGdWeq5shKuN9C_91hPXJj_w%2B3SznQYqvF56gPVd4A%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CACaE8x65jGdWeq5shKuN9C_91hPXJj_w%2B3SznQYqvF56gPVd4A%40mail.gmail.com?utm_medium=email_source=footer>
> .
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAPz57eENzPCyUHBT71L025d69pnGOr0-8FpdLmUk9O_k4jWwvg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAPz57eENzPCyUHBT71L025d69pnGOr0-8FpdLmUk9O_k4jWwvg%40mail.gmail.com?utm_me

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 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 using:
> - Django 2.3
> - Django-tenants
> - Python 3.9
> - Postgres as database.
> - Celery for background tasks
>
> - The app runs on heroku.
>
> The problem occurs when we try to create a new client (creation of the
> schema in db, running the migrations and other stuff). In the view, after
> we validate the form we launch a celery task where the actual creation of
> the Client takes place. And it is at this point where the error occurs.
>
> Apparently there are some connections that block many others and the app
> tries to create more connections to db, which in turn blocks other
> processes. Finally the app stops working and crashes.
>
> Any ideas/thoughts about this?
> Also, I hope you can understand my english. :))
>
> Thanks in advance.
>
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHUWMCZnxRrM0zs%3DUmHZOsf1WYw98iKz4VdbAn7-7n04S3rsNg%40mail.gmail.com.


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 using:
- Django 2.3
- Django-tenants
- Python 3.9
- Postgres as database.
- Celery for background tasks

- The app runs on heroku.

The problem occurs when we try to create a new client (creation of the
schema in db, running the migrations and other stuff). In the view, after
we validate the form we launch a celery task where the actual creation of
the Client takes place. And it is at this point where the error occurs.

Apparently there are some connections that block many others and the app
tries to create more connections to db, which in turn blocks other
processes. Finally the app stops working and crashes.

Any ideas/thoughts about this?
Also, I hope you can understand my english. :))

Thanks in advance.

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHUWMCb-YUosCO9p%2B2gG7VaB3Cggf9fkwaLSEwvR3Lmtyd%2BEgQ%40mail.gmail.com.


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.djangoproject.com/en/4.1/topics/i18n/translation/#reversing-in-templates

El lun, 28 nov 2022 16:54, Dhrub Kumar Sharma 
escribió:

> Hi everybody I am applying Django internalization for a multilingual site.
> I am facing a problem with making href URL dynamic instead of repeating
> same code manually.
>
> [image: url.png]
> I tried this but cant get perfect href dynamically. please help me same
> problem I am facing in language switcher href also.
>
> {% get_current_language as LANGUAGE_CODE %}
> {% get_available_languages as LANGUAGES %}
> {% get_language_info_list for LANGUAGES as languages %}
> {% get_language_info for LANGUAGE_CODE as lang %}
> {% for lang in languages %}
> 
> {% endfor %}
>
> [image: loop.png]
>
>
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/6c5c96ea-9866-40b2-9c23-9b03d771ae7en%40googlegroups.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHUWMCaTSbE%2B9fhkNxYJ9ApmRqs9nGfUXgmft8pzajHtuwgmgw%40mail.gmail.com.


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?
>
> On Mon, Oct 31, 2022 at 2:34 PM Ammar Mohammed 
> wrote:
>
>> Hello dear
>> There is a little mistake in your code :
>> You should put the {%block block_name %} in your base template with no
>> code and the put the code you want to be displayed in your child template
>> file
>> Here is an example :
>>
>> // file.html :
>>
>> {% extends "index.html" %}
>>
>> {% block content %}
>> Hello, this is a test.
>> Help me.
>> {% endblock %}
>>
>> //index.html:
>> 
>> 
>> 
>> 
>> > >
>> Document
>> 
>> 
>> {% block content %}
>>
>> {% endblock %}
>> 
>> 
>>
>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAFGN%3DGjpkAW6NBXLZ%3DYL7eXy3FXmJ6DqWfNMh%2BikMrp7om361Q%40mail.gmail.com
>> 
>> .
>>
>>
>> On Mon, 31 Oct 2022, 8:09 PM Alec Delaney, <96alecpatr...@gmail.com>
>> wrote:
>>
>>> I have been trying to get my templates to work but they have been
>>> ineffective. here is my code:
>>> {% extends "index.html" %}
>>>
>>> 
>>> 
>>> 
>>> 
>>> 
>>> Document
>>> 
>>> 
>>> 
>>> {% block content %}
>>>
>>>
>>> {% endblock %}
>>> 
>>> 
>>> 
>>>
>>> //index.html:
>>>
>>> 
>>> 
>>> 
>>> 
>>> 
>>> Document
>>> 
>>> 
>>> {% block content %}
>>> Hello, this is a test.
>>> Help me.
>>> {% endblock %}
>>> 
>>> 
>>>
>>> --
>>> 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+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAFGN%3DGjpkAW6NBXLZ%3DYL7eXy3FXmJ6DqWfNMh%2BikMrp7om361Q%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAHs1H7sS6tndz4j8wiK_Dfpwqnb7sUcrc814Zp3eTndDJ%2B5Ewg%40mail.gmail.com
>> 
>> .
>>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAFGN%3DGitQmZVFG_v1kKOk5s5r53NYCYKEGFZ1Pdi%2Bm%2BiMAFRig%40mail.gmail.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHUWMCY_ftGaikC3Sie91CZmdm4Rbs%3DfQrHDPftGqju-PmxPCA%40mail.gmail.com.


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  mydomain.com
>  IP-server;*
>
> 2: in my case at the dns level I also add as class A, all the records of
> the subdomain. You have to do this where your domain is, I don't know if it
> can be configured in heroku
> El jueves, 24 de junio de 2021 a las 1:41:08 UTC-5, clas...@gmail.com
> escribió:
>
>> has no one use django-tenant on heroku?
>>
>> On Monday, June 21, 2021 at 9:38:19 PM UTC+1 clas...@gmail.com wrote:
>>
>>> Hello friends,
>>> Am having a big challenge hosting django-tenant-schemas I currently have
>>> one hosted in heroku but does not route the subdomain created for example I
>>> cant access sub.mydomain.com but mydomain.com works have tried wildcard
>>> on the subsomain through the domain hosting platform but no result yet I
>>> really want this to work in live production as all test has been done in
>>> dev mode and work fine using sub.loclhost:8000 no.all code are fine when
>>> deployed to heroku not jus get the subsomain.please is there any hosting
>>> platform that allow such multi-tenant app to work as expected.
>>> Await your swift response.
>>> Thanks
>>>
>>>
>>>
>>> Sent from my Galaxy
>>>
>>> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/c61930ec-825b-44bf-a9f0-ef31be4ddf62n%40googlegroups.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHUWMCaye1VpeDYMcAm2pK7C2gBj9PjhZCbjLVHP4GQBuZ3cxg%40mail.gmail.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/david-emanuel-sandoval/>
<https://github.com/emasmach/>





El lun, 7 nov 2022 a las 11:20, sebasti...@gmail.com (<
sebastian.ju...@gmail.com>) escribió:

> Hello,
>
> ich want sell my app on different companys. Now a part of apps all
> companys/templates use this but another apps/templates are customer
> specific. Now i want when i update code from apps/templates which all
> customer uses that i can update all customer on server as fast as possible.
>
> Here are a example:
>
> Customer 1
> common app
> customer invividual app #1
>
> template
> common app templates
> customer individual app templates
> Customer 2
> common app
> customer individual app #2
>
> template
> common app templates
> customer individual app templates
>
> How i can make this? Softlink or is there another better possibility?
>
> Regards
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/987d7c53-cd73-4937-9a5d-b9053a6570c4n%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/987d7c53-cd73-4937-9a5d-b9053a6570c4n%40googlegroups.com?utm_medium=email_source=footer>
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHUWMCbz%2BUPUJZot1rvjsWROgVZR506We95iDAkmz7ehj6tCSQ%40mail.gmail.com.