RoR dev having trouble with finding best-packages for Django

22 views
Skip to first unread message

Jatin Ganhotra

unread,
Mar 4, 2015, 2:15:32 PM3/4/15
to django...@googlegroups.com
Hi, I have done web development with Ruby on Rails and now I'm learning to use Django for a web application, where I facing some issues finding the best libraries/ packages available.

What are the best packages/apps in Django available for the following:

1. User authentication - Rails offers Devise which provides all authentication out-of-the-box, such as sign up/ sign-in/ forgot password emails / sending activation emails / web-http authentication etc. What's the best one for Django?

2. User authorization - Rails offers Cancan, where using a simple declarative syntax, you can assign read/modify permissions to various methods for administrators/ users etc. What's the best one for Django?

3. Facebook sign-up - I found django-facebook and python-social-auth as the 2 major packages out there, but I'm not sure which one is the better? Is there any other better package out there that I couldn't find? Or which one of the 2 is better?

4. Listing of all available & best packages - I searched through the available packages listing, but they are not ordered based on # of active users or most popular package etc. So, I have to sift through all of them. Does Django have a listing similar to ruby-toolbox for Ruby & Rails packages?

5. Django and Python version - Should I use Python 3 or Python 2 would be fine? Better question - Should I use Django 1.7 or latest version 1.7.5? Are the changes in the latest version considerable enough to start using 1.7.5?

Thanks.

Andreas Kuhne

unread,
Mar 4, 2015, 2:29:34 PM3/4/15
to django...@googlegroups.com
Hi,

I'll give you answers to the questions I know, the others you'll have to wait for others more knowledgable.

1. User authentication, django has django.contrib.auth built in. Checkout https://docs.djangoproject.com/en/1.7/topics/auth/
2. User authorization, also in the auth package. You can customize it any way you want.
3-4: Don't know. I usually go for the packages that are currently still being developed. Also django specific versions are usually easier to integrate than a python version.
5. You should ALWAYS use the latest released version if you are running in production. The minor version upgrades usually don't break anything when upgrading, however going from 1.7 to 1.8 can change somethings and can be a handful. Also, if possible I would go for python 3. HOWEVER having said that, sometimes some of the pip packages that you want to run won't work, so you'll have to check if the packages you want to use are python 3 compatible. More and more packages are ok nowadays, so it would be worth trying to use python 3. 

Regards,

Andréas

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1deb975e-7edb-4f5a-bfa7-9b9e3ffe455f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Avraham Serour

unread,
Mar 4, 2015, 2:31:00 PM3/4/15
to django...@googlegroups.com
1 -  built in
2 - buit in
3 - I like all-auth
4 - pypi
5 - go for python 3, unless you need some library that only supports python 2
always use the last minor version of django, keep an eye for django 1.8 it should be out soon

Daniel França

unread,
Mar 4, 2015, 2:34:46 PM3/4/15
to django...@googlegroups.com
... And you can compare
On Wed 4 Mar 2015 at 20:33 Daniel França <daniel...@gmail.com> wrote:
4. Have you tried https://www.djangopackages.com/ ?
It has some sections with grids that shows several information about each one
On Wed 4 Mar 2015 at 20:30 Avraham Serour <tov...@gmail.com> wrote:
1 -  built in
2 - buit in
3 - I like all-auth
4 - pypi
5 - go for python 3, unless you need some library that only supports python 2
always use the last minor version of django, keep an eye for django 1.8 it should be out soon
On Wed, Mar 4, 2015 at 6:10 AM, Jatin Ganhotra <jatin.g...@gmail.com> wrote:
Hi, I have done web development with Ruby on Rails and now I'm learning to use Django for a web application, where I facing some issues finding the best libraries/ packages available.

What are the best packages/apps in Django available for the following:

1. User authentication - Rails offers Devise which provides all authentication out-of-the-box, such as sign up/ sign-in/ forgot password emails / sending activation emails / web-http authentication etc. What's the best one for Django?

2. User authorization - Rails offers Cancan, where using a simple declarative syntax, you can assign read/modify permissions to various methods for administrators/ users etc. What's the best one for Django?

3. Facebook sign-up - I found django-facebook and python-social-auth as the 2 major packages out there, but I'm not sure which one is the better? Is there any other better package out there that I couldn't find? Or which one of the 2 is better?

4. Listing of all available & best packages - I searched through the available packages listing, but they are not ordered based on # of active users or most popular package etc. So, I have to sift through all of them. Does Django have a listing similar to ruby-toolbox for Ruby & Rails packages?

5. Django and Python version - Should I use Python 3 or Python 2 would be fine? Better question - Should I use Django 1.7 or latest version 1.7.5? Are the changes in the latest version considerable enough to start using 1.7.5?

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+unsubscribe@googlegroups.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+unsubscribe@googlegroups.com.

To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.

Daniel França

unread,
Mar 4, 2015, 2:35:05 PM3/4/15
to django...@googlegroups.com
4. Have you tried https://www.djangopackages.com/ ?
It has some sections with grids that shows several information about each one
On Wed 4 Mar 2015 at 20:30 Avraham Serour <tov...@gmail.com> wrote:
Reply all
Reply to author
Forward
0 new messages