Re: MicroService related issue

2024-10-11 Thread Sreedhar p
1.I think its not using good authenticate, because authenticate is like
function which provides authentication to the user by taking username and
password and authenticate  is an part of authentication frsmework try to
change that names
2.mention custom apps in settings.py file in installed apps
3.try like
from authenticate.models import #modelnames

On Fri, Oct 11, 2024, 14:31 shiva singh  wrote:

> Hello
>   I am currently working on a microservices project using Django and have
> encountered an issue.
>  i am facing issue when create microservice project using django i am
> created 2 difrent django project in one common folder and one project name
> is authentication and second project name is repairmodule and when i access
> authentication project's model class in repairmodule models class and when
> i run makemigrations i am getting this error:
> File "", line 1204, in _gcd_import
>   File "", line 1176, in _find_and_load
>   File "", line 1147, in
> _find_and_load_unlocked
>   File "", line 690, in _load_unlocked
>   File "", line 940, in exec_module
>   File "", line 241, in
> _call_with_frames_removed
>   File "C:\BSInfosys\RepairAnything\repairmodule\repair\models.py", line
> 2, in 
> from authentication.authenticate.models import User, RepairManProfile
> ModuleNotFoundError: No module named 'authentication'
> this is my directory Structure:
> RepairAnything/
> ├── authentication/
> │   ├── manage.py
> │   ├── authentication/
> │   │   ├── __init__.py
> │   │   ├── asgi.py
> │   │   ├── settings.py
> │   │   ├── urls.py
> │   │   ├── wsgi.py
> │   │   └── __pycache__/
> │   └── authenticate/
> │   ├── __init__.py
> │   ├── admin.py
> │   ├── apps.py
> │   ├── migrations/
> │   │   └── __init__.py
> │   ├── models.py
> │   ├── serializers.py
> │   ├── tests.py
> │   ├── urls.py
> │   └── views.py
> ├── env/   # Your virtual environment
> ├── repairmodule/
> │   ├── manage.py
> │   ├── repair/
> │   │   ├── __init__.py
> │   │   └── models.py
> │   └── repairmodule/
> │   ├── __init__.py
> │   ├── asgi.py
> │   ├── settings.py
> │   ├── urls.py
> │   ├── wsgi.py
> │   └── __pycache__/
> ├── db.sqlite3# Database file
> ├── .env  # Environment variables file
> ├── .gitignore# Git ignore file
> └── README.md # Project README file
>
> I would appreciate your guidance on how to resolve this issue. If you need
> any additional information, please let me know.
>
> Thank you for your time and assistance!
>
> Best 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/CAEsRHMWn1PSmBcD%3Db6jLqYwnCD-FsVtgvKXuAe8kybRo%2BmEQDg%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/CADzXRbdiX%2BWk-eXgZagART-wus4rXzQRt2-UDApnUTp6Lc0bcw%40mail.gmail.com.


Re: MicroService related issue

2024-10-11 Thread Sreedhar p
Ensure models order it was crucial for one by one creation

On Fri, Oct 11, 2024, 14:43 Sreedhar p  wrote:

> 1.I think its not using good authenticate, because authenticate is like
> function which provides authentication to the user by taking username and
> password and authenticate  is an part of authentication frsmework try to
> change that names
> 2.mention custom apps in settings.py file in installed apps
> 3.try like
> from authenticate.models import #modelnames
>
> On Fri, Oct 11, 2024, 14:31 shiva singh  wrote:
>
>> Hello
>>   I am currently working on a microservices project using Django and have
>> encountered an issue.
>>  i am facing issue when create microservice project using django i am
>> created 2 difrent django project in one common folder and one project name
>> is authentication and second project name is repairmodule and when i access
>> authentication project's model class in repairmodule models class and when
>> i run makemigrations i am getting this error:
>> File "", line 1204, in _gcd_import
>>   File "", line 1176, in _find_and_load
>>   File "", line 1147, in
>> _find_and_load_unlocked
>>   File "", line 690, in _load_unlocked
>>   File "", line 940, in exec_module
>>   File "", line 241, in
>> _call_with_frames_removed
>>   File "C:\BSInfosys\RepairAnything\repairmodule\repair\models.py", line
>> 2, in 
>> from authentication.authenticate.models import User, RepairManProfile
>> ModuleNotFoundError: No module named 'authentication'
>> this is my directory Structure:
>> RepairAnything/
>> ├── authentication/
>> │   ├── manage.py
>> │   ├── authentication/
>> │   │   ├── __init__.py
>> │   │   ├── asgi.py
>> │   │   ├── settings.py
>> │   │   ├── urls.py
>> │   │   ├── wsgi.py
>> │   │   └── __pycache__/
>> │   └── authenticate/
>> │   ├── __init__.py
>> │   ├── admin.py
>> │   ├── apps.py
>> │   ├── migrations/
>> │   │   └── __init__.py
>> │   ├── models.py
>> │   ├── serializers.py
>> │   ├── tests.py
>> │   ├── urls.py
>> │   └── views.py
>> ├── env/   # Your virtual environment
>> ├── repairmodule/
>> │   ├── manage.py
>> │   ├── repair/
>> │   │   ├── __init__.py
>> │   │   └── models.py
>> │   └── repairmodule/
>> │   ├── __init__.py
>> │   ├── asgi.py
>> │   ├── settings.py
>> │   ├── urls.py
>> │   ├── wsgi.py
>> │   └── __pycache__/
>> ├── db.sqlite3# Database file
>> ├── .env  # Environment variables file
>> ├── .gitignore# Git ignore file
>> └── README.md # Project README file
>>
>> I would appreciate your guidance on how to resolve this issue. If you
>> need any additional information, please let me know.
>>
>> Thank you for your time and assistance!
>>
>> Best 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/CAEsRHMWn1PSmBcD%3Db6jLqYwnCD-FsVtgvKXuAe8kybRo%2BmEQDg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAEsRHMWn1PSmBcD%3Db6jLqYwnCD-FsVtgvKXuAe8kybRo%2BmEQDg%40mail.gmail.com?utm_medium=email&utm_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/CADzXRbc5y8rHcasYs80VxuRANSu_%2BxjA%2Bbrc%3D7dEqgcuySaQfg%40mail.gmail.com.


Re: Salutation

2024-09-27 Thread Sreedhar p
Hii

On Sat, Sep 28, 2024, 00:32  wrote:

> hi
>
> --
> 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/CA%2BARzD80pkTOKygrz8YogMFK1WfTpXGdimcPQ4jGXVe0D18GqQ%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/CADzXRbdeAMfhfSdEc6Ykaxv88iBkOXxHFC5WOHq-AM3aoZ99Pw%40mail.gmail.com.


Re: Salutation

2024-09-30 Thread Sreedhar p
Can any one explain how to connect django site with sql in docker containers
I created two containers one for application and one for sql database in
same network the database is exposed in port no 3307 application requests
does not process by database then how to solve this?

On Sat, Sep 28, 2024, 21:21 Abdul Qoyyuum Haji Abdul Kadir <
abdul.qoyy...@gmail.com> wrote:

> Can we not start a hello thread and spam everyone, please? Thank you.
>
> On Sat, 28 Sept 2024 at 23:50, Van Kamanga  wrote:
>
>> Hi
>>
>> Le sam. 28 sept. 2024, 16:29, Shivansh Varshney <
>> shivanshvarshne...@gmail.com> a écrit :
>>
>>> Hii
>>>
>>> On Saturday, September 28, 2024 at 1:12:35 AM UTC+5:30 Sreedhar p wrote:
>>>
>>>> Hii
>>>>
>>>> On Sat, Sep 28, 2024, 00:32  wrote:
>>>>
>>>>> hi
>>>>
>>>> --
>>>>> 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...@googlegroups.com.
>>>>>
>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/django-users/CA%2BARzD80pkTOKygrz8YogMFK1WfTpXGdimcPQ4jGXVe0D18GqQ%40mail.gmail.com
>>>>> <https://groups.google.com/d/msgid/django-users/CA%2BARzD80pkTOKygrz8YogMFK1WfTpXGdimcPQ4jGXVe0D18GqQ%40mail.gmail.com?utm_medium=email&utm_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/42e4df1e-563b-4b37-9fb0-88bf0edfdd3bn%40googlegroups.com
>>> <https://groups.google.com/d/msgid/django-users/42e4df1e-563b-4b37-9fb0-88bf0edfdd3bn%40googlegroups.com?utm_medium=email&utm_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/CA%2BGQzJNWSKruVFo3K1vsQf7eoe5MO8tF7HaAxs7V-1C%3D-_0NJA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CA%2BGQzJNWSKruVFo3K1vsQf7eoe5MO8tF7HaAxs7V-1C%3D-_0NJA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> --
> Abdul Qoyyuum Bin Haji Abdul Kadir
> Nickname: Q
> More about me: https://buymeacoffee.com/qoyyuum
>
> --
> 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/CANVqoJ9_z%3D%3DMC_CfJ69ub0KU%3DR5a31ZPCx-SP-V7741a584Edg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CANVqoJ9_z%3D%3DMC_CfJ69ub0KU%3DR5a31ZPCx-SP-V7741a584Edg%40mail.gmail.com?utm_medium=email&utm_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/CADzXRbeqS%3DQhq%3D1t59EM4LQFGt2DLA5aHTiGpDTAmmTbU2aLKw%40mail.gmail.com.