Hi,
I have two different Django Applications.
Both the applications have there respective Auth.
Applications are hosted on different servers.
Now the use case is such that:
There is a redirection link that can be provided from Application 1.
Now i would want to disable auth on Appli
UTC+5:30, Arun S wrote:
>
> Hi,
>
>
>
> I have two different Django Applications.
>
> Both the applications have there respective Auth.
>
>
> Applications are hosted on different servers.
>
> Now the use case is such that:
>
>
> There is a redirect
Hi,
Just trying to get a few answers on the Session IDs in Django.
> how does Django Generate Session IDs/Session Keys.
It seems that Django does the following for Session Keys:
def _get_new_session_key(self):
"Returns session key that isn't being used."
while True:
session_key = get_random_str
Hi,
I was trying to add a Customised View to Handle Wrong Passwords entered by
Users.
As of now, Djangos Framework just outputs, "Invalid Username or Password"
when a Wrong password is entered by the User.
This doesnt allow much flexibility if some information such as Invalid
Access needs to
ceiver to
> the user_login_failed signal[1] instead.
>
> Cheers,
> Simon
>
> [1]
> https://docs.djangoproject.com/en/1.9/ref/contrib/auth/#django.contrib.auth.signals.user_login_failed
>
> Le mardi 3 mai 2016 06:01:59 UTC-4, Arun S a écrit :
>>
>> Hi,
>&
Hi ,
I have a small issue with the Validation of Passwords in the Change
Password Page.
Due to certain different requirements, i have written my own Custom Forms
for Change Password.
Now in this, I would want to first Validate the Old Password Field with the
Current Users Password.
The Probl
/1.9/topics/auth/default/#auth-web-requests
I shall check this.
Thanks.
On Wednesday, May 18, 2016 at 1:22:16 PM UTC+5:30, James Schneider wrote:
>
>
>
> On Wed, May 18, 2016 at 12:08 AM, Arun S >
> wrote:
>
>> Hi ,
>>
>> I have a small issue with th
Hi,
I have a Regular Expression something like this:
regex=r'^.*(?=.*{8,}*)(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[!$%^&*?@#-_+=])'
r'.*$',
In this, i would like to read the values from the Django Setting file on
the Max and Min Length and provide them as my input instead of Hard Codi
e format() on the regex, being careful to escape '{'
> and '}':
>
> regex_f=r'^.*(?=.*{{{MIN},{MAX}}}*)(?=.*\d)(?
> =.*[a-z])(?=.*[A-Z])(?=.*[!$%^&*?@#-_+=])'
> regex=regex_f.format(MIN=settings.MY_RE_MIN, MAX=settings.MY_RE_MAX)
>
>
> On Thu, May 19,
gex_f=r'^.*(?=.{{{MIN},{MAX}}})(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[!$%^&*?@#-_+=]).*$'
>
> But the "^.*" and the ".*$" are not needed since RegexField uses
> RegexValidator, which uses re.search().
>
> On Thu, May 19, 2016 at 1:53 AM, Arun S >
> wrote:
>
>>
Hi all,
I have a small issue with writing a Custom Log Formatter.
By default: log_format = '%(asctime)s %(module)s %(levelname)-8s-
%(message)s'
This is the Log formatter being used.
But only in a few cases or rather in a few modules, i would like to include
for ex: "some_id" as a seperator i
#x27;handlers': {
> 'default': {
> 'formatter': 'detailed',
> 'filters': ['some_id_filter'],
> ...
> },
> ...
> },
> 'filters': {
>
Hi,
i am using django-axes package and want to lock out a user based on userid.
Now there is an issue that the user gets locked out from one IP, but the
same user can still login from a different IP successfully.
Which negates the whole use of a security requirement of locking a
particular user
Hi,
My Project, i would want to redirect login page to a SSO page.
and handle redirection in Django.
I am using Apache Server.
Whats the best way to implement this ?
i was reading about django - remoteusermiddleware but could'nt quite figure
out how to handle the redirection.
Any help is appr
your SSO tools and how they handle passing logged in
> user information to your app.
>
>
> [1]
> https://docs.djangoproject.com/en/1.10/ref/settings/#login-redirect-url
>
> On 08.03.2017 15:26, Arun S wrote:
>
> Hi,
>
> My Project, i would want to redirect login
h 2017 05:26:02 Arun S wrote:
>
>
>
> > My Project, i would want to redirect login page to a SSO page.
>
> > and handle redirection in Django.
>
>
>
> Don't solve what others already did for you:
>
> https://djangopackages.org/packages/p/django-al
Hi,
I am trying to have a drop down menu for a field in my form but seems like
its not working as required.
This is my form: forms.py
eval_states = [
('ACTIVE',EvalState.objects.filter(name='ACTIVE')),
('INACTIVE',EvalState.objects.filter(name='INACTIVE')),
('DELETE',Eva
Yes, name is a foreign key here.
--
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
30, lemme smash wrote:
>
> so, you can maybe show you models structure here?
> also, if it is a ForeignKey, why you trying to filter qs by string values?
> I mean Q(name = 'ACTIVE')
> it's shouldn't work
>
>
> On Sunday, August 6, 2017 at 5:22:21 AM UTC+3,
you should use text choices
>
> On Monday, August 7, 2017 at 6:22:50 AM UTC+3, Arun S wrote:
>>
>> The Models Look like this :
>>
>> stage_state = models.ForeignKey(EvalState, verbose_name="Eval State")
>> class Bundle(AtlasAuditModel, AtlasBaseHel
#x27;0012_add_eval_states'),
]
operations = [
migrations.RunPython(forwards, backwards),
]
Does this make sense for the model structure. I do not have any Models
Diagram for the same.
---
Arun
On Monday, August 7, 2017 at 4:13:33 PM UTC+5:30, lemme smash wrote:
>
&
Hi,
As a Part of a very big project for a Company, we follow CSDL rules and we
use Django Extensively.
As a part of Django, we would like to Follow certain Normalisation Process
for all the Passwords during User Login.
In the Django Documentation, there isn’t any information on whether Django
basically I would like to know if the latest version of django already supports
any kind of normalization for the login passwords.
--
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,
let me try to clear my question.
please correct me if am wrong.
basically all I want to know is that there already exists a number of Unicode
normalization forms.
Reference
Unicode normalization forms: http://unicode.org/reports/tr15/#Norm_Forms
so as I said as a part of a company norms, the pr
in characters, or forcing lower
> case only
>
> On Wed, Apr 20, 2016 at 4:16 PM, Arun S >
> wrote:
>
>> let me try to clear my question.
>>
>> please correct me if am wrong.
>> basically all I want to know is that there already exists a number of
>> Un
For ex, adding the Django Code Snippet for handling User names in the Login
Page :
default_username = (unicodedata.normalize('NFKD', default_username)
So Django does follow Normalizing of Usernames usign NFKD Algorithm.
Then applies Hashing Algorithms on this.
*But the same is never followed for
thanks for some very useful information.
I did raise this in the dev forum but it was not agreed to be a question in
that forum to discuss whether this should be taken up.
I guess with all this input, this can be suggested tough.
--
You received this message because you are subscribed to the
27 matches
Mail list logo