Hi Anshum,
Thank you for responding.
I defined a Book model as shown below and tried to save it from the admin
shell.
I am using python2.7.3 , django1.5, and python mysql driver 1.2.3.
I am not sure if my model data type is wrong or if any qualifier is
missing. Please help.
I got this er
On Saturday, 13 April 2013 02:29:52 UTC+5:30, Enator24 wrote:
>
> Hi I need to develop an application where I have three groups first the
> creator, second the reviewer, 3rd the Approver.
>
> I want that once the creator creates and submits the form for save, and
> reviewer logs in at his end h
Cool.Please provide feedback so we can make the steps better. Already have
another friend encounter some issues trying to work our steps with his
config. The more configs we put through the paces, the better this can be
:)
On Apr 12, 2013 4:18 PM, "Nick D" wrote:
> Just what I'm going to need w
Hello Django users!
The latest cloud package (v2.7.7) from PiCloud (http://www.picloud.com)
gives Django users a distributed, fault-tolerant message queue with a
scalable message processing system. We ensure that you never lose any
messages, and that they're processed at the speed you need--even t
Hi all,
I've spent lot of time trying to figure out what is going on there, but my
admin site is still not working.
I just followed the Django tutorial to create an app named polls. But I
have a customized template_dir which is used by my previous app.
All the configurations to activate admin s
Russ,
This is a really great explanation of CSRF vulnerabilities, and I think I
have a handle on what I need to do now.
Thanks for taking to time to spell things out for me.
>
>
Best,
Spork
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
On Fri, Apr 12, 2013 at 8:00 PM, Joey Espinosa
wrote:
>
> Hey guys,
>
> I have a situation where I have test data that has been entered into a
> demo database (MySQL). During the demo of the app with a customer, data will
> be altered. After the demo is complete, I need to "reset" the demo data ba
On Fri, Apr 12, 2013 at 10:51 PM, Kurtis Mullins
wrote:
> Check out sendgrid. If you use Rackspace I think they even give you a good
> discount.
>
Yes, they are called as "ESP" - Email Service Provider. And I have thought
about them. Looks like this is the only way possible if i want to confirm
Nick,
Well, you're right, the interval would depend on how old the application
is. I'd rather do this through the ORM so that I can check each field to
see if it's the appropriate type (DateTimeField), since I don't know
exactly which fields I'll be working on (I know, it's pretty ridiculous). I
h
On Fri, Apr 12, 2013 at 11:57 PM, Nick D wrote:
> Hi again!
>
> I'm looking to create a table based on a model. I'm trying to make it simple
> and reusable. I want to build the table headers () based on the fields
> in the model. Given a specific model, is there a way to dynamically build
> the he
Just what I'm going to need when I'm done with development.
Thanks!
On Friday, April 12, 2013 6:02:49 AM UTC-7, Mark Lybrand wrote:
> My buddy and I were working last night on getting Django running on IIS7.
> We are not quite done as we are still working out issues surrounding
> static file
It looks like the path to django-admin.py is not in your system path.
You can try using the absolute path. ie:
/usr/lb/python2.7/dist-packages/django/bin/django-admin.py startproject
mysite
The tutorial also gives the following advice:
“command not found: django-admin.py”
*django-admin.py*
Joe,
I'm new to Django but I do have some SQL experience. Couldn't you just run
a statement similar to the following?
update mytable
set date1 = DATE_ADD(date1, INTERVAL 1 DAY)
The pinch point here is the fact that you would have to update the interval
based on how old the application is. T
Hi again!
I'm looking to create a table based on a model. I'm trying to make it
simple and reusable. I want to build the table headers () based on the
fields in the model. Given a specific model, is there a way to dynamically
build the headers in the template?
Thanks!
--
You received this
Hello,
I have a php export file that I need to duplicate in django.
I am using django csv import
Here is the PHP format I want.
3128559,"GOODYEAR","4024064","","","","","","","","","","","16","","","","",""
Here is the django output
3128559,'GENERAL','15480',,,'4'
I want it to l
Within the templates, you can show different HTML elements based on the
user attributes/group. Traditional IF checks.
Regards,
Guddu
On Fri, Apr 12, 2013 at 4:59 PM, Enator24 wrote:
> Hi I need to develop an application where I have three groups first the
> creator, second the reviewer, 3rd the
Hi I need to develop an application where I have three groups first the
creator, second the reviewer, 3rd the Approver.
I want that once the creator creates and submits the form for save, and
reviewer logs in at his end he should be able to view all the information
submieted and marked un-revie
FWIW, I have several small, public-facing Django projects, all of which are
on Django 1.5.1/Python 3.3. I've had no trouble with them at all.
I've wanted to switch to Python 3 for a while, but it's only been in the
past year (thanks in large part to Django's move) that it's become
practical.
Yes, it's okay to just try stuff out locally, but one word of caution,
after everything is working and before you deploy the code, it's probably a
good idea to review any "lets see how this looks/works" code/decisions to
make sure it still makes sense.
Once a URL is in the wild, it's annoying t
Hey guys,
I have a situation where I have test data that has been entered into a demo
database (MySQL). During the demo of the app with a customer, data will be
altered. After the demo is complete, I need to "reset" the demo data back
to what it was before the demo.
I realize I could do this easi
In my attached models.py I have a class that has a model method to
return the time last modified on the latest object that has a foreign
key to it.
So when I made a new document, in the admin interface I see April 11,
2013, 8:24 p.m. for the Created column and 2013-04-11 20:24:36.799167
for t
didnt reallt get it, but thank u!
On Wed, Apr 10, 2013 at 11:26 PM, Bill Freeman wrote:
>
>
>
> On Wed, Apr 10, 2013 at 11:55 AM, sara ismail
> wrote:
>
>> can anyone help me?!
>>
>> On Wednesday, April 10, 2013 4:50:51 PM UTC+2, sara ismail wrote:
>>>
>>> im new to django, and i am working on
The tutorial mentions the most common issues:
* django-admin.py not on your path
* django-admin.py lacking executable permission
* django-admin.py was renamed by your operating system distributor
It also explains how to solve each of those issues.
Have you tried the suggested solutions the tutor
django-admin.py startproject mysite
unrecognized command. Why is the python+django setup instructions so unclear?
--
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 emai
Check out sendgrid. If you use Rackspace I think they even give you a good
discount.
You could also just configure everything to use Google's SMTP. I've done
that for quite a few projects.
On Fri, Apr 12, 2013 at 12:19 PM, Tom Evans wrote:
> On Fri, Apr 12, 2013 at 5:01 PM, Venkatraman S wrote
Am 2013-04-10 17:21, schrieb Carsten Fuchs:
So as was mentioned in the Stackoverflow post, this is likely a problem in
cx_Oracle
rather than Django...
Well, I probably shouldn't have said this, because this problem did not occur with
Django 1.4.x, and more importantly, I wonder what should be
On Fri, Apr 12, 2013 at 5:01 PM, Venkatraman S wrote:
> Looks like an overkill to me. Why setup an SMTP server for this!
> Are there no other options?
Use your ISPs SMTP server. If your ISP doesn't provide one, you have
to provide one.
Some MTA has to deliver the email to the right MDA, if your
Hi list
I'm having some trouble overriding the queryset for my inline admin.
Here's a bog-standard parent admin and inline admin:
class MyInlineAdmin(admin.TabularInline):
model = MyInlineModel
def queryset(self, request):
qs = super(MyInlineAdmin, self).queryset(request)
return
Looks like an overkill to me. Why setup an SMTP server for this!
Are there no other options?
On Fri, Apr 12, 2013 at 12:00 PM, Sergiy Khohlov wrote:
> setup SMTP. and set your django server as trusted smtp client
>
> Many thanks,
>
> Serge
>
>
> +380 636150445
> skype: skhohlov
>
>
> On Fri, Ap
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
sounds great. Thanx guys.
On 12.04.2013 11:29, Stratos Psomadakis wrote:
> Hi fellow Django users!
>
> We are pleased to introduce objpool [1] to the Django community.
>
> objpool provides a generic library for pooling resources as objects.
> It's b
Hello,
I would like to provide some instructions if user come after gap of 1 week
or so. I was hoping that I can do that by -
(datetime.now()-user.last_login) > timedelta(days=7)
Though by the time it comes to my view last login is already updated by
auth user model of django, so in my applica
Thank you for the reply,
The field is defined in the Django model as:
location_description = models.TextField(_('additional route information'),
blank=True)
Data length for the corresponding column in the database seems to be 4000
and the type is NCLOB. The database is created by Django's syncd
Utf8 is default support in django unless you are explicitly typecasting
to str. Please provide details of traceback and code snippets to debug this.
Sent from my Windows Phone
--
From: sastry mln
Sent: 12-04-2013 17:29
To: django-users@googlegroups.com
Subject: Una
On Fri, Apr 12, 2013 at 6:38 AM, sastry mln wrote:
> Hi All,
> I have a mysqldb with utf8 charset and utf8_general_ci collation. The
> tables are also explicity defined to use the same charset/collation
> I have a django model with CharField.
> I want to store unicode characters (hindi langu
Hi fellow Django users!
We are pleased to introduce objpool [1] to the Django community.
objpool provides a generic library for pooling resources as objects.
It's being developed by GRNET [2], and used in Synnefo [3]. Synnefo is
an open source IaaS cloud platform, compliant with the OpenStack API
Hi Everyone,
I was wondering if anyone can shed any light on what I could be doing wrong
here. I am trying to convert a wkt from SRID 900913 to a wkt in 28350 (UTM
50). Everything works fine if I go from 900913 -> 4326 but going from
900913 -> 28350 throws an OGR Exception.
I'd be grateful if
Hi All,
I have a mysqldb with utf8 charset and utf8_general_ci collation. The
tables are also explicity defined to use the same charset/collation
I have a django model with CharField.
I want to store unicode characters (hindi language chars)
when i tested the model form django admin shell,
You need to make IIS serve the static files from a given location.
1. Run collectstatic and note where it puts the files (STATIC_ROOT).
2. Tweak IIS so it connects STATIC_URL to STATIC_ROOT.
I can't help there because I have never used it. I could help if it was Apache.
Good luck
Mike
Con
On Fri, Apr 12, 2013 at 10:49 AM, wrote:
> Hi,
>
> I'm fairly new to web development and Django, and I'm trying to make sure
> my application is protected against CSRF attacks. I've read through
> https://docs.djangoproject.com/en/dev/ref/contrib/csrf/, but I'm not
> confident I'm understanding i
Thank you very much Joey and Nik, I will talk about your proposed
solutions with our sysadmin.
Best,
Roberto
On 04/12/2013 01:11 AM, Nikolas Stevenson-Molnar wrote:
> Another direction might be to run a separate WSGI HTTP server (like
> gunicorn) and proxy to it from Apache. Saves the hassle
40 matches
Mail list logo