hi
I want to develop a VIEW for cashier system which my receives multiple
parallel form as request from deferent clients
I want to know how can I handle these request ...is there any thing
like queue in django
tnx
--
You received this message because you are subscribed to the Google Groups
"Dj
can
handle these simultaneous request ..I also should be concern about
power failure ( actually It is important not to miss queued request
if there is any queue )
On Feb 19, 7:29 pm, Dennis Lee Bieber wrote:
> On Sun, 19 Feb 2012 06:27:19 -0800 (PST), "rafiee.nima"
>
> wrote:
Hi
I want to know is there any built in function to check if a user is
logged in
actually I want to check if a user from a request is logged in or not
tnx
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to djang
hi
check if you import login view in url.py to be like this :
from django.contrib.auth.views import login
and also check your pattern in url.py to be like this :
site_media=os.path.join(os.path.dirname(__file__),'site_media')
urlpatterns = patterns(' ',
(r'^login/$',login), )
and dont change t
sorry
site_media=os.path.join(os.path.dirname(__file__),'site_media') is
not needed it was a line of code from my own project :D
On Feb 28, 7:54 pm, "rafiee.nima" wrote:
> hi
> check if you import login view in url.py to be like this :
> from django.contrib.auth.vi
I want to listen to pre ( or post ) save signal from a special model
in my models but the problem is in listen function I can not mention a
specific model . it gets signal from all models but I want to just use
signal from a specific models
I would tnx for any idea
--
You received this message b
Hi
I want to know what is the most compatible and straight forward jquery
data grid plugin for django
and also how I can integrated jqgrid with django
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
Hi I got below error from my view which handle ajax request
need more than 1 value to unpack
here is my code
def add_room(request):
context={}
status=''
if request.is_ajax:
if request.POST:
hotel_instance=Hotel.objects.get(request.POST['hotel'])
if r
Oh
I find out my mistake :D
On Wednesday, July 4, 2012 12:38:11 PM UTC+4:30, rafiee.nima wrote:
>
> Hi I got below error from my view which handle ajax request
> hotel_instance=Hotel.objects.get(id=request.POST['hotel'])
> need more than 1 value to unpack
>
> here
tnx ;)
On Wednesday, July 4, 2012 1:03:37 PM UTC+4:30, Jon Black wrote:
>
> You're also returning mimetype="application/json" outside of the
> request.is_ajax check. I doubt you want that.
> On Wed, Jul 4, 2012, at 01:20, rafiee.nima wrote:
>
> Oh
&
Hi Im some how new to django . I write a view to handle ajax request
but I find out that save() method dose not save model instance in to the
database
here is my code
def add_room(request):
context={}
status=''
if request.is_ajax:
if request.POST:
hotel_instance=H
Hi I need to to assign dynamic name to a variable I use blow code :
for item,value in request.POST.items():
if item=="kid_room"
vars()[item]="ok"
list.append({"a":kid_room})
data=simplejson.dumps(list,cls=DjangoJSONEncoder)
return HttpResponse(data, mimetype="a
hi
I am new to bootstarp and I want to use it in my django project.
I put the needed folder's(css , js , img) in my project static folder and
config my setting.py to access static directory
I can access bootstrap.css from http:///..myprojecet/static/bootstrap.css
which means I correctly config s
On Sunday, March 9, 2014 10:29:37 PM UTC+3:30, Camilo Torres wrote:
>
> On Sunday, March 9, 2014 12:11:11 PM UTC-4:30, rafiee.nima wrote:
>>
>> I am new to bootstarp and I want to use it in my django project.
>> I put the needed folder's(css , js , img) in my project
I'm using development server . and when i use it
seems work correctly but when I use my project file and directory structure is like :
1. root project folder
1. app folder
2. static
1. css
1. bootstarp.css
2. js
3. img
3. media
4. template
did you add facebook namespace in your main project urls.py ?
On Friday, May 17, 2013 11:20:34 AM UTC+4:30, Avnesh Shakya wrote:
>
> hi,
>I am getting error -
>
> NoReverseMatch at /login/
>
>u'facebook' is not a registered namespace inside 'socialregistration'
>
> wh
Hi
Im using django socialregistration i configure everything step by step
using socialregistration doc. i also add sit_id .but i got this error :
Exception Type: TypeError at /social/linkedin/redirect/
Exception Value: is not JSON serializable
--
You received this message because you are s
I'v fixed the problem by adding
SESSION_SERIALIZER='django.contrib.sessions.serializers.PickleSerializer'
to setting.py
On Monday, April 14, 2014 8:41:10 PM UTC+4:30, rafiee.nima wrote:
>
> Hi
> Im using django socialregistration i configure everythi
Hi
Im using django send mail and here is my view code .
def send(request):
send_mail('subject', 'message, 'mym...@gmail.com',
['mym...@gmail.com'], fail_silently=False)
and I got thie error :
Traceback:
110. self.connection.sendmail(from_email, recipients,
message.as_byte
19 matches
Mail list logo