class EmailNotificationTest(BaseTestCase):
"""
Test Class for testing email notification
"""
urls = 'notification.urls'
def test_create_notification(self):
res = self.client.get('email/create/) # will fail
self.assertEquals(res.status_code, 200)
If I
The url docs talks about naming urls like this: myapp-comment, does it make
sense to do this still when we have namespaces? With a namespace we could do
myapp:comment this way the url name only describes the view and has
no reference to the application name that its in.
--
You received this
Hey guys,
I know there has been work done with nosql I was wondering if the admin
works with mongo yet?
Thank,
Vitaly Babiy
--
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...@google
Awesome Job, thanks everyone.
Vitaly Babiy
On Thu, May 6, 2010 at 2:53 PM, Nick Serra <nickse...@gmail.com> wrote:
> Awesome! Thanks so much!
>
> On May 6, 3:32 am, Federico Capoano <nemesis.des...@libero.it> wrote:
> > I've been using the beta for a while and it
Django provides a few decorators that remove alot of that repetitive code.
Check the auth section for the logged in decorator
Vitaly Babiy
On Sat, Apr 10, 2010 at 11:58 PM, ydjango <neerash...@gmail.com> wrote:
> I find all my view method have identical code in start and in end:
&
Hey guys,
Has any found a good application to send emails to your users? Like you want
to let all your user know of downtime.
Thanks
Vitaly Babiy
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
Hey Guys,
Is there anything in the works to do some refactoring of django auth.
Because if you are using a custom user object all the django auth test
break.
Thanks,
Vitaly Babiy
--
You received this message because you are subscribed to the Google Groups
"Django users" grou
According to there twitter (http://twitter.com/djangocon/status/4680045261)
they should be up but who knows when.
Vitaly Babiy
On Tue, Nov 10, 2009 at 8:01 AM, Aljosa Mohorovic <
aljosa.mohoro...@gmail.com> wrote:
>
> will conference videos be available or did something terribl
Hey take a look at this
http://www.howsthe.com/blog/2009/sep/20/djang-nginx-mod_wsgi-ssl/
Vitaly Babiy
On Thu, Oct 15, 2009 at 5:30 PM, neri...@gmail.com <neri...@gmail.com>wrote:
>
> I'm trying to do the same thing but I'm having problems getting nginx
> to server over https. I
Yeah I would love to seem them too.
Vitaly Babiy
On Wed, Oct 14, 2009 at 10:44 AM, Aljosa Mohorovic <
aljosa.mohoro...@gmail.com> wrote:
>
> anybody knows when djangocon september/portland videos will be
> available?
>
Hey take a look at this
http://stackoverflow.com/questions/1184983/load-a-django-template-tag-library-for-all-views-by-default
Vitaly Babiy
On Sun, Oct 4, 2009 at 10:07 PM, Christophe Pettus <x...@thebuild.com> wrote:
>
> In my templates, I'm making reasonably heavy use of
You have a simlink to the django directory. Just remove the django file.
Vitaly Babiy
On Sat, Sep 26, 2009 at 7:42 PM, Malcolm MacKinnon <mmack3...@gmail.com>wrote:
> Sure, here it is:
>
> malc...@baglux:~/django-trunk/django$ ls -al
> total 80
> drwxr-xr-x 18 malcolm malco
Post the result of a ls -al in the django dir
Vitaly Babiy
On Sat, Sep 26, 2009 at 7:16 PM, Malcolm MacKinnon <mmack3...@gmail.com>wrote:
> About 8 moinths ago, I downloaded the development version of django and
> have been using it to develope a web site. I'm using Ubu
Hey guys,
I am looking for people would be interested in writing articles for a
django/web development blog, if you are interested please let me know.
Thanks,
Vitaly Babiy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Thanks guys for all the feedback, I have done what Francis said, we are
using nginx and apache/mod_wsgi in the back. Nginx handles the ssl and it
works great.
Thanks for the help.
Vitaly Babiy
On Tue, Sep 1, 2009 at 9:30 AM, Alex Robbins
<alexander.j.robb...@gmail.com>wrote:
>
> Gra
Hey guys,
What is the best way to deploy an app that uses mod_wsgi that some parts of
it need to be behind SSL?
Thanks,
Vitaly Babiy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" grou
Alright, thanks
Vitaly Babiy
On Sat, Aug 22, 2009 at 12:31 PM, Andy McKay <a...@clearwind.ca> wrote:
>
>
> On 22-Aug-09, at 7:50 AM, Vitaly Babiy wrote:
>
> > Hey,
> > I am working on a site that part of it must be behind HTTPS, is
> > there any
Hey,I am working on a site that part of it must be behind HTTPS, is there
any I can run this using the test server?
Thanks,
Vitaly Babiy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" grou
the
models created before a test runs?
The idea comes from factorygirl(
http://www.thoughtbot.com/projects/factory_girl) in the ruby on rails world.
Thanks,
Vitaly Babiy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Hello Guys,
So I need to remove the unique flag off the username field in the user
model. I already extend the auth user model but I can't override the
username field. ( Django does not allow this )
What is the best way to do this?
Thanks
Vitaly Babiy
Hey guys, I am working on an application that needs to be timezone aware. Is
there support for this with in django I can't seem to find anything except
for a few third party packages. i am trying to find something that is in
django core.
Thanks,
Vitaly Babiy
Also you may want to look in to slice host. Awesome service.
Vitaly Babiy
On Fri, Aug 7, 2009 at 4:30 PM, Dan Harris <dih0...@gmail.com> wrote:
>
> I just wanted to give a shout out as well to webfaction. I used to use
> my own virtual private server for hosting django st
Thanks, I knew it had to be somewhere in the docs.
Vitaly Babiy
On Sun, Jul 26, 2009 at 7:16 PM, Vasil Vangelovski
<vvangelov...@gmail.com>wrote:
>
> See this:
>
>
> http://docs.djangoproject.com/en/dev/topics/http/urls/#defining-url-namespaces
>
> On Mon, Jul 27, 200
in a setting config
Thank,
Vitaly Babiy
On Sun, Jul 26, 2009 at 9:06 PM, Russell Keith-Magee <freakboy3...@gmail.com
> wrote:
>
> On Mon, Jul 27, 2009 at 6:17 AM, Vitaly Babiy<vbabi...@gmail.com> wrote:
> > Hey,
> > I have replaced the default auth backend with
is the
best way to work around this?
Thanks,
Vitaly Babiy
--~--~-~--~~~---~--~~
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 unsubs
How does one go about registering a namespace?
I can't seem to find it in the docs.
Thanks,
Vitaly Babiy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
Sorry this was my fault, didn't test my test case. It was a bug in my test
code.
Thanks any way
Vitaly Babiy
On Thu, Jul 16, 2009 at 1:23 PM, Karen Tracey <kmtra...@gmail.com> wrote:
> On Thu, Jul 16, 2009 at 8:53 AM, Vitaly Babiy <vbabi...@gmail.com> wrote:
>
>>
Make your your database tables are using utf-8. Here is a great post about
the topic
http://blog.awarelabs.com/2008/django-tips-utf-8-ascii-encoding-errors-urllib2-and-mysql/
Vitaly Babiy
On Thu, Jul 16, 2009 at 1:03 PM, Qixing DU <qixing...@gmail.com> wrote:
>
> Dear All,
>
>
UserForm(forms.ModelForm):
class Meta:
model=User
fields= ('first_name',)
>>> form = UserForm()
>>> form.is_bound
False # this is good
>>> form = UserForm({})
>>> form.is_bound
False # this should be true
I am not sure why when you give a
I use Ubuntu 9.04, works great on a XPS M1530 Laptop
Vitaly Babiy
On Fri, Jul 3, 2009 at 2:36 PM, developingchris
<developingch...@gmail.com>wrote:
>
> Looking for opinion of the best distro for a developer machine for
> django.
>
> I'm on ubuntu now, its going ok. I'm h
Thanks Ramiro
Vitaly Babiy
On Thu, Jun 18, 2009 at 3:08 PM, Ramiro Morales <cra...@gmail.com> wrote:
>
> On Thu, Jun 18, 2009 at 4:01 PM, Vitaly Babiy<vbabi...@gmail.com> wrote:
> > Is there a way to tell django with a setting to include the character-set
>
Is there a way to tell django with a setting to include the character-set on
the create of tables?
Vitaly Babiy
On Thu, Jun 18, 2009 at 2:18 PM, Karen Tracey <kmtra...@gmail.com> wrote:
> On Thu, Jun 18, 2009 at 2:06 PM, Vitaly Babiy <vbabi...@gmail.com> wrote:
>
&
I am using MySQL.
Sorry I should have mentioned it in the body not only in the subject.
Thanks
Vitaly Babiy
On Thu, Jun 18, 2009 at 1:46 PM, Karen Tracey <kmtra...@gmail.com> wrote:
> On Thu, Jun 18, 2009 at 1:44 PM, Vitaly Babiy <vbabi...@gmail.com> wrote:
>
>> He
Hey All,
How can I have django create the tables that are utf8 encoding.
Thanks,
Vitaly Babiy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to dj
Yeah I think that is what I am going to do.
Thanks
Vitaly Babiy
On Mon, Jun 15, 2009 at 4:58 PM, TiNo <tin...@gmail.com> wrote:
> On Sun, Jun 14, 2009 at 14:45, Vitaly Babiy <vbabi...@gmail.com> wrote:
>
>> Hey Everyone,
>> I need to change the
That seem likes to much overhead to make every request to go through.
Vitaly Babiy
On Mon, Jun 15, 2009 at 1:31 AM, Rama Vadakattu <rama.vadaka...@gmail.com>wrote:
>
> one simple idea ( it may or may not be feasible ) that you can use is
> 1) write down a middleware
> 2) e
to this.
Thanks,
Vitaly Babiy
--~--~-~--~~~---~--~~
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 unsubscribe from this group,
Maybe I should have said why I ask.
I have a formset that the formset can not submit more than certain number of
forms. I was not sure if max_num handles this or do I need to do this with
some custom validation?
Vitaly Babiy
On Sun, Mar 29, 2009 at 5:57 PM, Vitaly Babiy <vbabi...@gmail.
If the count of forms submit goes over the max_num shouldn't it raise and
validation error?
Thanks,
Vitaly Babiy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this g
t-oriented.
But like you said before I can do this with itertool.chain, for now.
Vitaly Babiy
On Sat, Mar 7, 2009 at 8:03 PM, Malcolm Tredinnick <malc...@pointy-stick.com
> wrote:
>
> On Sat, 2009-03-07 at 06:50 -0600, Tim Chase wrote:
> [...]
> > A slightly less DRY sol
How would generic relations solve this problem, It has been recommend for me
to look at it a few times but I can't seem to understand how it would work.
Vitaly Babiy
On Sat, Mar 7, 2009 at 7:50 AM, Tim Chase <django.us...@tim.thechases.com>wrote:
>
> >> class Tr
Thanks Jirka, that fixed the problem. But I think I will file a bug report
that seem to be very hacky :)
Vitaly Babiy
On Fri, Mar 6, 2009 at 11:15 AM, Vitaly Babiy <vbabi...@gmail.com> wrote:
> Alright I will have to give this a try
>
> Vitaly Babiy
>
>
>
> On F
Alright I will have to give this a try
Vitaly Babiy
On Fri, Mar 6, 2009 at 10:30 AM, Jirka Vejrazka <jirka.vejra...@gmail.com>wrote:
>
> > I have a management command that that starts up a few process to process
> a
> > request: http://dpaste.com/7925/.
>
> Hi, I
terable, chunksize).get()
File
"/usr/lib/python2.5/site-packages/multiprocessing-2.6.1.1-py2.5-linux-i686.egg/multiprocessing/pool.py",
line 422, in get
raise self._value
_mysql_exceptions.OperationalError: (2013, 'Lost connection to MySQL server
during query')
Any one got any idea why this
Here is my constructor:
class EmailVerification(models.Model):
def __init__(self, user, ip, *args, **kargs):
# Build sha1 for email verification
sha1 = sha.new("".join([str(user.id), user.email, ip]))
self.sha = sha1
self.user = user
Vitaly Babi
izers/python.py",
line 96, in Deserializer
yield base.DeserializedObject(Model(**data), m2m_data)
TypeError: __init__() takes at least 3 non-keyword arguments (1 given)
Vitaly Babiy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to th
Hey Alex I got cherrypy to work great I am going to post a blog as soon as
my blog is done :)
If anyone cares just ask here and I will post a write up here.
Vitaly Babiy
On Mon, Feb 9, 2009 at 7:52 AM, Vitaly Babiy <vbabi...@gmail.com> wrote:
> Thank you Alex for you help I
Thank you Alex for you help I will look in to this.
Vitaly Babiy
On Mon, Feb 9, 2009 at 12:32 AM, Alex Gaynor <alex.gay...@gmail.com> wrote:
>
>
> On Mon, Feb 9, 2009 at 12:28 AM, Vitaly Babiy <vbabi...@gmail.com> wrote:
>
>> Yeah, it does. I am going to h
Yeah, it does. I am going to have to look to see if can find a better stand
alone server to do this instead of patching django.
Vitaly Babiy
On Mon, Feb 9, 2009 at 12:22 AM, Alex Gaynor <alex.gay...@gmail.com> wrote:
>
>
> On Mon, Feb 9, 2009 at 12:18 AM, Vitaly Babiy <
Yea, but I see a few problems whit that solution:
- Hacky
- Still not guaranteed to work( it could take more time)
- Would really slow down the tests
Vitaly Babiy
On Mon, Feb 9, 2009 at 12:15 AM, Alex Gaynor <alex.gay...@gmail.com> wrote:
>
>
> On Mon, Feb 9, 2009 at 1
Hello,
If I am using a URLField in form and it set to verify the URL, if I write
tests for the code and in the post I push a url like *http:google.com *it
will fail if the computer is off-line. Is there a good fix for this?
Vitaly Babiy
--~--~-~--~~~---~--~~
You
are done. And have a way to tell the
server what to return on the request.
Vitaly Babiy
On Mon, Feb 9, 2009 at 12:08 AM, Alex Gaynor <alex.gay...@gmail.com> wrote:
>
>
> On Mon, Feb 9, 2009 at 12:06 AM, Vitaly Babiy <vbabi...@gmail.com> wrote:
>
>> Hello everyone,
&
will fail.
I have tried to implement a HTTPServer in python. The problem I am having is
once I have it thread, If I put it in the setUp method and tearDown I get
port in use exception. Due to the nature of the thread it is not guaranteed
to be killed in time.
Vitaly Babiy
Has any one got hudson to work as a CI system.
Vitaly Babiy
On Wed, Jan 14, 2009 at 1:05 PM, Adam V. <fla...@gmail.com> wrote:
>
> > Revision Control: How do you layout your development repository? I'm
> > using Subversion for my setup but would be interested in hearing
Malcolm thanks for the feedback and your right, I agree with you that the
client should not know about the user.
Vitaly Babiy
2009/1/26 Malcolm Tredinnick <malc...@pointy-stick.com>
>
> On Sat, 2009-01-24 at 12:14 -0500, Vitaly Babiy wrote:
> > Yes either way would work I
Yeah this is true, that would work. Thanks,
Vitaly Babiy
On Sat, Jan 24, 2009 at 12:38 PM, Alex Koshelev <daeva...@gmail.com> wrote:
> Extract this test to its own TestCase with needed fixtures.
>
>
> On Sat, Jan 24, 2009 at 8:15 PM, Vitaly Babiy <vbabi...@gmail.com> wr
Is there a way to specify which fixtures I want to import per test?
Vitaly Babiy
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to dj
Yes either way would work I was just wondering if there was a more cleaner
way of doing so.
Vitaly Babiy
On Sat, Jan 24, 2009 at 11:47 AM, Masklinn <maskl...@masklinn.net> wrote:
>
> On 24 Jan 2009, at 06:22 , Vbabiy wrote:
> >
> >def test_showAcco
Hey for gedit you should try my plug in
http://github.com/vbabiy/gedit-openfiles/tree/master
Vitaly Babiy
On Wed, Jan 7, 2009 at 10:08 AM, don ilicis <juve...@gmail.com> wrote:
>
>
> 2009/1/7 Kenneth Gonsalves <law...@thenilgiris.com>
>
>>
>> On Tue
Bernard does komodo have a open files function (open file in project based
on file name search) like there is text mate or gedit with plugin
(gedit-openfiles).
Vitaly Babiy
On Tue, Jan 6, 2009 at 3:10 PM, Bernard <bernard.ch...@gmail.com> wrote:
>
> I use Komodo IDE 5 everyday for
Brain do you find it a little slow?
Vitaly Babiy
On Tue, Jan 6, 2009 at 12:00 PM, Brian <bjt...@gmail.com> wrote:
>
> For Python/Django I tend to like Komodo's Editor, as I am a fan of
> auto-complete and $free.
> >
>
--~--~-~--~~~-
I use Gedit in gnome and some plugins
Works well.
Vitaly Babiy
On Tue, Jan 6, 2009 at 11:45 AM, Santiago <santiago.j.zar...@gmail.com>wrote:
>
> i recently switched to screen + vim with omnicomplete for python and
> html...
>
> komodo edit its pretty good too...
Thanks Alex that worked great.
Vitaly Babiy
On Fri, Nov 7, 2008 at 12:19 PM, Alex Koshelev <[EMAIL PROTECTED]> wrote:
> Try to connection handler without `sender` specified. And filter needed
> models inside it.
>
> def my_handler(sender, **kwargs):
> if not isinstanc
if there is any way to do it with signals.
Thanks,
Vitaly Babiy
--~--~-~--~~~---~--~~
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
I personally would recommend git.
Vitaly Babiy
On Wed, Oct 22, 2008 at 4:01 PM, john Moylan <[EMAIL PROTECTED]> wrote:
> You can already use git with an SVN server
>
>
>
> 2008/10/22 Rit Lim <[EMAIL PROTECTED]>
>
>
>> which one is the Django commu
Peter that is a great Idea, I never thought of that.
Vitaly Babiy
On Wed, Oct 22, 2008 at 1:26 PM, Peter Bengtsson <[EMAIL PROTECTED]> wrote:
>
> When I get an error on viewing a snippet I copy the URL into Google
> and click the Cached version.
>
> On Oct 22, 5:08 pm, Gm
66 matches
Mail list logo