de all
Test cases:
On accessing something like http://www.host.com/media/css/base.css
it gives 404 Not Found.
Thanks and Regards
--
Shamail Tayyab
Blog: http://shamail.in/blog
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
T
Hi,
I've sent a couple of posts and it waits for moderation, but never
get cleared. I never even get any denial reason or something. Just
checking if this message reaches..
Thanks
--
Shamail Tayyab
Blog: http://shamail.in/blog
--
You received this message because you are subscribed t
day or
> two (or three) later, so these posts sometimes do get held up for a while.
> Usually, though, there are enough new member postings that someone visits
> the moderation page often enough to see these oddball cases and move them
> along fairly quickly.
>
> Karen
>
Hi,
I am working on a chat application in Django, how can I ensure that I
do not have to poll the server for any chat data.
Possible approaches that I've been to:
1. BAD - use polling.
2. Use long polling - bad approach afa browser support is concerned.
3. Using sockets in flash - makes t
this
approach looks like safest bet, is it good to go?
Btw, how does Gmail and FB chat works?
Thanks
--
Shamail Tayyab
Blog: http://shamail.in/blog
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send ema
Wed, Sep 1, 2010 at 5:23 AM, ebry1 wrote:
> I am interested in this problem too, I need to pass some additional
> data along side chat messages.
>
> Why did you decide to abandon polling? I was thinking of thinking of
> using it and updating about twice a second.
>
>
>
&g
send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
--
Shamail Tayyab
Blog: http://shamail.
w which section this topic belong to.
How can I do that?
Thanks
--
Shamail Tayyab
Blog: http://shamail.in/blog
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To un
On Mon, Sep 6, 2010 at 11:21 PM, Shamail Tayyab wrote:
>> Each topic has *multiple* sections - that's the whole point of a
>> ManyToMany relationship.
>>
>> You can iterate through the sections for each topic:
>>
>> for topic in topics:
&g
lan B.
--
Shamail Tayyab
Blog: http://shamail.in/blog
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django
roup.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
--
Shamail Tayyab
Hi,
I need a very minimal wiki, best if it runs on flat files. moinmoin is too
heavy for what I am looking. Is there some Django thing available or written
by someone here?
Thanks
--
Shamail Tayyab
Blog: http://shamail.in/blog
--
You received this message because you are subscribed to the
t can also work.
Reason: You need live streaming.
Wowza media server/Adobe FMS is what you should consider once.
Regards
--
Shamail Tayyab
Blog: http://shamail.in/blog
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group
to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.co
che?
Thanks and regards
--
Shamail Tayyab
Blog: http://shamail.in/blog
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, s
quot;, line 2, in fun
File "", line 2, in fun
File "", line 2, in fun
File "", line 2, in fun
File "", line 2, in fun
RuntimeError: maximum recursion depth exceeded
Do you have an end condition for your recursive function?
This might help:
def fun(so
Have you also tried the python's imaging library?
You can easily make any type of images in PIL and the display them as
images in browser.
(Should fit your requirement of circles, triangles etc and has lots
more)
Tx
--
Shamail Tayyab
Blog: http://shamail.in/blog
On Dec 2, 3:08 pm, Ja
Hi,
Well here is an approach, you can use the Django's template engine
for generating dynamic CSS as well...
lets assume your templates path is TEMPLATES
Now create a (minimal) file called style.css in your TEMPLATES like
this:
h1 {
font-size: {{font_size}};
text-decoration: {{text_dec
g this? Or am I just doing it wrong?
Use pymongo as DB Driver and mongoengine for Django ORM like wrapper for
mongo..
Tx
--
Shamail Tayyab
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send email to django-u
more..
I'ld like you to review my work and do tell me the goods and more
important, the bads..
With best regards
--
Shamail Tayyab
P.S The site uses Facebook to login (as of now), I definitely has a
lot of plans to fix that, but being alone on this work is not
permitting time to get aro
On Jun 4, 5:09 pm, Kenneth Gonsalves wrote:
> On Sat, 2011-06-04 at 04:58 -0700, Shamail Tayyab wrote:
> > I'ld like you to review my work and do tell me the goods and more
> > important, the bads..
>
> cool - what happens to non facebook users? also would love to
how you got the
> actual styling together? Did you bang all that out with photoshop/css/
> javascript or something? Cause I want to make a website, but I don't
> know if I should go ahead and learn this way, or if there is an easier
> way. Thank you.
> -Raj
>
> On Jun 4
Pretty interesting..
So, I've an idea here..
Why don't you log this output in some file.. (and share)
def page (request):
start = time.time()
# function definition
elapsed = (time.time() - start)
return HttpResponse()
This way, see if its the framework that's taking the time, or its
Hi,
I am running a website which is currently running in its test
phase, it is a site which consumes too much bandwidth when running. We
are running the site on Amazon EC2 and paying bandwidth cost.
At times, I need to preserve over usage of data by bringing down the
website while our test cas
Winkler wrote:
> On Dec 13, 10:20 am, Shamail Tayyab wrote:
>
> > What could be the simplest way to do it without altering any of my
> > current views or anything?
>
> Write a view for /shutdown which sets some global flag eg. in the
> database,
> then write some mid
Hi,
I have this situation..
- We need to serve static files(images), lots of them, probably 100s
of them per second.
Our website is in Django and we need to support something like this:
1. a URL like /xyz.jpg should open an image.
2. image should be accesibe via this path only because we as
> I'm not sure this is even a task for Django. If your primary concern is
> performance, try doing this directly in Apache or another web server via
> rewrite rules and use the access logs to do the accounting. Apache is good at
> access statistics.
>
> If your primary concern is statistics, th
> Does your CDN offers statistics? I use rackspace cloud files and I
> know there is log files I can rely on. I didn't used it yet but maybe
> it's a choice...
Hi,
No, we don't yet have a CDN, its a prospect, a costly prospect.
Thanks
--
You received this message because you are subscribed t
> Google for X-SendFile
>
Hey! This one looks like exactly what I want... I'll give it a shot.
Thanks
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this
You may want to try running your fastcgi daemon via command line,
This is the exact command that I am using at production:
python manage.py runfcgi daemonize=false method=threaded
host=127.0.0.1 port=9001
Tx
--
Shamail Tayyab
Blog: http://shamail.in/blog
On Dec 22, 6:52 pm, Richard Brosnahan
Hi,
I am going to deploy a site today on an Amazon's large instance.
Our setup is like this:
server 1: mongoDB + redis server
server 2: django + nodejs
We are using node for server push things. Can you please suggest what
would be the best way to deploy django as? (via wsgi or fcgi). We've
pl
eid = hashlib.sha1 ( str(r.random()) + "MY_COOL_SALT" )
then you form your URLs like:
/33bac54baa...33b/delete
This won't make it 100% secure, but will make it almost impossible to
guess an ID.
Tx
--
Shamail Tayyab
Blog: http://shamail.in/blog
--
You received this message becaus
Hi,
We have a setup in which we can't afford downtime (even while
deployment).
Our setup is based on lighttpd + django (on fcgi via flup). What my
problem is, when we restart django, the site goes down for about a
couple of seconds (and all API calls to DB remains incomplete
resulting in 500.h
Hi,
Can you give me a hint on some model schema that can optimally
store a big social graph (follow/following type).
Tx
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To u
34 matches
Mail list logo