Re: How to use inspectdb to generate a model for a table owned by a specific schema.

2021-09-09 Thread Hello Singh
I am intermediate django developer, I want to give a try to your questions.
Simply use this command
*python manage.py inspectdb [ TABLE_NAME ]*
*If you use this command without table name it inspect all tables of
database*



On Thu, 9 Sep 2021, 19:39 Nemani Srinivas Murthy, 
wrote:

> Hi, I'm looking for a solution for generating the model.py file for a
> table which is owned by a specific schema ., I tried the
> below option but no luck.
>
> *python manage.py inspectdb --database=  *
>
>
> --
> 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/bc685fe7-93c8-4e35-b0d5-33bfe549169an%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/CAEoS0z5SS6Pyq4LLbd8aVpPmm_spVSX266G%3DkMoYX_%2BycTerOA%40mail.gmail.com.


[no subject]

2021-07-22 Thread Hello Singh
Only for practice, I want to built a video downloader web app, from a
specific website.
Problem
   first I have to download the video and then send to the user, it
time consuming I want to directly download at the user side, is it possible
in Django.

Thanks developers

-- 
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/CAEoS0z6VVB5Bv2eAm%3DnQCfO_B%2B9Oj7%2BGX%3D88ctUonJaUBgOKqg%40mail.gmail.com.


Re: Need help on RedirectView

2021-06-20 Thread Hello Singh
Thanks, David Sir
It help me a lot.

On Sun, 20 Jun 2021, 18:21 David Nugent,  wrote:

> It is just a method on the Article model. Don't copy-paste what is there,
> understand what it is doing.
>
> In this *example*, update_counter() will be defined in
> Article(models.Model), probably in models.py in the app. You obliged to use
> anything like this in your redirect.
>
> HTH,
>
> On Sun, Jun 20, 2021 at 10:21 PM Hello Singh 
> wrote:
>
>> Now I am trying Django class based view through Django documentation it
>> going well, but I a problem in RedirectView.
>>
>> There is `update_counter()` method I don't understand what it is doing
>> and where it come from. I highlight it in the given image.
>>
>> Please help me
>> Thanks developers
>>
>> --
>> 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/CAEoS0z44Zkf2TJNuay6AU1imCdu5ALmuHSzxJxLtgKS_R69wfQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAEoS0z44Zkf2TJNuay6AU1imCdu5ALmuHSzxJxLtgKS_R69wfQ%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/CAE5VhgX4s-oqRqg%2B9zw2UBE-tmLEz0jnJDUDSXcXqtO976rhYA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAE5VhgX4s-oqRqg%2B9zw2UBE-tmLEz0jnJDUDSXcXqtO976rhYA%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/CAEoS0z6G5i2K8u-p%2BjFJf6WzPV2SGVpP_gjuFY9oiqb-2m4-DA%40mail.gmail.com.