I just updated django-registration to 1.0 (from 0.8) and now I get an
ImportError:
ImportError: cannot import name activate
/Users/mike/sieve-django/SIEVEENV/lib/python2.7/site-packages/registration_email/backends/default/urls.py
in
1.
from registration.views import activate, regis
Karl,
You are calling render_to_response() wrong. See the docs at:
https://docs.djangoproject.com/en/dev/topics/http/shortcuts/#render-to-response
Instead of:
variables = RequestContext(request, {
'bookmarks':[bookmark],
'show_edit'
Using openSUSE 12.3
python 2.7.3
django 1.5.1 installed manually and verified
When I enter "django-admin.py startproject mysite" at the command prompt I
get the following traceback:
Traceback (most recent call last):
File "/usr/bin/django-admin.py", line 5, in
management.execute_from_command_li
On Sat, Jul 20, 2013 at 9:52 AM, Parin Porecha wrote:
> My question is - Should I do it via file storage, or should I save it in
> database ?
neither. syslog is a great tool, often overlooked, but built
specifically for this. not only it works right out of the box, but
it's very customizable "f
I am sorry, i am really new to this things. Could you please point me out
as to where I should add it.
*js file:
*function bookmark_edit() {
var item = $(this).parent();
var url = item.find(".title").attr("href");
item.load("/save/?ajax&url=" + escape(url), null, function () {
Karl,
Since you already have a form, and are already submitting it
as an Ajax request via JavaScript, the easiest way is to just
put the {% csrf_token %} in the Django template for the page.
We do that for our Ajax forms.
If you are not using a Django template to generate the form,
there are lot
Hi,
In my users page, i have in place editing with ajax. And when i click edit,
it works fine. But when i submit the form, it don't do anything. When i
checked, this is the error:
CSRF verification failed. Request aborted.
So, how do I place {% csrf_token %} in my javascript? Please advice.
Than
Well, looks like I've found workaround. At first we should test if a view
have CSRF protection:
def test_csrf_protected(self):
request = RequestFactory().post('', data={})
response = views.register_form(request)
self.assertEqual(response.status_code, 403)
(fix me, it is v
I have a bunch of inline formsets, which are related to two models. In this
case I want to have a bunch of "Dealings" associated with a "Report" and a
"Question".
So I can associate them to one fairly easily.
DealingFormset = inlineformset_factory(Report, Dealing, form = DealingForm)
So to as
:D
http://django-audit-log.readthedocs.org/en/latest/usage.html
On Sat, Jul 20, 2013 at 1:16 PM, Parin Porecha wrote:
> django-logtailer looks a great app, but the last commit was 2 years ago.
> Also, it's focused on admins.
> Maybe the term 'logs' is confusing. So, I'll change it to 'audit-dat
On Sat, Jul 20, 2013 at 8:48 AM, Kamal Kaur wrote:
> Can we have a search module in django that can suggest resembling
> spellings from mysql database?
>
I am not getting you, please expalin.
--
Satinderpal Singh
--
You received this message because you are subscribed to the Google Groups
"Dj
django-logtailer looks a great app, but the last commit was 2 years ago.
Also, it's focused on admins.
Maybe the term 'logs' is confusing. So, I'll change it to 'audit-data' (
stackoverflow suggestion ).
I need audit data not system logs.
Thanks Valder
On Sat, Jul 20, 2013 at 9:02 PM, Valder Gal
Here: https://github.com/allisson/django-project-template
--
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 t
Do you know django-logtailer ?
https://github.com/fireantology/django-logtailer
If you don't need search or modify the data.
+1 for file storage
:D
On Sat, Jul 20, 2013 at 11:52 AM, Parin Porecha wrote:
> Hi,
>
> I have a to-do list app ( using Django 1.5 and MySQL ) in which a task can
> be
The Django tutorial is not quite making it for me. This is a very
complicated language and all the pieces seem to not match up for me. This
I think is my fault and most of it seems to be in the use of the r hat for
root and exactly how that points to views, models and dbs. I may get there
but it
I have a bunch of inline formsets, which are related to two models. In this
case I want to have a bunch of "Dealings" associated with a "Report" and a
"Question".
So I can associate them to one fairly easily.
DealingFormset = inlineformset_factory(Report, Dealing, form = DealingForm)
So to as
Hi,
I have a to-do list app ( using Django 1.5 and MySQL ) in which a task can
be shared with another user. Thus, a user can have personal tasks and
shared tasks. Shared tasks will be a fraction ( i guess around 30% of total
tasks of a user )
For shared tasks, I want to keep a log so that users c
On 2013-07-18 20:53, Sivaram R wrote:
> While saving these forms instance,is it possible to create a
> random string for username field.How to do this,any sample would be
> great choice.
You can. Assigning random usernames isn't usually considered a very
nice thing to do to users, but assuming
18 matches
Mail list logo