Re: Hiring react developers

2021-05-13 Thread vineet daniel
Hi Arun

Please share your profile on vineet.dan...@paymeindia.in

On Thu, 13 May 2021, 18:39 Arun Kumar,  wrote:

> Interested
>
> On Thu, 13 May 2021 at 6:12 PM, John McClain 
> wrote:
>
>> Kasper,
>>
>> I think it means I am asking the community for help.
>>
>> Does that clear things up for you?
>>
>> On Thu, 13 May 2021 at 13:37, Kasper Laudrup 
>> wrote:
>>
>>> On 13/05/2021 14.34, John McClain wrote:
>>> > I need help with REACTjs url redirects for SSL
>>> >
>>> > I have reactjs front and django backend
>>> >
>>> > running nginx, gunicorn and cannot get ssl to slide in
>>> >
>>>
>>> Do you think that would make you a good candidate for a frontend
>>> development role using react?
>>>
>>> Kind regards,
>>>
>>> Kasper Laudrup
>>>
>>> --
>>> 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/2387f45e-8047-0d3c-6f9e-792c292c6882%40stacktrace.dk
>>> .
>>>
>>
>>
>> --
>> John McClain
>>
>> Cell: 085-1977-823
>> Skype: jmcclain0129
>> Email: jmcclain0...@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/CAN-hv_rCYzUHu2YQTqT3g-urMtJ6e%2B7t4w34mdHGihv%3DTGN1aw%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/CAKX%3DScZA6mE%2Bq4S9de37Q%2B56STPNxvR0A1AQrhq6NRTa9jv0Ug%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/CAJPbAW-X9sUDmnNznqW5p5w7xTLP6bceLgLtNWZ-MHrEXgMO%2BA%40mail.gmail.com.


Re: Hiring react developers

2021-05-10 Thread vineet daniel
Please share your resume with me on vineet.dan...@paymeindia.in

On Mon, 3 May 2021, 11:14 Akinfolarin Stephen, <
akinfolarinsteph...@gmail.com> wrote:

> Am a react developer .Am interested
>
> On Mon, May 3, 2021 at 6:11 AM vineet daniel 
> wrote:
>
>> Hi Group,
>>
>> Any one interested in Frontend development role using react?
>>
>> Please let me know.
>>
>> --
>> 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/CAJPbAW9RtG-KCB0sB68HeY_kDyscuWBVzg5bZ1WHNqtp21QRRw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAJPbAW9RtG-KCB0sB68HeY_kDyscuWBVzg5bZ1WHNqtp21QRRw%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/CAFujGLxaY1s6yX7RiVksuEBJYJzregf_PpdZXJd-n0QcT9cEkA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAFujGLxaY1s6yX7RiVksuEBJYJzregf_PpdZXJd-n0QcT9cEkA%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/CAJPbAW-AixdHzKjkAiKTtVyF%2BMc-C%2BvNh2c-ZnULwMhAVqoCpA%40mail.gmail.com.


Re: Hiring react developers

2021-05-03 Thread vineet daniel
Hi,

Thanks for the response. Please share your profile and where are you based?

On Mon, 3 May 2021, 11:14 Akinfolarin Stephen, <
akinfolarinsteph...@gmail.com> wrote:

> Am a react developer .Am interested
>
> On Mon, May 3, 2021 at 6:11 AM vineet daniel 
> wrote:
>
>> Hi Group,
>>
>> Any one interested in Frontend development role using react?
>>
>> Please let me know.
>>
>> --
>> 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/CAJPbAW9RtG-KCB0sB68HeY_kDyscuWBVzg5bZ1WHNqtp21QRRw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAJPbAW9RtG-KCB0sB68HeY_kDyscuWBVzg5bZ1WHNqtp21QRRw%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/CAFujGLxaY1s6yX7RiVksuEBJYJzregf_PpdZXJd-n0QcT9cEkA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAFujGLxaY1s6yX7RiVksuEBJYJzregf_PpdZXJd-n0QcT9cEkA%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/CAJPbAW_ecZiRBp_0ChvccX0%2BZgN3yRjV8452hSc1es1Uo11iWw%40mail.gmail.com.


Hiring react developers

2021-05-02 Thread vineet daniel
Hi Group,

Any one interested in Frontend development role using react?

Please let me know.

-- 
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/CAJPbAW9RtG-KCB0sB68HeY_kDyscuWBVzg5bZ1WHNqtp21QRRw%40mail.gmail.com.


Re: Django -adiminstration page is not opening

2020-01-16 Thread vineet daniel
What's in the log, share log or stacktrace. Hard to guess anything.

On Sun, 12 Jan 2020, 18:54 Rishabh Rai,  wrote:

> When i try to access my admin panel after entering username and password
> correctly, instead of taking to next page it shows me fail to load.can any
> one have any suggestions??
>
> --
> 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/3a31e3d5-5d6e-4c83-9dfd-14ecb63e9a49%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/CAJPbAW-z%3DN8p%2BmAfoVdCbwj1HJPt1Ff%3D1jm4cCdt50XvP7E%3DVA%40mail.gmail.com.


Re: Open Source IDE to start with Django Web development

2019-11-07 Thread vineet daniel
VSCode.

On Thu, 7 Nov 2019, 16:39 John McClain,  wrote:

> agreed, but...
>
> pycharm is dedicated to python and vs code is generally suitable for any
> others assuming the person operating can configure their environments.
>
> the person was asking for an IDE suitable for python specifically which is
> why I throughout pycharm
>
> ultimately, I would go with vs code but it takes a bit more knowledge than
> pycharm does
>
> On Thu, 7 Nov 2019 at 11:00, Parth Joshi  wrote:
>
>> VS Code works like a Charm. (Pun intended :-) )
>>
>> There are lint, autocomplete and git extensions which you can use for
>> setting up dev environment.
>>
>> Regards,
>>
>> Parth Joshi
>>
>>
>>
>> On 06-Nov-2019, at 4:22 PM, himanshu goyal  wrote:
>>
>> To Community,
>>
>> Greetings!
>>
>> Could you suggest a good open source IDE for Django? URL to download will
>> be helpful.
>>
>> Thanks,
>> Himanshu
>> India
>>
>> --
>> 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/767f5e59-20b7-4a3a-989a-dedb0e40ceff%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/37EB9045-4C0B-465E-BDF8-C90A73956A45%40gmail.com
>> 
>> .
>>
>
>
> --
> John McClain
>
> Cell: 085-1977-823
> Skype: jmcclain0129
> Email: jmcclain0...@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/CAN-hv_oUtRDmx0y6i1oRZvHTXK-qgiUF%2Bq5r5VJMDrCTjja7Ow%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/CAJPbAW-AN%2BMp4g0%2BNX4nYzfin6dSzxySNLVgn_RXp7NOG7RRsg%40mail.gmail.com.


Re: Djongo and mongodb

2019-11-07 Thread vineet daniel
You need to share code or error. Hard to say anything in response to bery
generic queries.

On Thu, 7 Nov 2019, 18:05 Amit Agarwal,  wrote:

> Hi friends,
> I am using Djongo to connect to MongoDB.
>
> But I am not able to connect it to existing collection.
>
> Can u all plz guide how to do this, or guide me with a useful link.
>
> Also is Djongo good or are there any better framework to use
>
> Thanks
>
> --
> 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/c632867c-4863-4fe4-8853-7aabf731ab6b%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/CAJPbAW9qQ4M1YQJ8dK2kVX3vsxF5xTkz7jqprCN-DZxLzgLasA%40mail.gmail.com.


Re: Creating an app that generates static files

2019-10-18 Thread vineet daniel
and use ssd for maximum I/O as youd creating and deleting files a lot, move
session from db to something like redis and python has concurrency
libraries make use of them as well.

On Fri, 18 Oct 2019, 14:29 vineet daniel,  wrote:

> Dont forget inode and files limit if you are creating too many files real
> quickly.
>
> On Fri, 18 Oct 2019, 13:15 James Gutu,  wrote:
>
>> Jack,
>> That sounds about right.
>>
>> On Thu, Oct 17, 2019 at 11:22 PM Jack Sundberg 
>> wrote:
>>
>>> Thank you, James! This seems like a good fix. From reading through the
>>> documentation (here
>>> <https://docs.djangoproject.com/en/2.2/topics/http/sessions/>), this is
>>> how I understand the workflow -- so correct me if I'm wrong please!
>>>
>>>  > First, I can activate Django sessions by
>>> adding 'django.contrib.sessions' to my installed apps.
>>>  > Django by-default stores session info in the SQLite database --
>>> therefore, each session entry will have an ID assigned to it automatically.
>>>  > I can use each session_id to create a temporary folder in some
>>> directory (say /tmp) where the generated files can be made. So folder
>>> structure will look like:
>>> tmp/
>>> [session_id1]/
>>> file1.tlgf
>>> file2.bin
>>> [session_id2]/
>>> file1.tlgf
>>> file2.bin
>>> 
>>>  > when sessions data hits a certain threshold, I can call
>>> django.contrib.sessions.clearsessions which will delete expired session
>>> entries in the database
>>>  > pull out which entries were deleted and then delete the corresponding
>>> tmp/[session_id] directory
>>>
>>> Is that the best way to do it?
>>>
>>> -Jack
>>>
>>>
>>> On Thursday, October 17, 2019 at 4:42:04 PM UTC-4, James Gutu wrote:
>>>>
>>>> Jack,
>>>>
>>>> From what I understand it looks like a conflict of uniquely named files
>>>> when they are generated simultaneously.
>>>> Could you resolve this by creating a folder named from the session_id,
>>>> with the file inside of that. So that if two users request the same file,
>>>> there will never be a conflict, as the unique file will be created in both
>>>> folders.
>>>>
>>>> [user_1_session_id]/entry123.jpeg
>>>> [user_2_session_id]/entry123.jpeg
>>>>
>>>> Though, this might seem like a fix, but the issue may be more
>>>> fundamental than file names.
>>>> Let me know what you think.
>>>>
>>>> Regards,
>>>> James
>>>>
>>>> On Thu, Oct 17, 2019 at 4:23 PM Jack Sundberg 
>>>> wrote:
>>>>
>>>>> Yes, I tried getting the idea across in layman terms, as I hope this
>>>>> helps discussion of the issue -- and then I can later translate the
>>>>> solution into django implementation.
>>>>>
>>>>> I avoided the full process in my original post for clarity. I used the
>>>>> *.jpeg file as an illustrative example, when I'm actually generating 
>>>>> *.gltf
>>>>> and *.bin files. These files are typically a couple hundred KB in size, 
>>>>> but
>>>>> I will have thousands of them (millions as I add to my database). These
>>>>> files are used in coordination with Verge3D  - an app built on top of
>>>>> Three.js for 3D rendering. Verge3D allows use of Blender for CAD, which is
>>>>> a python-based program that my scripts are written in. Running of these
>>>>> scripts are certainly cpu intensive; however I am going to get around this
>>>>> by using an  of this Verge3D request.
>>>>>
>>>>> So to be more specific, my app does the following:
>>>>>  - the url mapping pulls a database entry
>>>>>  - the app serves the proper html template with an  embedded
>>>>> in it. It displays a loading screen while the 3D model is created backend.
>>>>>  - the  calls a separate app using the identical data entry
>>>>>  - using the data entry, static files are created from the data
>>>>> (Blender script creates a *.gltf and *.bin)
>>>>>  - the app serves the html template with the generated static files
>>>>> embedded inside th

Re: Creating an app that generates static files

2019-10-18 Thread vineet daniel
Dont forget inode and files limit if you are creating too many files real
quickly.

On Fri, 18 Oct 2019, 13:15 James Gutu,  wrote:

> Jack,
> That sounds about right.
>
> On Thu, Oct 17, 2019 at 11:22 PM Jack Sundberg 
> wrote:
>
>> Thank you, James! This seems like a good fix. From reading through the
>> documentation (here
>> <https://docs.djangoproject.com/en/2.2/topics/http/sessions/>), this is
>> how I understand the workflow -- so correct me if I'm wrong please!
>>
>>  > First, I can activate Django sessions by
>> adding 'django.contrib.sessions' to my installed apps.
>>  > Django by-default stores session info in the SQLite database --
>> therefore, each session entry will have an ID assigned to it automatically.
>>  > I can use each session_id to create a temporary folder in some
>> directory (say /tmp) where the generated files can be made. So folder
>> structure will look like:
>> tmp/
>> [session_id1]/
>> file1.tlgf
>> file2.bin
>> [session_id2]/
>> file1.tlgf
>> file2.bin
>> 
>>  > when sessions data hits a certain threshold, I can call
>> django.contrib.sessions.clearsessions which will delete expired session
>> entries in the database
>>  > pull out which entries were deleted and then delete the corresponding
>> tmp/[session_id] directory
>>
>> Is that the best way to do it?
>>
>> -Jack
>>
>>
>> On Thursday, October 17, 2019 at 4:42:04 PM UTC-4, James Gutu wrote:
>>>
>>> Jack,
>>>
>>> From what I understand it looks like a conflict of uniquely named files
>>> when they are generated simultaneously.
>>> Could you resolve this by creating a folder named from the session_id,
>>> with the file inside of that. So that if two users request the same file,
>>> there will never be a conflict, as the unique file will be created in both
>>> folders.
>>>
>>> [user_1_session_id]/entry123.jpeg
>>> [user_2_session_id]/entry123.jpeg
>>>
>>> Though, this might seem like a fix, but the issue may be more
>>> fundamental than file names.
>>> Let me know what you think.
>>>
>>> Regards,
>>> James
>>>
>>> On Thu, Oct 17, 2019 at 4:23 PM Jack Sundberg 
>>> wrote:
>>>
>>>> Yes, I tried getting the idea across in layman terms, as I hope this
>>>> helps discussion of the issue -- and then I can later translate the
>>>> solution into django implementation.
>>>>
>>>> I avoided the full process in my original post for clarity. I used the
>>>> *.jpeg file as an illustrative example, when I'm actually generating *.gltf
>>>> and *.bin files. These files are typically a couple hundred KB in size, but
>>>> I will have thousands of them (millions as I add to my database). These
>>>> files are used in coordination with Verge3D  - an app built on top of
>>>> Three.js for 3D rendering. Verge3D allows use of Blender for CAD, which is
>>>> a python-based program that my scripts are written in. Running of these
>>>> scripts are certainly cpu intensive; however I am going to get around this
>>>> by using an  of this Verge3D request.
>>>>
>>>> So to be more specific, my app does the following:
>>>>  - the url mapping pulls a database entry
>>>>  - the app serves the proper html template with an  embedded in
>>>> it. It displays a loading screen while the 3D model is created backend.
>>>>  - the  calls a separate app using the identical data entry
>>>>  - using the data entry, static files are created from the data
>>>> (Blender script creates a *.gltf and *.bin)
>>>>  - the app serves the html template with the generated static files
>>>> embedded inside the 
>>>>
>>>> Is this helpful? Also thank you for the quick response. I really
>>>> appreciate the help.
>>>>
>>>> -Jack
>>>>
>>>>
>>>> On Thursday, October 17, 2019 at 10:56:56 AM UTC-4, vineet daniel wrote:
>>>>>
>>>>> This problem can happen with any stack and shouldn't be considered as
>>>>> django specific. What you are looking for is a solution in a layman
>>>>> terms.which then can be translated to django implementation.
>>>>>
>>>>> Before that

Re: Django URL not working on my windows 10

2019-10-17 Thread vineet daniel
Scrernshot5 there should.be a comma before name.


On Thu, 17 Oct 2019, 20:26 vineet daniel,  wrote:

> Typo in include in urls.py file instead of incliude it should be include.
> Thats something that i could see immediately.
>
> On Thu, 17 Oct 2019, 20:22 Muhamed Bešić, 
> wrote:
>
>> wtf i have done wrong, i'm getting bored, URL mapping not working anyway,
>> anyone please, review the files and give a solution
>>
>> --
>> 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/478ca311-9b23-4a36-a6e2-018aef44d99d%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/478ca311-9b23-4a36-a6e2-018aef44d99d%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/CAJPbAW8RF7hcWxZDO6C7xGpoy1iCsWQXxCXuGUMF1ryAEzrVOg%40mail.gmail.com.


Re: Django URL not working on my windows 10

2019-10-17 Thread vineet daniel
Typo in include in urls.py file instead of incliude it should be include.
Thats something that i could see immediately.

On Thu, 17 Oct 2019, 20:22 Muhamed Bešić, 
wrote:

> wtf i have done wrong, i'm getting bored, URL mapping not working anyway,
> anyone please, review the files and give a solution
>
> --
> 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/478ca311-9b23-4a36-a6e2-018aef44d99d%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/CAJPbAW_1VOcYP5MvHNN7i4WD_RuDyBEQ%3DF9naH0sOSRYiD0vAA%40mail.gmail.com.


Re: Creating an app that generates static files

2019-10-17 Thread vineet daniel
This problem can happen with any stack and shouldn't be considered as
django specific. What you are looking for is a solution in a layman
terms.which then can be translated to django implementation.

Before that i would like to know image size and kind of image that you
create. Is it some qr code or what?

Please note that working with images on the fly is always a cpu intensive
operation. Ill can come up with something once you share the details with
me.

On Thu, 17 Oct 2019, 20:00 Jack Sundberg,  wrote:

> Hi all,
>
> I am currently writing an app that generates static files before serving
> them, and I could use some input! Here's a step-by-step example of how the
> app is setup:
>
>  - the url mapping pulls a database entry
>  - using the data entry, static files are created from the data (for
> example, a *.jpeg or a *.gltf)
>  - the app serves the html template with the generated static files
> embedded (for example, via an  tag)
>
> The issue comes with the creation of the unique static files. I can have
> the app create a file in the static folder, send it off, then delete the
> file to ready for the next request -- but the webpage will run into issues
> if multiple requests are made at the same time. If two people request the
> same url at the same time, the app will fail because both requests are
> trying to create/serve/delete an identical file (i.e. entry123.jpeg) at the
> same time. Trying to mess with the filename to avoid this won't work here
> either (i.e. naming entry123.01.jpeg, entry123.02.jpeg, entry123.03.jpeg,
> ...).
>
> I can think of two solutions, but they both are things I'd like to avoid:
>  1. have the files premade and stored -- I want to avoid this because of
> the massive filesize required for all these files
>  2. have the static files generated in a user-specific directory -- I want
> to avoid this because I'd rather not have registered users on my website
>
> Is there another solution to this? I'm still relatively new with Django,
> so there might be something simple I'm missing.
>
> -Jack
>
> --
> 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/190637d2-bd9b-499a-a122-1dc7adf2aca5%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/CAJPbAW-4yXAVTNnTpHt6WJj88iNxres7xUGCVaqeLMVX7D_k4g%40mail.gmail.com.


Re: Should there be separate django app for every user type in a django project?

2019-10-15 Thread vineet daniel
There aren't any mandatory rules but standards to make code maintainable,
following standards you shouldn't do it but depends upon how much work you
need to do for each user type and how much closely they are linked to each
other. if there is no or minimal link and a lot of switching will be needed
then its better to keep them separate. Putting if-else or switch-case
everywhere will stop making sense once your project ages and you've written
a lot of lines of code. IF its a small project then go with standard. I
have these suggestions to make but please feel free to do whatever you want
and you are comfortable in doing just keep it mind that it should be easy
to maintain for other developers as well.

Regards
Vineet Daniel
Cell  : +918527565696
Websites : Blog <http://vineetdaniel.blogspot.com>   |   Linkedin
<http://in.linkedin.com/in/vineetdaniel>  |  Twitter
<https://twitter.com/vineetdaniel>




On Tue, Oct 15, 2019 at 6:19 PM Andréas Kühne 
wrote:

> Hi,
>
> That is for you to decide - that's a project specific decision.
>
> However I wouldn't do that - I would filter the html templates and only
> display the items that should be displayed to each user type. Then I would
> add checks to the views so that the user is the correct type to display the
> view.
>
> So I would group functionality for each application - so that one
> application handles users for example, another books, another authors for
> example.
>
> Regards,
>
> Andréas
>
>
> Den mån 14 okt. 2019 kl 19:11 skrev test user :
>
>> Yes, i have checked this article many times. It tells you how to
>> implement user model to handle multiple user types not on how the apps
>> should be laid out in that case.
>>
>> My question was if you have 5 types of users in your website and each
>> user has different interfaces and tasks to perform. Should code layout be
>> with one Django app or split up into 5 apps along with the common app which
>> handles the common functionality?
>>
>>
>> On Monday, October 14, 2019 at 8:11:46 AM UTC+5, Joalbert Palacios wrote:
>>>
>>> I think you don't need several apps for each user type. You have
>>> different ways to approach it, one could be used with permisology policy
>>> for each model and each user type in the Django app, other one could be
>>> managing the policies by yourself.
>>>
>>> I suggest to search in Google a entry in the blog
>>> simpleisbetterthancomplex.com ir read documentation in django for
>>> further details.
>>>
>>> I hope this helps.
>>>
>>>
>>>
>>> On Sun, Oct 13, 2019, 8:33 PM test user  wrote:
>>>
>>>> Hi,
>>>>
>>>> I have got multiple user types(around 4 to 5) in my Django project.
>>>> Should i make separate Django app for each user type? Each user type will
>>>> have different interface after they log into the website.
>>>>
>>>> --
>>>> 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...@googlegroups.com.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/django-users/f7dc3b18-ab79-42ea-9ba2-7d3b2b8187fb%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/django-users/f7dc3b18-ab79-42ea-9ba2-7d3b2b8187fb%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/76a5c431-c69e-49f5-beca-8ae883bf0997%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/76a5c431-c69e-49f5-beca-8ae883bf0997%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/CAK4qSCcWORD272fWiQ1QgZCMiy8mjPxiue01daDuWfkdx4gNmg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAK4qSCcWORD272fWiQ1QgZCMiy8mjPxiue01daDuWfkdx4gNmg%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/CAJPbAW-_2nu6Rvyqb4fsNcDisfT8MCwfbX8NEmQO5LxVJ6X12g%40mail.gmail.com.


Re: Micro Service Architecture

2019-10-14 Thread vineet daniel
Have a look at this https://pypi.org/project/django-grpc/

Regards
Vineet Daniel
Cell  : +918527565696
Websites : Blog <http://vineetdaniel.blogspot.com>   |   Linkedin
<http://in.linkedin.com/in/vineetdaniel>  |  Twitter
<https://twitter.com/vineetdaniel>




On Mon, Oct 14, 2019 at 6:40 PM Uzama Zaid Mohammed Jaward <
uzamajaw...@gmail.com> wrote:

> Great guys. Is Apache Kafka is good for inter communication among Django
> micro services or is there any better technology exists?
>
> On Sat, Oct 12, 2019 at 20:05, lemme smash  wrote:
>
>> go
>> ^^)
>>
>> On Friday, October 11, 2019 at 8:39:33 PM UTC+3, Uzama Zaid Mohammed
>> Jaward wrote:
>>>
>>> Hi all
>>>
>>> What are the tech stack is good for micro service architecture in Django
>>>
>> --
>> 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/7a283541-e2d8-4d9b-9428-5a1d4c00d619%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/7a283541-e2d8-4d9b-9428-5a1d4c00d619%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/CAOHA2_2Rw3JEKEBw5ed-FY9NWiMFBhfBODooXbAdcYxuXY%3DdPw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAOHA2_2Rw3JEKEBw5ed-FY9NWiMFBhfBODooXbAdcYxuXY%3DdPw%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/CAJPbAW-RtcnjxQ_pyAYHhU4OxxXU-W-zioXXWj5NCxW3WFrC-Q%40mail.gmail.com.


Re: Docker

2019-10-14 Thread vineet daniel
in reference to kubernetes cluster as well? with multiple containers?
developer pushes the code to git and that invokes kube pipeline where does
volume come into picture here. I might be wrong here and that's why need
clarity on this. May be we are thinking differently.

Regards
Vineet Daniel
Cell  : +918527565696
Websites : Blog <http://vineetdaniel.blogspot.com>   |   Linkedin
<http://in.linkedin.com/in/vineetdaniel>  |  Twitter
<https://twitter.com/vineetdaniel>




On Mon, Oct 14, 2019 at 2:40 PM Nick Sarbicki 
wrote:

> You would use volumes in the same way regardless of how git is used and
> your CI/CD is setup.
>
> Documentation on volumes in docker is here:
> https://docs.docker.com/storage/volumes/ and for compose here:
> https://docs.docker.com/compose/compose-file/#volume-configuration-reference
>
> On Monday, October 14, 2019 at 8:15:46 AM UTC+1, vineet daniel wrote:
>>
>> How would one use volumes if containers are to initiated after git
>> merge/push ? (CI/CD setup).
>>
>> Regards
>> Vineet Daniel
>> Cell  : +918527565696
>> Websites : Blog <http://vineetdaniel.blogspot.com>   |   Linkedin
>> <http://in.linkedin.com/in/vineetdaniel>  |  Twitter
>> <https://twitter.com/vineetdaniel>
>>
>>
>>
>>
>> On Thu, Oct 10, 2019 at 10:13 PM Nick Sarbicki 
>> wrote:
>>
>>> Don't use git inside the container, this is not the standard way of
>>> doing things.
>>>
>>> Docker has its own guide for using django with compose. This works fine
>>> for a single server setup: https://docs.docker.com/compose/django/
>>>
>>> - Nick
>>>
>>>
>>> On Thu, Oct 10, 2019 at 5:09 PM vineet daniel 
>>> wrote:
>>>
>>>> Use git to clone the code within the container to fetch latest copy of
>>>> code.
>>>>
>>>> On Thu, 10 Oct 2019, 20:59 balogun tobi,  wrote:
>>>>
>>>>> How does one deploy an already developed django app using Docker?
>>>>>
>>>>> --
>>>>> 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...@googlegroups.com.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/django-users/da969e88-ccdc-4cac-9a37-6096b3704de1%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/django-users/da969e88-ccdc-4cac-9a37-6096b3704de1%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...@googlegroups.com.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/django-users/CAJPbAW9mQwb4%2BLOuS0-3c0W0pW3Dt_GQfMhZ%3D_ZBw%2BvnLVxuhA%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/django-users/CAJPbAW9mQwb4%2BLOuS0-3c0W0pW3Dt_GQfMhZ%3D_ZBw%2BvnLVxuhA%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...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAGuvt903iPdjT%3DNu4iHun%2BkJ-O8EtH-AN7TOmhto7oShqYKsDQ%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CAGuvt903iPdjT%3DNu4iHun%2BkJ-O8EtH-AN7TOmhto7oShqYKsDQ%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/ecc10a91-ca14-4c84-845d-5fed90ec12f2%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/ecc10a91-ca14-4c84-845d-5fed90ec12f2%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/CAJPbAW-R9zbws6z_xe_MMExiktOd%3DM58ERfzKz7yaP50ntz_qg%40mail.gmail.com.


Re: Docker

2019-10-14 Thread vineet daniel
How would one use volumes if containers are to initiated after git
merge/push ? (CI/CD setup).

Regards
Vineet Daniel
Cell  : +918527565696
Websites : Blog <http://vineetdaniel.blogspot.com>   |   Linkedin
<http://in.linkedin.com/in/vineetdaniel>  |  Twitter
<https://twitter.com/vineetdaniel>




On Thu, Oct 10, 2019 at 10:13 PM Nick Sarbicki 
wrote:

> Don't use git inside the container, this is not the standard way of doing
> things.
>
> Docker has its own guide for using django with compose. This works fine
> for a single server setup: https://docs.docker.com/compose/django/
>
> - Nick
>
>
> On Thu, Oct 10, 2019 at 5:09 PM vineet daniel 
> wrote:
>
>> Use git to clone the code within the container to fetch latest copy of
>> code.
>>
>> On Thu, 10 Oct 2019, 20:59 balogun tobi,  wrote:
>>
>>> How does one deploy an already developed django app using Docker?
>>>
>>> --
>>> 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/da969e88-ccdc-4cac-9a37-6096b3704de1%40googlegroups.com
>>> <https://groups.google.com/d/msgid/django-users/da969e88-ccdc-4cac-9a37-6096b3704de1%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/CAJPbAW9mQwb4%2BLOuS0-3c0W0pW3Dt_GQfMhZ%3D_ZBw%2BvnLVxuhA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAJPbAW9mQwb4%2BLOuS0-3c0W0pW3Dt_GQfMhZ%3D_ZBw%2BvnLVxuhA%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/CAGuvt903iPdjT%3DNu4iHun%2BkJ-O8EtH-AN7TOmhto7oShqYKsDQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAGuvt903iPdjT%3DNu4iHun%2BkJ-O8EtH-AN7TOmhto7oShqYKsDQ%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/CAJPbAW9Zd9g%2BZ6hga7AHKfBRUkMy%3DQ%3DHK7SZKYGcLyx2ACxRKg%40mail.gmail.com.


Re: Micro Service Architecture

2019-10-12 Thread vineet daniel
To fully implement microservices you need django apis behind a proxy or
load balancer or another api which can route request from nginx or kong to
your backend microservices. Each microservice can be in docker container
and all of it running on kubernetes. Frontend can be either angular, vue or
react.

To take it another level you can use grpc as well for inter service
communications.

On Fri, 11 Oct 2019, 23:08 Uzama Zaid Mohammed Jaward, <
uzamajaw...@gmail.com> wrote:

> Hi all
>
> What are the tech stack is good for micro service architecture in Django
>
> --
> 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/CAOHA2_2tFnyeEsKZXx2BrCTp_WitdSuLkzNVZ4%3DaJ1g3L4iYOg%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/CAJPbAW-s6TiRL5ZOWrvVT884mWpAwHvxQ0EjK_aoAdafRhYuAA%40mail.gmail.com.


Re: Docker

2019-10-10 Thread vineet daniel
Use git to clone the code within the container to fetch latest copy of
code.

On Thu, 10 Oct 2019, 20:59 balogun tobi,  wrote:

> How does one deploy an already developed django app using Docker?
>
> --
> 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/da969e88-ccdc-4cac-9a37-6096b3704de1%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/CAJPbAW9mQwb4%2BLOuS0-3c0W0pW3Dt_GQfMhZ%3D_ZBw%2BvnLVxuhA%40mail.gmail.com.


Re: integrate vue js with django

2019-07-14 Thread vineet daniel
You might want to have a look at this tutorial series.
https://scotch.io/bar-talk/build-an-app-with-vuejs-and-django-part-one

Regards
Vineet Daniel
Cell  : +918527565696
Websites : Blog <http://vineetdaniel.blogspot.com>   |   Linkedin
<http://in.linkedin.com/in/vineetdaniel>  |  Twitter
<https://twitter.com/vineetdaniel>




On Mon, Jul 15, 2019 at 10:40 AM Pradeep Singh 
wrote:

> can anyone tell me how to integrate vue js with django
>
> 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 post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CANwgZcamvs1K6Q_NtCN93W%3D7TkmaL%3D69Mzy8mK31mAPatjB0JQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CANwgZcamvs1K6Q_NtCN93W%3D7TkmaL%3D69Mzy8mK31mAPatjB0JQ%40mail.gmail.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJPbAW9u-diqg6MuydLxg3SvsSmGtKhvzoZnz7kX6cOc%3DT-EKg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: NEWBIE

2019-07-09 Thread vineet daniel
First of all its Django and not Gjango and rather than getting mastery over
a framework in two months Id suggest that you start with python or any
programming language which has OOPs. If you are not sure what that is then
start from very basic of programming. There is no shortcut to success. Have
patience and prepare for a lot of efforts and time. Once you are
comfortable with basics of programming then bump this question again. Best
of luck.

On Tue, 9 Jul 2019, 16:30 Afotro Ben,  wrote:

> Hello,i am new to programming and want to take learn and master web
> development with Gjango.Can anyone here tell me what it takes to doing it
> in 2 months?
>
> --
> 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 post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/db91f5d5-c494-4d34-8188-3e9b4279cf3d%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJPbAW8jktY7hG2u5-7-qRKEiK9Dbk%2BB6x%3Deapv2ArB77fUL8Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.