Django rest framework

2020-01-14 Thread aman kumar
could anybody, please tell me that how we can do url mapping of create api 
view , update api view,  ..n all.how we can perform 
crud operation using generic views in rest framework..with 
django 2.2


-- 
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/78ac23de-6863-4f59-8013-eb211a60ab5a%40googlegroups.com.


Re: Django rest framework

2020-01-14 Thread Kasper Laudrup

Hi Aman,

On 14/01/2020 09.56, aman kumar wrote:
could anybody, please tell me that how we can do url mapping of create 
api view , update api view,  ..n all.how we can 
perform crud operation using generic views in rest 
framework..with django 2.2




Doesn't the documentation describe all of that?

https://www.django-rest-framework.org/api-guide/routers/

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/d11b339e-5c00-e827-0eb3-2f99a8cce93b%40stacktrace.dk.


Design a good model

2020-01-14 Thread Abhishek Tiwari
Hey guys.. Please tell how design a model for fields like this..

-- 
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/fff45d4e-86a7-425d-a365-395405033c57%40googlegroups.com.


About WSGI header spoofing via underscore/dash conflation

2020-01-14 Thread Dario Palmisano

Hello Everyone,

I have a Django project deployed via apache/uwsgi. But things do not 
work ... as described (in 
https://docs.djangoproject.com/en/3.0/ref/request-response/#django.http.HttpRequest.META).


I would expect all request headers to be converted to "META keys by 
converting all characters to uppercase, replacing any hyphens with 
underscores and adding an HTTP_ prefix to the name", but instead they 
are not!


Does anyone know why? Is it possible the conversion is performed on http 
protcol only (not on https which I am using)? Is there any 
switch/configuration parameter that enable/disable this conversion?


Any hint explaining the behavior will be really appreciated!

Thanks in advance for your kind advice

Dario


P.S.: The following is the content of requirements.txt

certifi==2018.4.16
cffi==1.11.5
chardet==3.0.4
django-cors-headers==2.2.0
django-simple-history==2.0
djangorestframework==3.7.7
docker==3.5.1
docker-pycreds>=0.3.0
idna==2.6
mysqlclient>=1.3,<1.4
pycparser==2.18
pytz==2018.3
requests>=2.20,<2.21
six==1.11.0
urllib3>=1.23,<1.24
websocket-client==0.47.0
Django==2.1.2
gunicorn>=19.5.0,<19.6
django-filter==2.0.0
mozilla-django-oidc==1.2.1
python-dateutil==2.8.0

--
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/54a05b54-9ca1-9fa9-de03-5be80dfcaac0%40elettra.eu.


get complete row from a table

2020-01-14 Thread Anand Mate
Hello everyone,
I am new to django. I am making a app, in which I want to print a complete 
row from table.
At first I want to apply a filter on one column. get that dataset and then 
find minimum value from another column and display the complete row using 
html...

-- 
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/45dce5fe-bf5b-4179-8366-e49e17e8a3ae%40googlegroups.com.


Re: Django tutorial part 2: "It’s important to add __str__() methods to your models"

2020-01-14 Thread Mohamed A
the issue is related to PEP8. You need to space it a little bit :) leave an
empty line before __str__ .
And it is not an error, it is just a warning :)

On Mon, Jan 13, 2020 at 11:27 PM Julius Lange 
wrote:

> Okay, thank you guys!
>
> I figured it out. The reason was another issue and my nooby assumtion led
> you in the wrong direction.
>
> Sorry, thanks again
> Julius
>
>
>
> Am Sonntag, 12. Januar 2020 22:56:43 UTC+1 schrieb Julius Lange:
>>
>> Dear people,
>>
>> currently doing the django tutorial! Really enjoy it so far.
>>
>> I am using PyCharm, Django version 3.0.2, Python version 3.7.1.
>>
>> In part 2  of
>> the tutorial it comes to a point i need to insert a __str__ function. I add
>> it like said in the tutorial and PyCharm says "Overrides Method in model"
>> already.
>>
>> If i keep going ignoring that, i keep getting errors.
>>
>>
>> --
> 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/f8643164-0abb-4133-87f3-8f8f5b680923%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/CAJenkLDa0pn3Xwqhn9exYDyeC0Y_vzcB%2BR-PsNB_WGAQKGc8tw%40mail.gmail.com.


Re: How to do SEO for my django website

2020-01-14 Thread Mohamed A
Please, check an alternative from  here
https://djangopackages.org/grids/g/seo/

On Mon, Jan 13, 2020 at 10:40 PM Roshan Shah  wrote:

> Anyone fixing django-seo to be compatible with Django 3.0?
>
> On Fri, Jan 3, 2020 at 7:54 AM Yash Garg  wrote:
>
>> rollyourown.seo in not compatible with latest version of django
>>
>>
>> On Friday, January 3, 2020 at 6:18:11 PM UTC+5:30, sagar ninave wrote:
>>>
>>> https://django-seo.readthedocs.io/en/latest/introduction/tutorial.html
>>>
>>>
>>> On Fri, Jan 3, 2020 at 6:11 PM Yash Garg  wrote:
>>>
 Is there any package or module available for SEO of django 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/1869ef27-3269-41bc-a0e3-c79652863eec%40googlegroups.com
 
 .

>>>
>>>
>>> --
>>>
>>> 
>>> sagar ninave
>>> about.me/sagarninave
>>> 
>>>
>> --
>> 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/6f078a37-ca3e-45e7-b155-0c61cc46775f%40googlegroups.com
>> 
>> .
>>
>
>
> --
> --
>
> Roshan Shah / Sr. IT Consultant
> techieros...@gmail.com / (519) 496-8860
>
> This e-mail message may contain confidential or legally privileged
> information and is intended only for the use of the intended recipient(s).
> Any unauthorized disclosure, dissemination, distribution, copying or the
> taking of any action in reliance on the information herein is prohibited.
> E-mails are not secure and cannot be guaranteed to be error free as they
> can be intercepted, amended, or contain viruses. Anyone who communicates
> with me by e-mail is deemed to have accepted these risks.
>
> --
> 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/CALX19Ni6SEXPH75f-T_SGx2V6CcRHd6YsEcz%3DhLf2yk%2BwQWvsg%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/CAJenkLAEGDf0zYLZuyJHDOzYH%2BHSJ0rZJbCf4tNGd9C_0FBYaw%40mail.gmail.com.


Model Related Issue

2020-01-14 Thread Soumen Khatua
Hi Folks,

After changing the model name,I'm getting some error, like initially my
model name was some thing like this:
class new_model(models.Model) but now I'm change it to class
NewModel(models.Model) but after migrate I'm getting this error:





*File
"/home/sou/tildehat_platform/env/lib/python3.6/site-packages/django/db/migrations/state.py",
line 280, in __init__raise ValueError("\n".join(error.msg for error in
errors))ValueError: The field admin.LogEntry.user was declared with a lazy
reference to 'profiles.tildehatuser', but app 'profiles' doesn't provide
model 'tildehatuser'.The field job_post.job_post.user was declared with a
lazy reference to 'profiles.tildehatuser', but app 'profiles' doesn't
provide model 'tildehatuser'.The field profiles.tildehat_profile.user was
declared with a lazy reference to 'profiles.tildehatuser', but app
'profiles' doesn't provide model 'tildehatuser'*

Note: I already added the customized model name in settings.py like
'profiles.ClassName".

Please help me guys regarding this matter but I alreday spent so much time
on this o internet.

Thank You in advance

Regards,
Soumen

-- 
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/CAPUw6WYxGmBjrZugMhLdS%3DFpD0ALEDEq2Bg-3LEfODjUKs5j0g%40mail.gmail.com.


About extending the django inbuilt user

2020-01-14 Thread sachinbg sachin
Hii every one I want to add some additional fields in inbuilt django user
model am tried many of the things am not achieved that any reference help
me and  any sources
Git repositories
Thanks in advance

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOs61rx_g%2Bjr43yQQjepSS0x1Lm42bC7cTTGm49RpqnSk6WOUw%40mail.gmail.com.


Re: About extending the django inbuilt user

2020-01-14 Thread Kasper Laudrup

On 14/01/2020 17.10, sachinbg sachin wrote:
Hii every one I want to add some additional fields in inbuilt django 
user model am tried many of the things am not achieved that any 
reference help me and  any sources

Git repositories
Thanks in advance



https://simpleisbetterthancomplex.com/tutorial/2016/07/22/how-to-extend-django-user-model.html

--
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/de469f8b-781e-259f-d022-0f31c5c120ba%40stacktrace.dk.


Re: About extending the django inbuilt user

2020-01-14 Thread ROHIT CHAUHAN
https://www.codingforentrepreneurs.com/tags/django/

On Tue, 14 Jan 2020 at 21:41, sachinbg sachin 
wrote:

> Hii every one I want to add some additional fields in inbuilt django user
> model am tried many of the things am not achieved that any reference help
> me and  any sources
> Git repositories
> Thanks in advance
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAOs61rx_g%2Bjr43yQQjepSS0x1Lm42bC7cTTGm49RpqnSk6WOUw%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/CAF_q%3DRCkH6CgPy8in19CCVxwoX1GZ%2BLYpyRocG3A9hH8MKjCZQ%40mail.gmail.com.


Re: About extending the django inbuilt user

2020-01-14 Thread Farai M
Just do a one to One to the user table because if you have already created
and migrated the model on first install .Creating a custom model will give
you a  headache

On Tue, Jan 14, 2020 at 6:11 PM sachinbg sachin 
wrote:

> Hii every one I want to add some additional fields in inbuilt django user
> model am tried many of the things am not achieved that any reference help
> me and  any sources
> Git repositories
> Thanks in advance
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAOs61rx_g%2Bjr43yQQjepSS0x1Lm42bC7cTTGm49RpqnSk6WOUw%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/CAMeub5NnaHHZY0O1iv-Dt_%2BftC4eRLmhGbr-Vd4hG9-1H877dg%40mail.gmail.com.


[no subject]

2020-01-14 Thread yusuf abdul
why is my carousel not changing veiw

-- 
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%2B%2BGkSBuB%2BwjaEcEhJpVgMTQ_uXNpNgF_jXEWVmpx0i1fGOBvQ%40mail.gmail.com.


Re: Django rest framework

2020-01-14 Thread aakansha jain
Can anybody tell me how to run the project and see the code? I am a
beginner and not able to run the project

On Tue 14 Jan, 2020, 2:26 PM aman kumar,  wrote:

> could anybody, please tell me that how we can do url mapping of create api
> view , update api view,  ..n all.how we can perform
> crud operation using generic views in rest framework..with
> django 2.2
>
>
> --
> 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/78ac23de-6863-4f59-8013-eb211a60ab5a%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/CALjevB1Q_9jfx9q8TkegqVJXL77Od8GUwkF7k5CXGA%3DzJrBFHg%40mail.gmail.com.


Re: About extending the django inbuilt user

2020-01-14 Thread aakansha jain
hey, I am a beginner. I also want to contribute on django framework but I
am not getting how to run the project and see the code of it.

On Tue, Jan 14, 2020 at 9:41 PM sachinbg sachin 
wrote:

> Hii every one I want to add some additional fields in inbuilt django user
> model am tried many of the things am not achieved that any reference help
> me and  any sources
> Git repositories
> Thanks in advance
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAOs61rx_g%2Bjr43yQQjepSS0x1Lm42bC7cTTGm49RpqnSk6WOUw%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/CALjevB1tWv2pphReWZz6Mh5afaQnkuFzt_huq8ayggwVCetL3A%40mail.gmail.com.


Re: bugs for beginners

2020-01-14 Thread aakansha jain
I was asking about the bugs that I can work upon(as a beginner) in django 
project of gsoc 2019.

On Sunday, January 12, 2020 at 9:34:13 PM UTC+5:30, aakansha jain wrote:
>
> Can someone suggest me the bugs that can be worked upon by beginners?
>

-- 
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/976f06f1-1980-44fa-8376-5e42c6ad9675%40googlegroups.com.


Re: bugs for beginners

2020-01-14 Thread John McClain
https://edabit.com/challenges/python3

On Tue, 14 Jan 2020 at 18:49, aakansha jain 
wrote:

> I was asking about the bugs that I can work upon(as a beginner) in django
> project of gsoc 2019.
>
> On Sunday, January 12, 2020 at 9:34:13 PM UTC+5:30, aakansha jain wrote:
>>
>> Can someone suggest me the bugs that can be worked upon by beginners?
>>
> --
> 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/976f06f1-1980-44fa-8376-5e42c6ad9675%40googlegroups.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_rqDt3nOdkcz_EHcJ%3DruLAsk4Cx8OPX4i7Er%2B8HpmpEmw%40mail.gmail.com.


Re:

2020-01-14 Thread Kasper Laudrup

Hi Yusuf,

On 14/01/2020 16.31, yusuf abdul wrote:

why is my carousel not changing veiw



Try spinning it around a bit. That usually gives some new perspective.

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/bd2b750e-50ed-074a-bda7-cc6b40932bc5%40stacktrace.dk.


Re: Format queryset return dictionary of primary keys?

2020-01-14 Thread MM
or:

{ o.pk: o for o in Model.objecs.all() }



On Thursday, August 4, 2011 at 4:12:31 PM UTC-4, Javier Guerra Giraldez 
wrote:
>
> On Thu, Aug 4, 2011 at 2:19 PM, diafygi > 
> wrote:
> > Is there a built in way to get:
> >>>Model.objects.all().something_pk_values()
> > {1 : {'vin':189554}, 2 : {'vin':189555}}
>
>
> built in to Python:
>
> dict ((o.pk, o) for o in Model.objecs.all())
>
> -- 
> Javier
>
>

-- 
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/1af92a54-2a55-48e4-9cf7-3de3c073d4fd%40googlegroups.com.


Re:

2020-01-14 Thread Alfredo Sumague
there are two things when you have carousel, the html which is the view,
and the javascript that make view change.

On Tue, Jan 14, 2020 at 10:27 AM yusuf abdul  wrote:

> why is my carousel not changing veiw
>
> --
> 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%2B%2BGkSBuB%2BwjaEcEhJpVgMTQ_uXNpNgF_jXEWVmpx0i1fGOBvQ%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/CAGF6mrRPqJX3UBj6wA%3DvBxYf_rKGYfFz%2BV25aOwsntg-0pPsFA%40mail.gmail.com.


Re:

2020-01-14 Thread Kevin Dublin
Hi Yusuf,

It could be any number of reasons depending on the type of carousel and
implementation.

I will assume you are using bootstrap and suggest that you make sure all of
the necessary bootstrap css and JavaScript files are linked at the bottom
of your base template. Also check your carousel against a working example.

Cheers,

Kevin

On Tue, Jan 14, 2020, 12:39 PM Kasper Laudrup  wrote:

> Hi Yusuf,
>
> On 14/01/2020 16.31, yusuf abdul wrote:
> > why is my carousel not changing veiw
> >
>
> Try spinning it around a bit. That usually gives some new perspective.
>
> 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/bd2b750e-50ed-074a-bda7-cc6b40932bc5%40stacktrace.dk
> .
>

-- 
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/CANips4L1nBeU3k%3Du91s7cTHJvV0dD61sMkBoOXH6w-BZg_zU5g%40mail.gmail.com.


Re: How to do SEO for my django website

2020-01-14 Thread Ram
Hi,

I'm also interested in the default SEO module that comes with DJango FWK.

Thanks,
~Ram

On Tue, Jan 14, 2020 at 5:39 AM Mohamed A  wrote:

> Please, check an alternative from  here
> https://djangopackages.org/grids/g/seo/
>
> On Mon, Jan 13, 2020 at 10:40 PM Roshan Shah 
> wrote:
>
>> Anyone fixing django-seo to be compatible with Django 3.0?
>>
>> On Fri, Jan 3, 2020 at 7:54 AM Yash Garg  wrote:
>>
>>> rollyourown.seo in not compatible with latest version of django
>>>
>>>
>>> On Friday, January 3, 2020 at 6:18:11 PM UTC+5:30, sagar ninave wrote:

 https://django-seo.readthedocs.io/en/latest/introduction/tutorial.html


 On Fri, Jan 3, 2020 at 6:11 PM Yash Garg  wrote:

> Is there any package or module available for SEO of django 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/1869ef27-3269-41bc-a0e3-c79652863eec%40googlegroups.com
> 
> .
>


 --

 
 sagar ninave
 about.me/sagarninave
 

>>> --
>>> 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/6f078a37-ca3e-45e7-b155-0c61cc46775f%40googlegroups.com
>>> 
>>> .
>>>
>>
>>
>> --
>> --
>>
>> Roshan Shah / Sr. IT Consultant
>> techieros...@gmail.com / (519) 496-8860
>>
>> This e-mail message may contain confidential or legally privileged
>> information and is intended only for the use of the intended recipient(s).
>> Any unauthorized disclosure, dissemination, distribution, copying or the
>> taking of any action in reliance on the information herein is prohibited.
>> E-mails are not secure and cannot be guaranteed to be error free as they
>> can be intercepted, amended, or contain viruses. Anyone who communicates
>> with me by e-mail is deemed to have accepted these risks.
>>
>> --
>> 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/CALX19Ni6SEXPH75f-T_SGx2V6CcRHd6YsEcz%3DhLf2yk%2BwQWvsg%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/CAJenkLAEGDf0zYLZuyJHDOzYH%2BHSJ0rZJbCf4tNGd9C_0FBYaw%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/CA%2BOi5F2%2BVbPvwn00XOv7fffqRBsscuAHvUh0277OJ5BdbkQZkg%40mail.gmail.com.


Re: Django rest framework

2020-01-14 Thread aman kumar
yeah Kasper, it did very well, I found difficulty in mapping URLs
...but np I'll surely find a way to get out of it


On Tue, Jan 14, 2020 at 2:38 PM Kasper Laudrup 
wrote:

> Hi Aman,
>
> On 14/01/2020 09.56, aman kumar wrote:
> > could anybody, please tell me that how we can do url mapping of create
> > api view , update api view,  ..n all.how we can
> > perform crud operation using generic views in rest
> > framework..with django 2.2
> >
>
> Doesn't the documentation describe all of that?
>
> https://www.django-rest-framework.org/api-guide/routers/
>
> 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/d11b339e-5c00-e827-0eb3-2f99a8cce93b%40stacktrace.dk
> .
>

-- 
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/CAF77ry3KD5GSGsdj0mDU-PaoQ8K8PJt%2B--m_%3DF%3D8une5bbhS5g%40mail.gmail.com.


Re: Django rest framework

2020-01-14 Thread aman kumar
thankuh ROHIT, useful stuff.

On Tue, Jan 14, 2020 at 11:58 PM ROHIT CHAUHAN  wrote:

>
>
> On Tue, 14 Jan 2020 at 14:38, Kasper Laudrup 
> wrote:
>
>> Hi Aman,
>>
>> On 14/01/2020 09.56, aman kumar wrote:
>> > could anybody, please tell me that how we can do url mapping of create
>> > api view , update api view,  ..n all.how we can
>> > perform crud operation using generic views in rest
>> > framework..with django 2.2
>> >
>>
>> Doesn't the documentation describe all of that?
>>
>> https://www.django-rest-framework.org/api-guide/routers/
>>
>> 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/d11b339e-5c00-e827-0eb3-2f99a8cce93b%40stacktrace.dk
>> .
>>
> --
> 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/CAF_q%3DRANxbi8jDzbMCDp9JFRK_69mZR-8bPWsNUp7E9ccT5vvA%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/CAF77ry1c0tJFyxsJUT-5LkTkwY%3DHqBfJVVCcdiQLV-SxH0x9dg%40mail.gmail.com.


Re: About extending the django inbuilt user

2020-01-14 Thread sachinbg sachin
I was getting some error like is_staff is not an atribute an other source are 
git link I tried to fix that but am not able to do that

-- 
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/b041d955-b4e4-43bc-9445-a2d7c944d3e5%40googlegroups.com.


Re: Django rest framework

2020-01-14 Thread aman kumar
hey Akansha, welcome to the community...it will help you out...
https://www.youtube.com/watch?v=b0lvbPcEHRg&list=PL1WVjBsN-_NIdlnACz0Mxuq8VcuxER-is&index=2



On Wednesday, January 15, 2020 at 12:07:55 AM UTC+5:30, aakansha jain wrote:
>
> Can anybody tell me how to run the project and see the code? I am a 
> beginner and not able to run the project
>
> On Tue 14 Jan, 2020, 2:26 PM aman kumar,  > wrote:
>
>> could anybody, please tell me that how we can do url mapping of create 
>> api view , update api view,  ..n all.how we can perform 
>> crud operation using generic views in rest framework..with 
>> django 2.2
>>
>>
>> -- 
>> 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/78ac23de-6863-4f59-8013-eb211a60ab5a%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/41bd306c-760d-402f-9415-9091265380cf%40googlegroups.com.


Re: About extending the django inbuilt user

2020-01-14 Thread Carsten Fuchs
Besides what others have said, I suggest you have a look at
https://docs.djangoproject.com/en/3.0/topics/auth/customizing/#extending-the-existing-user-model
and all subsequent sections.

If you have not started your project yet (have no migrations yet), look at
https://github.com/jambonsw/django-improved-user

If you are in mid-project already, I suggest:
https://code.djangoproject.com/ticket/25313
https://www.caktusgroup.com/blog/2019/04/26/how-switch-custom-django-user-model-mid-project/

Best regards,
Carsten


Am 14.01.20 um 17:10 schrieb sachinbg sachin:
> Hii every one I want to add some additional fields in inbuilt django user 
> model am tried many of the things am not achieved that any reference help me 
> and  any sources  
> Git repositories 
> Thanks in advance
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-users+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CAOs61rx_g%2Bjr43yQQjepSS0x1Lm42bC7cTTGm49RpqnSk6WOUw%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/3a3eacd1-ec99-e6bc-97a3-b762cd934c91%40cafu.de.


Re: About extending the django inbuilt user

2020-01-14 Thread sachinbg sachin
Thanks carstien

On Wed, Jan 15, 2020, 12:10 PM Carsten Fuchs  wrote:

> Besides what others have said, I suggest you have a look at
>
> https://docs.djangoproject.com/en/3.0/topics/auth/customizing/#extending-the-existing-user-model
> and all subsequent sections.
>
> If you have not started your project yet (have no migrations yet), look at
> https://github.com/jambonsw/django-improved-user
>
> If you are in mid-project already, I suggest:
> https://code.djangoproject.com/ticket/25313
>
> https://www.caktusgroup.com/blog/2019/04/26/how-switch-custom-django-user-model-mid-project/
>
> Best regards,
> Carsten
>
>
> Am 14.01.20 um 17:10 schrieb sachinbg sachin:
> > Hii every one I want to add some additional fields in inbuilt django
> user model am tried many of the things am not achieved that any reference
> help me and  any sources
> > Git repositories
> > 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  django-users+unsubscr...@googlegroups.com>.
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAOs61rx_g%2Bjr43yQQjepSS0x1Lm42bC7cTTGm49RpqnSk6WOUw%40mail.gmail.com
> <
> https://groups.google.com/d/msgid/django-users/CAOs61rx_g%2Bjr43yQQjepSS0x1Lm42bC7cTTGm49RpqnSk6WOUw%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/3a3eacd1-ec99-e6bc-97a3-b762cd934c91%40cafu.de
> .
>

-- 
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/CAOs61ryX0Y602c1YTd6-hAXsyRK0OwXLd-QX59UH_VUn1gQwYQ%40mail.gmail.com.