Re: Choosing an auth module: Login via Facebook, Google, ...

2015-05-05 Thread rush
Hi, What kind of issues do you have?It should support 1.8 now. You can even check that support request for 1.8 is already closed at github (https://github.com/pennersr/django-allauth/issues/858). -- wbr,rush.   06.05.2015, 09:17, "guettli" :I need a library to let users loging via Facebook, Google, ...I looked at this page:https://www.djangopackages.com/grids/g/authentication/It's hard for me to decide which one to use.I have no special requirements except the end user experience should be good.The login for new users should be as simple as possible.Can you give me an advice?I tried django-all-auth, but it has issues with Django 1.8 --  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 http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f365689f-73a2-4934-b64b-7963f9671bc6%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 http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5628571430894754%40web12j.yandex.ru.
For more options, visit https://groups.google.com/d/optout.


Re: I cannot connect with my database remote server mysql django

2014-12-07 Thread rush
Just put correct password into settings. That will fix the error. -- wbr,rush.   07.12.2014, 17:11, "tuktuk" :I am running my django Application in local mode, and my database server is in a remote server with cpanel. Configurations in settings.py are:DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql', 
'NAME': 'tim_farmaapp',  
'USER': 'tim_farmaapp',
'PASSWORD': 'mypass_123_',
'HOST': 'stevie.heliohost.org', 
'PORT': '3306',  
}
}But when i make syncdb i get this error:OperationalError: (1045, "Access denied for user 'tim_farmaapp'@'31.44.78.126' (using password: YES)")How can i fix this issue/error ? Thanks to all ! --  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 http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f9f74486-e480-4e6c-a362-5a7b68b77202%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 http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/143581417962392%40web13g.yandex.ru.
For more options, visit https://groups.google.com/d/optout.


Re: Alternative to django-registration (unmaintaned since September 2013)

2014-07-27 Thread rush
Hi guys,Looks like django-signup ( https://bitbucket.org/fcoelho/django-signup/ ) may be interesting for you. It is based on django-registration and as for now the last commit was about a 5 days ago.-- wbr,rush.   24.07.2014, 19:21, "Oscar Carballal" :Same for me in my personal projects and in our company, we fully switched to django-allauth and we are quite happyRegards,Oscar-- Oscar Carballal Prego - Senior Software Developerhttp://oscarcp.com | @pizte2014-07-23 8:15 GMT+01:00 Santiago L <santiago.lam...@gmail.com>:El sábado, 19 de julio de 2014 02:17:24 UTC+2, Russell Keith-Magee escribió:On Fri, Jul 18, 2014 at 8:31 PM, Santiago L <santiag...@gmail.com> wrote:Hi, Some weeks ago I noticed that django-registration is not longer maintained byits creator: quoting https://bitbucket.org/ubernostrum/django-registration/wiki/Home> django-registration> I stepped down as maintainer of this application in September 2013. Pull> requests, issues and comments sent to this repository will be ignored.  As I'm currently using this app in my project, I wonder if there is anyalternative for django-registration? Maybe someone knows about a fork. I'm not aware of an active fork. If you're looking to step into open source contribution, this would be a good project to adopt - the code base is stable, so the management overhead should be relatively low.   I like the idea about contributing and get in charge of a fork, but I'm not sure about my availability...   Besides that, I found a related issue report (rejected because is not the goodplace to ask this question, but relevant anyway)[2] [2] https://code.djangoproject.com/ticket/13164 Because there's no single answer to the question. Authentication is a topic that is hard to get right, and there's a very limited number of "right" answers. Passwords *must* be done well, or you risk vulnerability, and what constitutes "well" requires considerable expertise.  However, the requirements for registration and signup will vary between projects, and will depend on project requirements. Some projects will need a fully verified personal profile before you can continue; some only require a verified email address; some will allow an email address, but allow later verification, and some will require completely anonymous profiles that are filled in at a critical point in workflow (e.g., at checkout in an e-commerce site). There's also nothing especially technically complex about these workflows - unlike Authentication, there aren't any real land mines that could lead to vulnerabilities (beyond those that are inherent in building *any* web page). So, the Django project has made the decision to keep Authentication as a core piece of functionality, but keep registration as a third-party thing. This means that the wider community can contribute alternate approaches. It also means that the core team isn't a bottleneck on progress - django-regsistration has it's own release cycles, bug tracking processes, and so on. This arrangement has worked well for 8 years; it's only because James has stepped down and nobody has volunteered to take over that a problem now exists.  Thanks for your explanation!!  --  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 http://groups.google.com/group/django-users.To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a8450ee8-96a0-4a1e-9071-2740544e5533%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 http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2BXe2iaED-arSkS7R1zTrZyTpkLEUBTz_hmJmubT%3Db7%3DaQc9fQ%40mail.gmail.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 http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/502341406527661%40web23h.yandex.ru.
For more options, visit https://groups.google.com/d/optout.


Re: Override grappelli js files

2014-02-25 Thread rush
Wow, that's a great explanation. Thank you, Felipa! wbr,rush.   26.02.2014, 00:52, "Felipe Bessa Coelho" :2014-02-25 17:18 GMT-03:00 rush <dja...@irush.su>:Hi,I'm using grappelli and I have two files in it I need to modify:admin/js/SelectBox.js
admin/js/SelectFilter2.jsI thought it would be a good idea to put it into my app static directory:my_app/static/admin/js/SelectBox.js
my_app/static/admin/js/SelectFilter2.jsBut whenever I try ./manage.py collectstatic files from my_app are overrided by original files from grappelli, however I need it vice versa.I need just to add several strings in this files into existing functions, so I can't handle it within a new js files and include into Media class ( from my point of view ).Is there any way to override grappelli files? When collecting static files, if there are multiple files with the same name Django will pick the first one it finds. [1] What that means is, unless you've changed STATICFILES_FINDERS, files inside folders in STATICFILES_DIRS will have the highest priority. And if static files inside apps are used, Django will follow the INSTALLED_APPS order, meaning you probably have grappelli _above_ my_app. If for whatever reason you don't want/can't change the order your apps appear in INSTALLED_APPS, you may consider placing those files in a folder using STATICFILES_DIRS.[1] https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-STATICFILES_FINDERS --  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 http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAP5dYfP7pmXZsR592gx%2Bp%3DND1w9__Jq%3Dyzxnok2BFj5Gsi1rsw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.



-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/262611393363533%40web26h.yandex.ru.
For more options, visit https://groups.google.com/groups/opt_out.


Override grappelli js files

2014-02-25 Thread rush
Hi,I'm using grappelli and I have two files in it I need to modify:admin/js/SelectBox.js
admin/js/SelectFilter2.jsI thought it would be a good idea to put it into my app static directory:my_app/static/admin/js/SelectBox.js
my_app/static/admin/js/SelectFilter2.jsBut whenever I try ./manage.py collectstatic files from my_app are overrided by original files from grappelli, however I need it vice versa.I need just to add several strings in this files into existing functions, so I can't handle it within a new js files and include into Media class ( from my point of view ).Is there any way to override grappelli files? wbr,rush.



-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/383141393359498%40web3m.yandex.ru.
For more options, visit https://groups.google.com/groups/opt_out.


Re: city selector for django

2013-10-28 Thread rush
Hi,

nope. unfortunately test_project has only URLs.Py . anything else is missing or 
broken. like templates directory is a link to itself.

28.10.13, 20:32, "Nigel Legg" ":
> 
> Following the link you posted I found a test project, is that not a usage 
> example?
> 
> Cheers, Nigel 
> 07914 740972
> 
> 
> 
> On 28 October 2013 16:01, rush  wrote:
> Hi,
> >It's pretty hard to find lightweight and easy city selector app with ready 
> >to use database.
> >After a while, I've found a django-cities-light ( 
> >https://github.com/yourlabs/django-cities-light ), but there is no usage 
> >examples at all. Maybe someone could prompt me where I can find one?
> >ps. I also tried django-cities and django-simple-cities , but the first one 
> >is pretty complicated and the second one has a lot of errors even during a 
> >database installation. And geodjango is overkill for my needs. -- 
> >wbr,rush.
> >-- 
> >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 http://groups.google.com/group/django-users.
> >To view this discussion on the web visit 
> >https://groups.google.com/d/msgid/django-users/151871382976084%40web6g.yandex.ru.
> >For more options, visit https://groups.google.com/groups/opt_out.
> >
> 
> -- 
> 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 http://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CADeX7vx8w-QBNOvqYrG7BGb-FBavchxpSnEHJQMLEOfmruP6BA%40mail.gmail.com.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/6091382978144%40web13h.yandex.ru.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Please suggest me best e-tutorial for Django framework.

2013-10-17 Thread rush
http://www.djangobook.com/ is also a good choice. -- wbr,rush.  17.10.2013, 15:49, "François Schiettecatte" :See:https://docs.djangoproject.com/en/1.5/intro/tutorial01/FrançoisOn Oct 17, 2013, at 7:44 AM, y venkatesh <javac.ve...@gmail.com> wrote: Hi every body,Good to evening to allI am new to django framework can any body please give suggest me what is best tutorial point for learning Django. Thanks & Regards, ssy. --  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 http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3e9c3cb0-a6e7-4336-89dd-f9bd58ef6e37%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.-- 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 http://groups.google.com/group/django-users.To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/70E50812-ECAD-4BBF-BF9A-80C2A07DACE7%40gmail.com.For more options, visit https://groups.google.com/groups/opt_out.



-- 
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 http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/109471382010727%40web2g.yandex.ru.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Can Django partially process a url, then resume?

2013-09-04 Thread rush
Hi,

why not to implement this check in the beginning of your view and if it's 
required just redirect the url to the same view with correct details which will 
just pass initial check?

--
wbr,
rush

05.09.13, 08:51, "KentH" ":
> 
> Hi,
> 
> I've got an app where I'd like to partially process some URLs, and then 
> afterwards have django resume & dispatch.
> 
> Consider the following example: url pattern matches 
> http://www.example.com/location/dept/some/other/info.
> 
> In this example, the location can move (eg: dept relocated). And the dept 
> name can change.
> 
> The obvious (to me) solution is to turn location/dept into a <> 
> ( a non-trivial operation which handles relocations,
> and stores canonical location/dept in session to prevent repeated lookups, 
> etc)  and then process the rest of the url, passing a
> "dept=dept" kwarg. But to do this, I need django to pick up & carry on 
> resolving, with a different URL_ROOT.
> 
> Is this possible?
> 
> Thanks. Kent
> 
> 
> -- 
> 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 http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
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 http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.