On Sep 27, 2017 8:59 PM, "harsh sharma" wrote:
i m a noob in django And i dont know why i am getting this error
my views.py file:
from django.shortcuts import render,render_to_response
from django.http import HttpResponse
from all.models import ALL
from
I am taking about using hbase as a db for Django. My use case is that a
have a Django app and the data in mysql has grown to the point where
performance has greatly suffered.
We have around 2TB of data with some very wide tables with many millions of
rows. So I am beginning my research into how
Are you asking HBase as database for Django or accessing HBase from Django?
The popular framework Hue http://gethue.com/ is based on Django only..
On Thu, Sep 28, 2017 at 9:34 PM, Larry Martell
wrote:
> Has anyone ever used any big data solutions, such as hbase, with
Has anyone ever used any big data solutions, such as hbase, with django?
--
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
An input with type "button" instead of "submit" should not trigger the form
submit.
On Thu, Sep 28, 2017 at 7:56 PM, fábio andrews rocha marques <
fabioandrewsrochamarq...@gmail.com> wrote:
> In my template, I have a form. This form has a lot of textfields and a
> submit button. There's another
In my template, I have a form. This form has a lot of textfields and a
submit button. There's another button, lets name it "?", that displays a
popup window whenever it's clicked.
I want the "?" button to be on the right side of one of the textfields on
my form. The problem is: since the form
On 28/09/2017 10:38 PM, Joshua Hepburn wrote:
Hi Mike,
The immediate thought that comes to mind is moodle.org. I know it's
not django or python - it's php.
I only suggest it as I have worked for a number of years in IT for
primary/secondary education institutions and I'm currently back at
I am just using it in a view function. For example:-
@owner_required
def all(request, **kwargs):
pass
On Friday, September 29, 2017 at 12:33:09 AM UTC+5:30, Mannu Gupta wrote:
>
> While making a customer decorator in django, the code is here :-
>
> def owner_required(function):
> def
On Thursday, 28 September 2017 20:03:09 UTC+1, Mannu Gupta wrote:
>
> While making a customer decorator in django, the code is here :-
>
> def owner_required(function):
> def wrap(request, *args, **kwargs):
> print(request)
> ip_address = get_client_ip(request)
>
While making a customer decorator in django, the code is here :-
def owner_required(function):
def wrap(request, *args, **kwargs):
print(request)
ip_address = get_client_ip(request)
ip_exist = Node.objects.get(ip_address=ip_address)
if ip_exist:
On Thursday, September 28, 2017 at 2:16:44 PM UTC+1, Derek wrote:
>
> Note that
>
> user.is_authenticated()
>
> has become
>
> user.is_authenticated
>
> in Django 1.10
>
Still on 1.8 in this case
>
> Otherwise if user is really (or could really) be None, then try... except
> may be better:
Note that
user.is_authenticated()
has become
user.is_authenticated
in Django 1.10
Otherwise if user is really (or could really) be None, then try... except
may be better:
try:
if user.is_authenticated() and user.is_staff:
do something
else:
do something else
except
In a custom authentication backend, I was getting this error with this
(previous developer's!) code:
if user.is_authenticated() and user.is_staff:
AttributeError: 'NoneType' object has no attribute 'is_authenticated'
The cause seemed clear, the parent classes method was run first with
Hi Everyone,
When i hit the url localhost:8000/forms it gives a html page and on the
other hand when i do it through the django admin ie
localhost:8000/admin/forms it gives me the result...What can be the
reason??Can anyone help??
Thank You.
Regards,
Rakhee Menon
--
You received this
14 matches
Mail list logo