Re: Python Django Training

2020-02-28 Thread yashwanth .k
Hi,
I am also interested in joining.
Please add me to the group.

On Fri, Feb 21, 2020 at 7:19 PM Isaac Ndutumo 
wrote:

> Hello, I am interested in learning Python with you.  Add me
>
> On Fri, Feb 21, 2020 at 4:42 PM Bharati Nilam 
> wrote:
>
>> Hi,
>> I also from Hyderabad and I'm also interested in the training. please
>> tell me how to join?
>>
>> Regards,
>> Bharati
>>
>> On Thu, 20 Feb, 2020, 6:19 PM Thiagu Palaniappan, <
>> thiagarajan@gmail.com> wrote:
>>
>>> I'm also interested. Please add me in the group.
>>>
>>>
>>> Thanks & Regards,
>>> Thiagu
>>>
>>> On Mon, Feb 17, 2020 at 12:41 AM Akshay Raul 
>>> wrote:
>>>
 I am interested also. Please let me know the details.

 On Sat 1 Feb, 2020, 2:42 PM Srikanth K,  wrote:

> Hi,
>
> I am from Hyderabad. I am Python Developer by Profession. I am eager
> take up any Python , Django Training (online Preferrable or Weekends).
> Members who require can contact me or share me  there idea.
>
> Regards,
> Srikanth.K
>
> --
> 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/CACPyz-gXb7wo9E0Uhs_pnxF9X52uA10__Fq1xt4trjXUaN3ehQ%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/CAEd%2Bv%3D0gE2dEMXKJ0Nm8FcH2ZxUPAdQspkQKB%2Bg5pZbSc_uZnQ%40mail.gmail.com
 
 .

>>>
>>>
>>> --
>>>
>>> Thanks & Regards,
>>>
>>> *Thiagu Palaniappan*
>>>
>>> M +91 (0) 9994318799
>>>
>>> *DXC Technology*
>>> 8th Floor, Tower 1 B DLF IT Park, 1/124 - Shivaji Garden, Nandambakkam
>>> post, Ramapuram, Chennai - 600 089.
>>>
>>> dxc.technology  / Twitter
>>>  / Facebook
>>>  / LinkedIn
>>> 
>>>
>>> --
>>> 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/CAK%3DQXNMzH-iL6BQ3_vfrvTpeY%2BSe5%3DbZm9h5wPW_Dw%2BM2BsvQg%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/CAPGVBeOgomb94NXAm347QqGcJ%3D3MzxULU7eQnY-M56EbC2D9vg%40mail.gmail.com
>> 
>> .
>>
>
>
> --
> Kind Regards
> Isaac
>
> --
> 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/CAMje%2B21OuhTCJiBWZsxCf_%2BQddy97f8piyi2oxSY265g6JY6xQ%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/CALgTQAKhFUE-3Jqcef0bWPo7tVaMXPR4MfBp3SaWkCAOk5T%2Bkg%40mail.gmail.com.


Re: Django framework with machine learning

2020-04-28 Thread yashwanth .k
Can you please post some shots of output.

On Tue, Apr 28, 2020 at 12:01 AM Lansana Sangare 
wrote:

> Good evening,
>
> I am a new developer in Django but I have the basic knowledge.
>
> I wanted to know if someone has experience with django and machine
> learning.
>
> I have a script in python that shows a video with keypoints and 3D
> reconstruction.
>
> Is it possible with django framework to execute and display this script on
> a web interface.
>
>  Thank you 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/1ea065ee-79a2-48ca-9b9e-c03a761ee741%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/CALgTQAL7LBCx8pVWbPA2H1sbLKWLL-KHD8Nnz3BSsh%2B3Tr_-_g%40mail.gmail.com.


Re: Required Python Django developers

2020-06-06 Thread yashwanth .k
Hello, 
I have 4 years experience in Django and Python. I think I am best fit for the 
requirement. Thank you.

> On 06-Jun-2020, at 9:20 PM, Nagaraju Singothu  
> wrote:
> 
> Sir, I'm interested I have 2+ yrs experience python and django developer
> 
> On Sat 6 Jun, 2020, 8:39 PM maninder singh Kumar   wrote:
> Dear all,
> 
> We require python django developers for a HR project.  Please answer to 
> maninder.s.ku...@gmail.com  if interested.
> 
> regards
> Willy
> 
> -- 
> 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/CABOHK3R1pdwbzavYP48KA_g_pLm_5kkqNSxwhGdcRf4mfetw6w%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/CAMyGuAY5cd8gs2U-x3yW%2B0JhETXFBXzGUMb%3DhwZAmQG2hvGz3g%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/7888A15C-09B4-451F-AE05-1C617F188BF7%40gmail.com.


Re: Project Collaboration Team

2020-06-23 Thread yashwanth .k
I am interested... my Medium publication on Django ---
https://medium.com/django-launcher. Regards. Looking forward to
contributing to your projects.

On Tue, Jun 23, 2020 at 7:38 PM Desh Deepak  wrote:

> Interested
>
> On Tue, 23 Jun 2020, 9:44 am Shubhanshu Arya, 
> wrote:
>
>> Hello Everyone,
>> I want to make a team in which we will make some very good level projects
>> together. These projects will be very helpful in our interview as well.
>> Must have prior knowledge about Django/Python. We will do daily meetings
>> and discuss our project and we will use Github to team collaborations . If
>> someone is interested to join this team please email me on
>> shubhanshuarya...@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/53b14968-ae6f-428a-be58-5edd290f2487o%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/CAJ0m4xhED5x9s1RQGQPC5fzZ_46sqU3ATVeeZ3k%3DaTq1PpctaA%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/CALgTQA%2BoZ1pnvnzUHGyf8ALpRp8W5ogrPwLOkTPX3SLKGCApwQ%40mail.gmail.com.


Re: Project Collaboration Team

2020-06-23 Thread yashwanth .k
I am not able to share project idea in this telegram app.

On Tue, Jun 23, 2020 at 7:57 PM Shubhanshu Arya 
wrote:

> Okay, Please join this group. https://t.me/joinchat/AEjSR4Dgtjuw8-Cs3Q
>
>
> On Tue, Jun 23, 2020 at 7:49 PM yashwanth .k 
> wrote:
>
>> I am interested... my Medium publication on Django ---
>> https://medium.com/django-launcher. Regards. Looking forward to
>> contributing to your projects.
>>
>> On Tue, Jun 23, 2020 at 7:38 PM Desh Deepak 
>> wrote:
>>
>>> Interested
>>>
>>> On Tue, 23 Jun 2020, 9:44 am Shubhanshu Arya, <
>>> shubhanshuarya...@gmail.com> wrote:
>>>
>>>> Hello Everyone,
>>>> I want to make a team in which we will make some very good level
>>>> projects together. These projects will be very helpful in our interview as
>>>> well. Must have prior knowledge about Django/Python. We will do daily
>>>> meetings and discuss our project and we will use Github to team
>>>> collaborations . If someone is interested to join this team please email me
>>>> on shubhanshuarya...@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/53b14968-ae6f-428a-be58-5edd290f2487o%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/django-users/53b14968-ae6f-428a-be58-5edd290f2487o%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/CAJ0m4xhED5x9s1RQGQPC5fzZ_46sqU3ATVeeZ3k%3DaTq1PpctaA%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CAJ0m4xhED5x9s1RQGQPC5fzZ_46sqU3ATVeeZ3k%3DaTq1PpctaA%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/CALgTQA%2BoZ1pnvnzUHGyf8ALpRp8W5ogrPwLOkTPX3SLKGCApwQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CALgTQA%2BoZ1pnvnzUHGyf8ALpRp8W5ogrPwLOkTPX3SLKGCApwQ%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/CAFnUNrg4jOcY6wQafpXL7e%2BttDekGf_TArDtspbPvudCS2T3YQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAFnUNrg4jOcY6wQafpXL7e%2BttDekGf_TArDtspbPvudCS2T3YQ%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/CALgTQAK2BtvE3P4wJA%3D37dj-U-uHrFEGTo%2Bpmy%3DV1wBpsw_n-Q%40mail.gmail.com.


Re: Django/python free Training

2020-12-23 Thread yashwanth .k
I am interested!
Add me as well.

On Wed, Dec 23, 2020 at 2:14 PM narendra thapa 
wrote:

> interested to connect with you
>
>
> On Wed, Dec 23, 2020 at 3:07 AM kerolos emad <55522ash...@gmail.com>
> wrote:
>
>> very nice to hear that
>> interested
>>
>> On Fri, Dec 18, 2020, 4:26 PM Python Class 
>> wrote:
>>
>>> Hi guys,
>>>
>>> I am manucho from Kenya and am good developer with django and python and
>>> i want to teach people what i know .I want to start a youtube channel for
>>> Django and python based tutorials ..If intrested you can message me here on
>>> concepts and projects you want covered and i will start immediately.
>>>
>>> Regards,
>>> Manucho.
>>>
>>> --
>>> 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/5c715780-23c4-4d31-9219-a1e7b92c14f1n%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/CABUMrQKfEBSpjvR_gc5%2BjB2R6dvEqpkpsVC4OfEcVmWpQ4hg7Q%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/CAEtntjWmWYnk2fuBa9%2BA3RT7HakNWB8kkbCHa35EU%3Dzm1Ddyxw%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/CALgTQAJR_80bB1asm0kvsvcnq-QMQfN7FWn812bVRgTsiU1w3A%40mail.gmail.com.


Re: IS it possible to debug Django with Apache and mod_wsgi

2021-02-13 Thread yashwanth .k
Hello Ognjen Bjelica,
I think we can check for line by line using manage.py -> shell. Where we
have to individually import and check for consistency.

On Fri, Feb 12, 2021 at 11:24 PM Ognjen Bjelica 
wrote:

> Hi Rob,
> Thanks for the quick reply, but I was looking for a way to run code line
> by line. Because DEBUG=True is useful only in some situations.
>
>
> On Fri, Feb 12, 2021, 17:19 Rob Wilkinson 
> wrote:
>
>> Sorry meant DEBUG=True   :)
>>
>> On Fri, Feb 12, 2021 at 10:39 AM Rob Wilkinson <
>> wilkyconsulta...@gmail.com> wrote:
>>
>>>
>>> DEBUG=Yes in settings.py shows what you need even in Apache
>>>
>>> Don’t run like that in prod!
>>>
>>>
>>> On Fri, Feb 12, 2021 at 10:36 AM Ognjen B. 
>>> wrote:
>>>
 Hi everyone,
 I was wondering can anyone point me to a document describing how to
 setup debugging using any IDE (VS Code, PyCharm, etc) or at least from
 console when using Django with Apache and mod_wsgi? Or if it's not possible
 please let me know so I don't waste any more time.

 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/4ccfa917-06b4-4182-a76d-7b1a4c41eff5n%40googlegroups.com
 
 .

>>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Django users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/django-users/XXq-_CJwSh4/unsubscribe.
>> To unsubscribe from this group and all its topics, 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/CAAdSEeZLJLMSUBHAgNaBG4CZYF%2B%3D1tcqTPDYAr06-jJvBRSOmA%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/CAOW%2BycFVYZw0uCwPNrLz93sUCMthP-2cp1CrtPe7YqhiYAomMA%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/CALgTQAKhJYai0tLjZ3PtgJA%2BgB%3DfMcnLu2DMiERqMJLAqtguXA%40mail.gmail.com.


Re: Django 2.2.6 fails to serve some static files in Windows 10

2019-10-04 Thread yashwanth .k
Hi, 
once you try with href="/static/css/styles.css">
and discard STATIC_URL completely. Check whether the css is rendered or 
not? If yes, then the static-files of your project are not loaded properly.
If no, then it is definitely a bug in(2.2.6). 
Thank you.

On Friday, October 4, 2019 at 7:15:59 PM UTC+5:30, red sky wrote:
>
> I think this might be a bug.
>
> It renders the static css files if I configure it as
>
> STATIC_URL = 'static/'
>
> and then change my code to href="/static/css/styles.css">
>
> This breaks compatibility with django toolbar, though...
>
> I think this might be a bug.
>
> El jueves, 3 de octubre de 2019, 23:13:19 (UTC+2), red sky escribió:
>>
>> Thank you, to Ajjet and Desh.
>>
>> That solution doesn't work.
>>
>> I keep getting the error: [03/Oct/2019 23:08:39] "GET 
>> /static/css/styles.css HTTP/1.1" 404 1767
>>
>> If I request the file "manually" (
>> http://127.0.0.1:8000/static/css/styles.css), I still get the error.
>>
>>
>> El jueves, 3 de octubre de 2019, 7:31:07 (UTC+2), Ajeet Kumar Gupt 
>> escribió:
>>>
>>> Hi,
>>>
>>> Use the below code 
>>>
>>> href="{% static 'css/styles.css' %}"  
>>>
>>> On Wed, Oct 2, 2019 at 8:06 PM red sky  wrote:
>>>
 My system: Windows 10 1903. Python 3.7.4, 64 bit.

 My directory structure:
 %USERPROFILE%/Desktop/myproject/manage.py
 %USERPROFILE%/Desktop/myproject/some_app (...)
 %USERPROFILE%/Desktop/myproject/myproject/db.sqlite3
 %USERPROFILE%/Desktop/myproject/myproject/urls.py
 %USERPROFILE%/Desktop/myproject/myproject/static (...)
 %USERPROFILE%/Desktop/myproject/myproject/static/css (...)
 %USERPROFILE%/Desktop/myproject/myproject/media (...)
 %USERPROFILE%/Desktop/myproject/myproject/some_apps (...)
 %USERPROFILE%/Desktop/myproject/myproject/settings/
 %USERPROFILE%/Desktop/myproject/myproject/settings/__init__.py
 %USERPROFILE%/Desktop/myproject/myproject/settings/settings_base.py
 %USERPROFILE%/Desktop/myproject/myproject/settings/settings_devel.py

 %USERPROFILE%/Desktop/myproject/myproject/settings/settings_production.py


 My urls.py (last part):
 if ENVIRONMENT=="development":
 import debug_toolbar
 urlpatterns += [path('__debug__/',include (debug_toolbar.urls))]
 urlpatterns += static(MEDIA_URL,document_root=MEDIA_ROOT)
 urlpatterns += static(STATIC_URL,document_root=STATIC_ROOT)
 urlpatterns += router.urls

 My settings:

 STATIC_URL = '/static/'
 STATIC_ROOT = os.path.join(BASE_DIR , 'static')
 MEDIA_ROOT = BASE_DIR + '/media/'
 (...)
 MEDIA_URL='/media/'

 I also tried with and without the following setting in several variants:
 STATIFCILES_DIRS = ["","//",STATIC_ROOT,
 "%userprofile%\\Desktop\\myproject\\myproject\\"]

 The template: The error happens both with  href=
 "/static/css/styles.css" and {% load static %} (...) href="{% static 
 css/styles.css}" . I think the template is not the problem here.

 The error:"GET /static/css/styles.css HTTP/1.1" 404 1767

 The error takes place also with static requests (
 http://127.0.0.1:8000/static/css/styles.css)

 Strange behaviour: 
 If I change the setting static_url to STATIC_URL = "static/" the css 
 file is served. However, debug_toolbar ceases to serve her own static 
 files 
 and doesn't work anymore ("GET 
 /myproject/static/debug_toolbar/img/ajax-loader.gif HTTP/1.1" 404 14554)

 I have tried many things, to no avail.

 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...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/django-users/aa231cc0-c3bf-4d3d-8bf0-6578d1952eff%40googlegroups.com
  
 
 .

>>>
>>>
>>> -- 
>>>
>>>
>>>
>>>
>>>
>>>
>>> *Thanks & Regards*
>>> Ajeet Kumar Gupt
>>> +91-9311232332
>>>
>>

-- 
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/cb48ea49-222a-4348-840b-20ef828250b0%40googlegroups.com.


How to generate a unique 9 digit random id for every registered user?

2019-10-04 Thread yashwanth .k
Hello,

My model consists of user details such as username and his id which is 
auto-generated by DB(indexing). 
Apart from this, I need to assign a random unique 9 digit number for every 
user.
The reason for assigning a random number to a registered user is to search 
a particular user using his permanent random id which we have generated.

Solutions with the model description will be very helpful.


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/8eb92ef2-ffe0-431d-b4aa-3d6c5a119c3f%40googlegroups.com.


Re: How to generate a unique 9 digit random id for every registered user?

2019-10-04 Thread yashwanth .k
Hello Aldian Fazrihady,
Your code is working,
How to link this code to my user so that when I search the code I should
grab user profile.
Thank you so much for sharing the approach.

On Fri, Oct 4, 2019 at 8:41 PM Aldian Fazrihady  wrote:

> import random
> import string
>
> from django.db import models
>
>
> def generate_random_code():
> return ''.join(random.choices(string.ascii_uppercase + string.digits, 
> k=9))
>
>
> class MyModel(models.Model):
> code = models.CharField(
> max_length=9, default=generate_random_code, db_index=True
> )
>
> Hi, please try the code above.
>
> On Fri, Oct 4, 2019 at 9:53 PM yashwanth .k 
> wrote:
>
>> Hello,
>>
>> My model consists of user details such as username and his id which is
>> auto-generated by DB(indexing).
>> Apart from this, I need to assign a random unique 9 digit number for
>> every user.
>> The reason for assigning a random number to a registered user is to
>> search a particular user using his permanent random id which we have
>> generated.
>>
>> Solutions with the model description will be very helpful.
>>
>>
>> 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/8eb92ef2-ffe0-431d-b4aa-3d6c5a119c3f%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/8eb92ef2-ffe0-431d-b4aa-3d6c5a119c3f%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> --
> Regards,
>
> Aldian Fazrihady
> http://aldianfazrihady.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/CAN7EoAYykEHF8qxAEc%2BPh71ue%3DKLzpT3P5MuE2Dw58gG2HmUEw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAN7EoAYykEHF8qxAEc%2BPh71ue%3DKLzpT3P5MuE2Dw58gG2HmUEw%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/CALgTQA%2B2qSnsWRqNXaXpSzUpx3w_VQogfGbKRWVX4OX3mgVVsQ%40mail.gmail.com.


Re: How to generate a unique 9 digit random id for every registered user?

2019-10-04 Thread yashwanth .k
Hello Uri, 
Thank you soo much,
your work made my work easy.
Thank you!

On Saturday, October 5, 2019 at 9:41:22 AM UTC+5:30, Uri wrote:
>
> Hi,
>
> In Speedy Net we generate a unique random ID with 15 digits and this is 
> used as the table's primary key. We don't use the DB's auto-generated ID.
>
> The first digit of the random ID we generate is never zero.
>
> https://github.com/speedy-net/speedy-net 
>
> https://github.com/speedy-net/speedy-net/blob/master/speedy/core/base/utils.py
>  
>
> https://github.com/speedy-net/speedy-net/blob/master/speedy/core/base/models.py#L33-L48
>  
>
> https://github.com/speedy-net/speedy-net/blob/master/speedy/core/accounts/models.py
>  
> אורי
> u...@speedy.net 
>
>
> On Fri, Oct 4, 2019 at 5:53 PM yashwanth .k  > wrote:
>
>> Hello,
>>
>> My model consists of user details such as username and his id which is 
>> auto-generated by DB(indexing). 
>> Apart from this, I need to assign a random unique 9 digit number for 
>> every user.
>> The reason for assigning a random number to a registered user is to 
>> search a particular user using his permanent random id which we have 
>> generated.
>>
>> Solutions with the model description will be very helpful.
>>
>>
>> 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...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/8eb92ef2-ffe0-431d-b4aa-3d6c5a119c3f%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-users/8eb92ef2-ffe0-431d-b4aa-3d6c5a119c3f%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/93fa36de-feac-4120-b441-48e39b039eb4%40googlegroups.com.


Re: My first django website

2019-10-06 Thread yashwanth .k
Nice!,
How did you enable post view as pdf,
Need some help,
Thank you!

On Sun, Oct 6, 2019 at 5:45 AM Ehab Al-Qabbani  wrote:

> https://my-private-blog.herokuapp.com/
>
> Please try it
>
>
>
> Warmest Regards,
> Ehab
>
> --
> 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/DB7PR07MB388428ECD7DB6A10C8221A41AB980%40DB7PR07MB3884.eurprd07.prod.outlook.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/CALgTQAKCrvW3sDdRqaZZoAoWm1JO0Z4ytB%2BR%3DWC3cBX-2EdHdg%40mail.gmail.com.


Re: My first django website

2019-10-06 Thread yashwanth .k
Thank you!

On Sun, Oct 6, 2019 at 6:17 PM Ehab Al-Qabbani  wrote:

> I used "XHTML2PDF"  https://pypi.org/project/django-xhtml2pdf/
>
>
> On Sun, Oct 6, 2019 at 2:36 PM yashwanth .k 
> wrote:
>
>> Nice!,
>> How did you enable post view as pdf,
>> Need some help,
>> Thank you!
>>
>> On Sun, Oct 6, 2019 at 5:45 AM Ehab Al-Qabbani 
>> wrote:
>>
>>> https://my-private-blog.herokuapp.com/
>>>
>>> Please try it
>>>
>>>
>>>
>>> Warmest Regards,
>>> Ehab
>>>
>>> --
>>> 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/DB7PR07MB388428ECD7DB6A10C8221A41AB980%40DB7PR07MB3884.eurprd07.prod.outlook.com
>>> <https://groups.google.com/d/msgid/django-users/DB7PR07MB388428ECD7DB6A10C8221A41AB980%40DB7PR07MB3884.eurprd07.prod.outlook.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/CALgTQAKCrvW3sDdRqaZZoAoWm1JO0Z4ytB%2BR%3DWC3cBX-2EdHdg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CALgTQAKCrvW3sDdRqaZZoAoWm1JO0Z4ytB%2BR%3DWC3cBX-2EdHdg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> --
>
> *Best Regards*
> *===*
> *Ehab Saeed Al-Qabbani*
> *Oracle Team Leader*
> *Mobile: +201117083310*
>
> --
> 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/CAF9M2B8Cyt%2BfLrnApyQfdHFqXygHY3k4myBvngGXHMROc99wHg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAF9M2B8Cyt%2BfLrnApyQfdHFqXygHY3k4myBvngGXHMROc99wHg%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/CALgTQAK0_c5g%3DSuxqvf99YHHkk7rx9KX%2B%2BghyoGDiOG4HOYQ9g%40mail.gmail.com.


Re: CSS not working

2019-10-11 Thread yashwanth .k
Hello,
You must make a separate directory in static folder.
in the html file try using { load staticfiles } not {load static}

On Fri, Oct 11, 2019 at 11:59 AM yasar arafath Kajamydeen <
yasar...@gmail.com> wrote:

> *@ Jani - Executed the  given cmd, Please find the output and please guide
> me further ..*
>
>
> (mypython) C:\Users\kajamydeenya\telusko>python manage.py findstatic -v 3
> polls/style.css
> Found 'polls/style.css' here:
>   C:\Users\kajamydeenya\telusko\polls\static\polls\style.css
> Looking in the following locations:
>   C:\Users\kajamydeenya\telusko\static
>   C:\Users\kajamydeenya\telusko\polls\static
>
> C:\Users\kajamydeenya\telusko\mypython\lib\site-packages\django\contrib\admin\st
>
>
>
>
> *Regards,*
> *Yasar Arafath K*
>
> On Friday, October 11, 2019 at 12:30:19 PM UTC+8, Jani Tiainen wrote:
>>
>> Hi.
>>
>> You could try to diagnose issue with findstatic management command:
>>
>> ./manage.py findstatic -v 3 polls/style.css
>>
>> You should get a list of paths Django tried to look for your static file
>> (stylesheet) and of course was it found.
>>
>>
>> pe 11. lokak. 2019 klo 6.19 yasar arafath Kajamydeen 
>> kirjoitti:
>>
>>> Hi All,
>>>
>>> I just added style sheet in my application but its not working , Please
>>> try to help me.
>>>
>>>
>>> Setting.py
>>>
>>>
>>>
>>> import os
>>>
>>> # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
>>> BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
>>>
>>>
>>> # Quick-start development settings - unsuitable for production
>>> # See https://docs.djangoproject.com/en/2.2/howto/deployment/checklist/
>>>
>>> # SECURITY WARNING: keep the secret key used in production secret!
>>> SECRET_KEY = '@$k&=42v@e7u26@0+woy#%aopsiv&55jjj$a=x2tr52f_5ipyh'
>>>
>>> # SECURITY WARNING: don't run with debug turned on in production!
>>> DEBUG = True
>>>
>>> ALLOWED_HOSTS = []
>>>
>>>
>>> # Application definition
>>>
>>> INSTALLED_APPS = [
>>> 'polls.apps.PollsConfig',
>>> 'django.contrib.admin',
>>> 'django.contrib.auth',
>>> 'django.contrib.contenttypes',
>>> 'django.contrib.sessions',
>>> 'django.contrib.messages',
>>> 'django.contrib.staticfiles',
>>>
>>>
>>> ]
>>>
>>> MIDDLEWARE = [
>>> 'django.middleware.security.SecurityMiddleware',
>>> 'django.contrib.sessions.middleware.SessionMiddleware',
>>> 'django.middleware.common.CommonMiddleware',
>>> 'django.middleware.csrf.CsrfViewMiddleware',
>>> 'django.contrib.auth.middleware.AuthenticationMiddleware',
>>> 'django.contrib.messages.middleware.MessageMiddleware',
>>> 'django.middleware.clickjacking.XFrameOptionsMiddleware',
>>> ]
>>>
>>> ROOT_URLCONF = 'telusko.urls'
>>>
>>>
>>> TEMPLATES = [
>>> {
>>> 'BACKEND': 'django.template.backends.django.DjangoTemplates',
>>> 'DIRS': [os.path.join(BASE_DIR,'templates')],
>>> 'APP_DIRS': True,
>>> 'OPTIONS': {
>>> 'context_processors': [
>>> 'django.template.context_processors.debug',
>>> 'django.template.context_processors.request',
>>> 'django.contrib.auth.context_processors.auth',
>>> 'django.contrib.messages.context_processors.messages',
>>> ],
>>> },
>>> },
>>> ]
>>>
>>> WSGI_APPLICATION = 'telusko.wsgi.application'
>>>
>>>
>>> # Database
>>> # https://docs.djangoproject.com/en/2.2/ref/settings/#databases
>>>
>>> DATABASES = {
>>> 'default': {
>>> 'ENGINE': 'django.db.backends.sqlite3',
>>> 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),  # Or path to 
>>> database file if using sqlite3.
>>> 'USER': '',  # Not used with sqlite3.
>>> 'PASSWORD': '',  # Not used with sqlite3.
>>> 'HOST': '',  # Set to empty string for localhost. Not used with 
>>> sqlite3.
>>> 'PORT': '',
>>> }
>>> }
>>>
>>>
>>> # Password validation
>>> # 
>>> https://docs.djangoproject.com/en/2.2/ref/settings/#auth-password-validators
>>>
>>> AUTH_PASSWORD_VALIDATORS = [
>>> {
>>> 'NAME': 
>>> 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
>>> },
>>> {
>>> 'NAME': 
>>> 'django.contrib.auth.password_validation.MinimumLengthValidator',
>>> },
>>> {
>>> 'NAME': 
>>> 'django.contrib.auth.password_validation.CommonPasswordValidator',
>>> },
>>> {
>>> 'NAME': 
>>> 'django.contrib.auth.password_validation.NumericPasswordValidator',
>>> },
>>> ]
>>>
>>>
>>> # Internationalization
>>> # https://docs.djangoproject.com/en/2.2/topics/i18n/
>>>
>>> LANGUAGE_CODE = 'en-us'
>>>
>>> TIME_ZONE = 'UTC'
>>>
>>> USE_I18N = True
>>>
>>> USE_L10N = True
>>>
>>> USE_TZ = True
>>>
>>>
>>> # Static files (CSS, JavaScript, Images)
>>> # https://docs.djangoproject.com/en/2.2/howto/static-files/
>>>
>>> STATIC_URL = '/static/'
>>> STATICFILES_DIRS = [
>>> os.path.join(BASE_DIR, 'style.css'),
>>> ]
>>>
>>>
>>>
>>>
>>>
>>> *style.css*
>>>
>>>
>>>
>>>