; !this.crossDomain) {
xhr.setRequestHeader("X-CSRFToken", csrftoken);
}
},
...
É isso, espero ter ajudado
Atenciosamente,
*Allan Rafael Ferreira de Oliveira*
*Bacharel em Ciência da Computação • Universidade Estadual da
ParaíbaEstagiário de TI • PrestCon
://groups.google.com/d/msgid/django-users/CANG%3DrD%3Deq8m3%2BeJOcwB%3Du%3D407FesMo9rfCTofpPgUjszExwcTg%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CANG%3DrD%3Deq8m3%2BeJOcwB%3Du%3D407FesMo9rfCTofpPgUjszExwcTg%40mail.gmail.com?utm_medium=email_source=footer>
users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/0085fc2e-9d89-4a80-b2b8-5e642def5501%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
*Allan Njoroge Kinyanjui*
*Email*: *njorogeall...@gmail
Is possible use pant builds 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 django-users+unsubscr...@googlegroups.com.
To post to this group, send
Il giorno venerdì 27 febbraio 2009 15:14:13 UTC+1, Daniel Roseman ha
scritto:
>
> On Feb 27, 1:21 pm, Anders wrote:
> > Hi.
> >
> > In the users admin of Django admin there is a nice way of selecting
> > permissions for each user by adding and removing
I have this admin.py and models.py
```
from django.contrib import admin
from bootcamp.groups_manager.models import Group, Member, GroupType,
GroupEntity, GroupMember, GroupMemberRole
from guardian.admin import GuardedModelAdmin
class GroupAdmin(GuardedModelAdmin):
pass
Hi,
I need to add a specific permission for users of group such as add new
member, but only for the group users.
I have installed the django-permission
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop
Would you have any recommendations on where to get started with this? We
were originally making a desktop application, but plans have shifted and
I'm not very knowledgeable about everything web.
Allan
On Tuesday, 26 September 2017 13:35:08 UTC-7, Andréas Kühne wrote:
>
> Hi
e connection would
> time out - unless you do a bit of magic on the connections.
>
> So, my question to you is what are you trying to accomplish? What is the
> purpose of your test?
>
> Regards,
>
> Andréas
>
> 2017-09-25 22:42 GMT+02:00 Allan <allanei...@gmail.com &
I've created a simple form for data upload. I'm testing it through
localhost and was wondering if this is realistic. Web development is a new
area for me so bare with me please if this is a laughable question. I
uploaded a 1GB file and it was uploaded and moved to a folder in my project
in
looking at the relevant
parts of the Django source, but can't seem to find where those get
created. Can someone steer me in the right direction?
Thanks in advance.
~Allan
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
hi Everyone
I have a model that i exported from a legacy database. when i start
the server it tells me that some of the fields cannot have unique=true
with a string CharField with a length over 255.
Is there a way to override the model validation that runs on server
start?
Thanks,
Allan
--
You
]
Sent: Tuesday, May 26, 2009 4:04 AM
To: django-users@googlegroups.com
Subject: Re: 1.0 tutorial Pt. 4, Poll Detail form appends action to redirect URL
On 26 May 00:28, Allan wrote:
>
> I'm completely around the axle on this.
>
raised.
This is my first trip with Django and little Python so I'm still
chasing the easy stuff. Sorry for the bother and thanks for taking the
time.
Allan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django
really scratching my head on this one
Allan
On Sep 24, 8:07 pm, Graham Dumpleton <[EMAIL PROTECTED]>
wrote:
> On Sep 24, 11:37 pm, Allan <[EMAIL PROTECTED]> wrote:
>
> > Hi Graham,
>
> > Thanks for responding. I'm using Django 1.0, hosted at Webfaction on
Hi Graham,
Thanks for responding. I'm using Django 1.0, hosted at Webfaction on
Apache using mod_python. What special configuration or hacks would
you suggest to get admin properly working at a sub URL of this
configuration?
Allan -- Atlanta
On Sep 23, 8:04 pm, Graham Dumpleton <[EM
excerpt from urls.py appears below.
Allan
import os
from django.conf.urls.defaults import *
from django.conf import settings
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
(r'^contact/$', 'careers_contact.views.contact'),
(r'^careers
Hi all!
I have 3 classes in model.py
class Category(models.Model):
category = models.CharField(max_length=130)
def __unicode__(self):
return self.category
class Subcategory(models.Model):
category = models.ForeignKey('Category')
subcategory =
just provide a page that provides a status,
>> where your user can refresh as they like.
>
> I'll have the daemon include a datetime value in the pickled data
> which can be displayed in the page, and add a refresh button that will
> trigger the signal I describe above.
>
> T
on that page when the import is completed (possibly
through some ajax-y interface either by polling or using a Comet
system) or, the easy way out, just provide a page that provides a
status, where your user can refresh as they like. All depends on your
situation.
Hope that helps,
Christopher Allan Webber
Why not use django's builtin Authentication models? It handles most
of this for you.
from django.contrib import auth
authenticate with:
user = auth.authenticate(username=username,
password=password)
then log the user in:
auth.login(request, user)
and
Sure, we can do this, but this doesn't provide a nice
application-level way of adding this to the admin listing.
At the company I work for, we have over 100 websites we deploy for
(and we are just starting to transition to Django). We deploy each
application individually depending on a client's
Hello,
For a project we're working on, we need a custom view that's available
only to administrators. It's not the traditional add/edit/delete
stuff, and the generic admin interface doesn't cut it. That's fine, I
can write my own view. (They need to upload a CSV file, which adds
and updates
I wonder is there a simple fix to my code or even a way to handle
multiple query sets so that the list template can output the correct
heading and description.
Any help would be appreciated,
Many Thanks
Allan
--~--~-~--~~~---~--~~
You received this message b
That's so obvious now that you point that out, I don't know how I
could have missed that. Really thanks a million Jay! it all works
perfectly now.
Allan
On 11 Sep 2006, at 18:14, Jay Parlar wrote:
>
> On 9/11/06, Allan Henderson <[EMAIL PROTECTED]> wrote:
>>
>> i'
.contrib.admin',
'myproject.products'
)
///////
On 11/09/06, Jay Parlar <[EMAIL PROTECTED]> wrote:
>
> On 9/11/06, Allan Henderson <[EMAIL PROTECTED]> wrote:
> >
> > Removed the path bit, navigating to http://localhostL:8000/static
> &g
Removed the path bit, navigating to http://localhostL:8000/static
gets me:
ViewDoesNotExist at /static/
Could not import janeraven.products.views.django.views.static. Error
was: No module named django.views.static
Allan
On 11 Sep 2006, at 14:57, Jay Parlar wrote:
>
> On 9/12/06,
Thanks Jay but that doesn't appear to make any difference. I wonder
is it how i have settings.py set up but nothing jumps out at me when
trying to find where I've gone wrong. Don't know if its important but
I'm on a mac and I'm trying to accomplish this through the built-in
dev server. Not
Complete newbie problem here but i can't seem to get django to show
any images or stylesheets etc.
In urls.py:
(r'^images/(?P.*)$', 'django.views.static.serve',
{'document_root': '/Users/whitebook/django/django_projects/mysite/
media/images'}),
In the template I have .
So when
AirSage Inc. is seeking energetic Web Application Developers to expand
and enhance the company's unique product offering. AirSage creates
software that allows road traffic speeds and other information to be
determined from cellular network signalling data.
The qualified candidate will possess
30 matches
Mail list logo