Re: tree.io installation with django

2012-09-15 Thread Nick Apostolakis
e67dd853#dvMCsmIWwYZUWV2qKMFxGLMI4pq+O3PiPy2iHAp3ZzQ= > > > Why don't you use django 1.3 as it is described in the requirements file? Thats a simple way to see if you problems stem from django version incompatibility -- --

Re: tree.io installation with django

2012-09-16 Thread Nick Apostolakis
simple and it is a very valuable technique -- -- Nick Apostolakis e-mail: nicka...@oncrete.gr Web Site: http://nick.oncrete.gr

Re: tree.io installation with django

2012-09-17 Thread Nick Apostolakis
ctions closely otherwise you will get errors. -- -- Nick Apostolakis e-mail: nicka...@oncrete.gr Web Site: http://nick.oncrete.gr -- -- You received this message because you are subscribed to the Google Groups

Re: tree.io installation with django

2012-09-18 Thread Nick Apostolakis
my installation it failed to install the initial mysql data so i have done a manual import of mysql initial data using this command mysql -u treeiouser -p< sql/mysql-treeio-current.sql treeio maybe your problem is the same -- --

Re: tree.io installation with django

2012-09-19 Thread Nick Apostolakis
On 18/09/2012 10:33 μμ, Fabian Weiss wrote: YES! I got this error: http://snipurl.com/251cbjb After doing your MySQL Code it WORKS!! :) THX alot! You are welcome :) -- -- Nick Apostolakis e

Re: tree.io installation with django

2012-09-20 Thread Nick Apostolakis
rm try python manage.py migrate projects -- -- Nick Apostolakis e-mail: nicka...@oncrete.gr Web Site: http://nick.oncrete.gr -- -- You received this message because you are subscribed to the

Re: tree.io installation with django

2012-09-20 Thread Nick Apostolakis
working installation... -- -- Nick Apostolakis e-mail: nicka...@oncrete.gr Web Site: http://nick.oncrete.gr -- -- You received this message because you are subscribed to the Google Groups "

Re: i am getting ConfigParser.NoSectionError: No section: 'database' plz help

2012-09-28 Thread Nick Dokos
user  : root password  : password host  : localhost port  : 3306 Nick > create a section in that file to store your database info. > >>>>Check the file located at : > os.path.join(PROJECT_PATH, 'settings.conf') > > On Fri, Sep

Re: Should we have a database independent SQL like query language in Django?

2012-10-06 Thread Nick Santos
tween databases in an application with raw sql, you consider some method for setting a flag that indicates which version of raw sql to send. But maybe I'm underestimating the need for this sort of feature. -Nick On Sat, Oct 6, 2012 at 9:59 AM, Babatunde Akinyanmi wrote: > IMO, '

Re: invalid syntax (admin.py, line 25)

2012-10-09 Thread Nick Dokos
1st = 3 Same error, right? :-) Nick -- 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, send email to django-users+unsubscr...@goog

Re: tree.io installation with django

2012-10-24 Thread Nick Apostolakos
ptember 2012 23:32:06 UTC+2 schrieb Nick Apostolakis: >> >> >> >> On Sat, Sep 15, 2012 at 11:41 PM, Fabian Weiss > >> > wrote: >> >>> I do so! I tried now this one: >>> >http://blog.stannard.net.au/2010/12/11/installing-d

Re: Reverse for 'app_list' with arguments '()' and keyword arguments '{'app_label': ''}' not found.

2012-10-25 Thread Nick Doyle
for the form, change to extend *base_site.html*instead of change_form.html. Means you have to specify a bit more stuff - submit button etc - but least it works. HTH Nick On Sunday, 9 September 2012 08:33:36 UTC+10, vijay shanker wrote: > > hi > i have this model called charity >

Re: Django in Eclipse+PyDev, lot's of functions and imports are undefined/unresolved

2012-10-26 Thread Nick Santos
I don't have a solution, but I can indicate that the same thing has happened to me on a standard install of Python 2.7.2 (no virtualenv) on Windows 7, so I don't know that it's anything about your setup in particular, if that helps. -Nick On Fri, Oct 26, 2012 at 9:48 AM, Chris

Re: Django and HSQLDB

2012-11-03 Thread Nick Apostolakis
ny sql command you like to export the database... -- --- Nick Apostolakis email:nicka...@oncrete.gr Web Site: http://nick.oncrete.gr --- -- You received this message because you are

Re: Stuck

2012-12-26 Thread Nick Dokos
;) > class Choice(models.Model): > poll = models.ForeignKey(Poll) > choice = models.CharField(max_length=200) > votes = models.IntergerField() > In python, indentation matters. Also, spelling matters just as much as it does in other languages: IntergerField should be IntegerField. Try: -

Re: Using django's oodb alone

2013-01-03 Thread Nick Apostolakis
ANGO_SETTINGS_MODULE'] ='settings' from myapp.models import User, Reminder, ExtraUserAttributes etc -- ------ Nick Apostolakis e-mail: nicka...@oncrete.gr

Re: Can't sync DB

2013-01-08 Thread Nick Sandford
Since you have already created the table using syncdb, you need to instruct South to fake the initial migration. Try the command ./manage.py migrate auth --fake and see if that works. You only need to run this once and then all future migrations don't need the --fake flag. Cheers, Nick O

Re: Saving browser output as pdf

2013-02-24 Thread Nick Apostolakis
it as csv or as pdf. The pdf part is accomplished with reportlab library. Cheers -- -- Nick Apostolakis e-mail: nicka...@oncrete.gr Web Site: http://nick.oncrete.gr

Re: Saving browser output as pdf

2013-02-24 Thread Nick Apostolakis
e aesthetically different. Depending on your design, choose the one most comfortable. -- -- Nick Apostolakis e-mail: nicka...@oncrete.gr Web Site: http://

Re: cannot install django-tracking

2013-03-11 Thread Nick Dokos
'tracking' | warning: no previously-included files matching '*.*' found under directory 'demo' | Successfully installed django-tracking | Cleaning up... ` Nick -- You received this message because you are subscribed to the Google Groups "Django users&quo

Re: Fwd: Delivery Status Notification (Failure)

2013-03-11 Thread Nick Dokos
EATE TABLE "polls_choice" ( | "id" integer NOT NULL PRIMARY KEY, | "poll_id" integer NOT NULL REFERENCES "polls_poll" ("id"), | "choice_text" varchar(200) NOT NULL, | "votes" integer NOT NULL | ) | ; | COMMIT; |

Re: Restful User Authentication for Ember/Backbone client with Tastypie

2013-03-11 Thread Nick Apostolakis
authentication right? Thanks, Pratik -- Tthis is cool, I was about to ask the same thing. I believe that this thread will be interesting. -- -- Nick Apostolakis e-mail: nicka...@oncrete.gr

Re: Restful User Authentication for Ember/Backbone client with Tastypie

2013-03-12 Thread Nick Apostolakis
s I am after? Thank you -- -- Nick Apostolakis e-mail: nicka...@oncrete.gr Web Site: http://nick.oncrete.gr -- -- You received thi

ModelForm not creating datepicker

2013-04-02 Thread Nick D
Hi all, I've created a ModelForm and am attempting to use it, but all of my date fields are coming up with type "text" instead of a datepicker. Can anybody tell me what's going on? MODEL: class GIS_WO(models.Model): WON = models.CharField(max_length=7, blank=True, null=True) status

Re: How to create a form list for a Model Form dynamically?

2013-04-02 Thread Nick D
he error you're getting "Quiz ID Unknown" is probably related to the fact that it's taking in your quiz_id and treating it like the response, and in that case you are not passing it a quiz_id. -Nick On Monday, April 1, 2013 7:17:13 AM UTC-7, Cody Scott wrote: > I am try

Re: How to create a form list for a Model Form dynamically?

2013-04-03 Thread Nick D
I see; I didn't understand the flow at first. Is this line wrong "quiz = Quiz.objects.get(id=quiz_id)"? I don't think Django names the pk "id" by default. Maybe it should be: quiz = Quiz.objects.get(pk=quiz_id) On Monday, April 1, 2013 7:17:13 AM UTC-7, Cody Scott wrote: > I am trying to ma

Re: ModelForm not creating datepicker

2013-04-03 Thread Nick D
: > yes that is correct maybe you want to use a datepicker > http://jqueryui.com/datepicker/ > > Cheers > > > > On Tue, Apr 2, 2013 at 5:14 PM, Nick D > > wrote: > >> Hi all, >> >> I've created a ModelForm and am attempting to use it, but

Re: ModelForm not creating datepicker

2013-04-03 Thread Nick D
I see. The difference between the form item and a widget was confusing me. Thanks Tom! -Nick On Wednesday, April 3, 2013 8:54:40 AM UTC-7, Tom Evans wrote: > On Wed, Apr 3, 2013 at 12:14 AM, Nick D > > wrote: > > Hi all, > > > > I've created a ModelForm

Newbie using reverse() function

2013-04-11 Thread Nick D
I'm trying to use the reverse() function to get back to my index, but I'm not sure if my view are compatible. My index funtion takes a request ( def index(request)). I can't seem to call the reverse function with the request object in the args, but if I call the reverse function without any args

Re: Newbie using reverse() function

2013-04-11 Thread Nick D
uments '{}' not found. On Thursday, April 11, 2013 4:31:26 PM UTC-7, Nick D wrote: > I'm trying to use the reverse() function to get back to my index, but I'm > not sure if my view are compatible. My index funtion takes a request ( def > index(request)). I can'

Re: Newbie using reverse() function

2013-04-11 Thread Nick D
I got it, thanks Joe! url(r'^$', 'index', name='gis_wo_index'), return HttpResponseRedirect(reverse('gis_wo_index')) On Thursday, April 11, 2013 4:31:26 PM UTC-7, Nick D wrote: > I'm trying to use the reverse() function to get back

Re: Newbie using reverse() function

2013-04-11 Thread Nick D
;p" variable won't be available to your index view > on a redirect, so I'm just working on the assumption that you just posted a > small code snippet and you're actually doing something with it beforehand. > > -- > Joey Espinosa > Python Developer >

Building table headers based on instance of model

2013-04-12 Thread Nick D
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

Re: Reset Demo Database Data (with Dates)

2013-04-12 Thread Nick D
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

Re: django-admin.py startproject mysite

2013-04-12 Thread Nick D
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*

Re: One Way to Install Django on IIS

2013-04-12 Thread Nick D
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

Re: performance of delete

2013-04-24 Thread Nick Santos
maybe with some clever django-ing you can utilize the core principles of this. IN vs JOIN vs EXISTS: http://explainextended.com/2009/06/16/in-vs-join-vs-exists/ NOT IN vs NOT EXISTS vs LEFT JOIN / IS NULL: http://explainextended.com/2009/09/18/not-in-vs-not-exists-vs-left-join-is-null-mysql/ Nick S

Re: Using Django and R in a production environment?

2013-04-30 Thread Nick Santos
re running them on a desktop, except not. You may be able to share code in this environment too, but I haven't played with it a ton. http://www.rstudio.com/ide/docs/server/getting_started -Nick On Tue, Apr 30, 2013 at 12:06 AM, Derek wrote: > " if you write your own R analysis routine

Re: How does it all work

2013-06-10 Thread Nick Apostolakis
) the program returns through the same interface a response, the webserver returns the response to the world. A simple idea with a lot of consequences... -- -- Nick Apostolakis e-mail: nicka

Problem with csrf

2013-06-12 Thread Nick Dokos
work? If so, what am I doing wrong? If not, it should be taken out of the documentation. Also, can a link be added in the first page to get to the second page easily? Thanks! -- Nick -- You received this message because you are subscribed to the Google Groups "Django users" group.

Re: Problem with csrf

2013-06-12 Thread Nick Dokos
t; which takes a lot of typing out of the typical render_to_response with > RequestContext. > OK - thanks! I tried the render() approach and it works fine. I'll be using that one. There is still the question of whether the doc needs fixing. I take it you are saying that it does? -- Nick

Re: Problem setting up django server

2013-06-18 Thread Nick Dokos
go-admin.py will tell you. I tried to duplicate your problem (I'm running python 2.7.3 and django 1.5). For the record, I do $ django-admin.py startproject foo $ cd foo $ python manage.py shell and I get no errors. -- Nick -- You received this message because you are subscribe

Re: looking for an apache/system admin master

2013-06-18 Thread Nick Apostolakis
s group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -

Re: django deploy structure

2013-06-26 Thread Nick Apostolakis
You could use a code versioning system like git or bazaar.when you want to deploy just pull from your repository Στις 26 Ιουν 2013 8:46 μ.μ., ο χρήστης "fred" έγραψε: > I've got django 1.5 deploying successfully to a Linux Apache system with > mod_wsgi. This system is still being developed and

Re: Views, Forms not working.

2013-07-01 Thread Nick Dokos
    {{ form.stubVar.label_tag}} {{ form.stubVar }} >     {{ form.stubNets.label_tag }} {{ form.stubNets }} > >     > > > > Nothing to do with the problem, so j

Re: Does django have something similar to resource in rails?

2013-07-03 Thread Nick Apostolakis
Check out the Rest apis (tastypie etc ) they should be what you are looking for Στις 03 Ιουλ 2013 11:03 μ.μ., ο χρήστης "gabby gabriel" < gabbyha...@gmail.com> έγραψε: > I just started learning django. I was a rails developer before that. I was > wondering if there is anything similar to resource

Re: Return 2 values

2013-07-05 Thread Nick Apostolakis
You can always return a container object with the values you want as it's instance variables Στις 05 Ιουλ 2013 12:39 ΜΜ, ο χρήστης "Hélio Miranda" έγραψε: Hi My doubt is that I am not getting an image and its caption. I'll explain, I have my application to enter the picture and the caption GridF

Re: Return 2 values

2013-07-05 Thread Nick Apostolakis
I am not in front of a computer right now in order to offer a full fledged examle, but you can insert your values in a dictionary or a list and return that Στις 05 Ιουλ 2013 12:54 ΜΜ, ο χρήστης "Hélio Miranda" έγραψε: can you give me an example? -- You received this message because you are s

Re: Return 2 values

2013-07-05 Thread Nick Apostolakis
You should be fine everything is an object so you can hold different datatypes in a list Στις 05 Ιουλ 2013 1:26 ΜΜ, ο χρήστης "Hélio Miranda" έγραψε: My problem is that I am returning an image (content_type = 'image / jpeg') and the legend is not an image but text -- You received this messag

Re: Return 2 values

2013-07-05 Thread Nick Apostolakis
On 05/07/2013 02:27 μμ, Nick Apostolakis wrote: You should be fine everything is an object so you can hold different datatypes in a list As a reference, check this out http://zetcode.com/lang/python/datatypes/ in the tuple and lists section and this http://stackoverflow.com/questions

Re: Return 2 values

2013-07-08 Thread Nick Apostolakis
7;t affect your url.py http://stackoverflow.com/questions/4651172/reference-list-item-by-index-within-django-template -- -- Nick Apostolakis e-mail: nicka...@oncrete.gr Web

Re: Foreign Key problems with legacy database

2013-07-23 Thread Nick Dokos
ls.Model): >    id = models.IntegerField(primary_key=True) >    songid = models.Integerfield() >    song = ForeignKey('Song', db_column='songid') > class Song(models.Model): >   id = models.IntegerField(primary_key=True) >

Re: PDF generator in Django

2013-08-05 Thread Nick Apostolakis
Hello there, I have used the report lab library with good results for simple PDF with tabular data On 5 Aug 2013 16:27, "graeme" wrote: > I recently used Latex and it worked fairly well. > > I had to write a little function to escape latex special characters, and > you have to be a bit careful wi

Re: problem with deploying django using mod wsgi

2013-08-07 Thread Nick Dokos
e number of messages logged to the error_log. | # Possible values include: debug, info, notice, warn, error, crit, | # alert, emerg. | # | LogLevel warn ` -- Nick -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from

Re: Django: Temporary "wait page" while heavy compute processing is handled

2013-08-12 Thread Nick Santos
ind for me. Also, just as an FYI, your links won't work because they point to your local development server and can't be accessed by anyone else. -Nick On Mon, Aug 12, 2013 at 8:49 AM, Julio Molina Soler wrote: > Hi Howard, > > I'm not very experience with django y

Re: Get a list into request.POST

2013-08-23 Thread Nick Jiang
hi, you should consider of using JSON.stringify() function to convert javascript object to json data. *>>* * JSON.stringify({'array':[{'que':1,'ans':3},{'que':1,'ans':2},{'que':4,'ans':5},{'que':2,'ans':4}]}) * **This is example build from jsfiddle *>> alert example

Re: Complex query

2013-09-08 Thread Nick Apostolakis
able since it cannot limit the number of related objects. It looks like you are looking for a subquery maybe this will be useful http://stackoverflow.com/questions/8217490/query-of-a-subquery-in-django -- -- Nick Apostolakis

how to turn off logging debug to be printed in apache's error log when django's DEBUG=False

2013-09-09 Thread Nick Jiang
I have set a debug logger to print debug infos to console. This works fine in development environment. But in production, debug info redirect to apache error log file, i guess this is one behaviour related to mod_wsgi. People say there's a setting control in django 1.5 version, but how can i tu

Re: [django-announce] [ANNOUNCE] Security releases issued -- vulnerability in the wild

2013-09-15 Thread Nick Apostolakis
1.3.x affected by this vulnerability? Thank you -- ------ Nick Apostolakis Msc in IT, University of Glasgow e-mail: nicka...@oncrete.gr Web Site: http://nick.oncrete.gr -- -

Re: [django-announce] [ANNOUNCE] Security releases issued -- vulnerability in the wild

2013-09-15 Thread Nick Apostolakis
Thanks a lot for your answer -- -- Nick Apostolakis Msc in IT, University of Glasgow e-mail: nicka...@oncrete.gr Web Site: http://nick.oncrete.gr -- -- You received this message because you are s

.get() has unexpected behaviour on a queryset after previously applying .order_by().distinct()

2015-04-15 Thread Nick Smith
>>> from django.db.models import models >>> class MarketPrice(models.Model): market = models.CharField(max_length=30) crop = models.CharField(max_length=30) price = models.PositiveSmallIntegerField() date = models.DateField() def __str__(self): r

Re: Advice on python version for new project

2016-08-15 Thread Nick Santos
ounter something that forces you to use Python 2, you can downgrade without trouble. But if this application has anything close to the lifespan of the previous one, you'll want to be using Python 3 if at all possible. That's without mentioning the other benefits of Python 3 too! -Nick On

Re: 403 Forbidden messages when saving items in django-admin

2013-10-06 Thread Nick Apostolakis
Ask if Apache mod sec is installed on the server If it is it can account for a lot of weirdiness Στις 06 Οκτ 2013 7:48 μ.μ., ο χρήστης "Alban Hertroys" έγραψε: > > On Sunday, October 6, 2013 6:09:22 PM UTC+2, אברהם סרור wrote: >> >> > You don't have permission >> the error seems to be fairly desc

Re: Registration in django

2013-10-16 Thread Nick Apostolakis
Just my 2 cents, it may suit your needs too -- ------ Nick Apostolakis Msc in IT, University of Glasgow e-mail: nicka...@oncrete.gr Web Site: http://nick.oncrete.gr -- -

Re: Google Maps with Routes

2013-11-09 Thread Nick Apostolakis
discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAPiONwnuV6vDGtkuK%2BfNyNePd0rOdO0gsxGQ-URoQ_iu8%2BcioQ%40mail.gmail.com > . > For more options, visit https://groups.google.com/groups/opt_out. > -- ---

Re: Google Maps with Routes

2013-11-10 Thread Nick Apostolakis
Στις 10/11/2013 01:19 μμ, ο/η Vibhu Rishi έγραψε: Hi Nick, I am not sure if openstreet will solve my purpose. What I have in mind is that when someone is planning a trip , he can enter the route details in the trip info. This should give the approximate distance etc. ( btw bike = motorcycle

Re: To Django or not to Django

2013-11-24 Thread Nick Santos
more tightly integrated than a CMS, then django could be a good option for you. -Nick On Sun, Nov 24, 2013 at 10:37 AM, wrote: > Hi, > I'm looking to build a contest website where there would be a challenge > every so often where people need to post a video or a picture. Then all

Re: How do I test my Django App on my Phone

2013-12-09 Thread Nick Santos
hine in its firewall. Then determine that machine's public IP address (eg 1.2.3.4) and enter that into your browser as 1.2.3.4:8000. Then it should come up on your phone. -Nick On Mon, Dec 9, 2013 at 10:44 AM, Muhammad Ali wrote: > Hello, > > I'm developing a Django-pow

Re: Need some advise on how to use a RESTful API

2013-12-20 Thread Nick Apostolakis
Hello there, In my point of view, when you develop an app using a rest full api you go through the same moves as when writing the web app using the native interface. In my case I have created both. I wrote first the web interface and then the api, but a different approach would be to write first th

Re: virtualenv on Windows

2014-02-03 Thread Nick Santos
FYI, virtualenvwrapper was ported to windows: https://pypi.python.org/pypi/virtualenvwrapper-win It works seamlessly like the linux/OSX versions -Nick On Mon, Feb 3, 2014 at 3:10 PM, Mike Dewhirst wrote: > Michel > > I learned quite a lot and appreciate it greatly! > > Th

Re: Django Windows Install Issues

2014-02-25 Thread Nick Santos
nstall Django. Also, I'd highly recommend you install a package manager like "pip", which will make future installs much easier. -Nick On Tue, Feb 25, 2014 at 1:23 PM, Joe Buty wrote: > Hello, I am having trouble getting Django to work. I have installed python > and download

Re: DDT not showing

2014-03-09 Thread Nick Santos
Since you didn't say that you have - did you add it to your INSTALLED_APPS? -Nick On Sun, Mar 9, 2014 at 12:03 PM, Aiden wrote: > Hi all, > > Banging my head against a wall trying everything to get DDT to appear > using Gunicorn+nginx > I have the following: > > DEB

Re: Gunicor + Postgres + Python 3

2014-03-09 Thread Nick Santos
Hey Henrique, Can you send the code for the view that generates the page? -Nick On Sun, Mar 9, 2014 at 9:14 PM, Henrique Oliveira < henriqueollive...@gmail.com> wrote: > Hi there, > > I have set Django + gunicorn + python 3 in a production env, but I am > gettin critical

Re: A subprocess call fails, but only under Django

2014-03-11 Thread Nick Santos
would fail, even with copy on write, with certain OS settings - I'm far from an expert in this area). Have you tested this code on another machine to see if it exhibits the same behavior? -Nick On Tue, Mar 11, 2014 at 5:07 PM, Shawn Milochik wrote: > Hi Russ, thanks for the reply. > &g

Fwd: Moving from 1.2 to 1.6

2014-04-09 Thread Nick Santos
per valuable in tracking down the error. -Nick On Wed, Apr 9, 2014 at 4:00 PM, John Fabiani wrote: > Do you guys think is possible the jQuery Form plugin is some how > interfering with the token? > > Johnf > > On 04/09/2014 02:18 PM, John Fabiani wrote: > > The code looks gr

Re: Fwd: Moving from 1.2 to 1.6

2014-04-09 Thread Nick Santos
value instead of the cookie value (I've AJAXed many forms and have never dealt with a CSRF cookie). Also, does the form work if you don't send it via AJAX and just do a normal POST/GET from the browser? -Nick On Wednesday, April 9, 2014 5:59:37 PM UTC-7, John Fabiani wrote: > > I h

Re: Best Django Open Source Project for Intermediate Django Learners

2015-09-01 Thread Nick Sarbicki
ps.google.com/d/msgid/django-users/d1ae4ad3-434a-461c-99b4-150aad26ccfd%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- - Nick -- You received this message because you are subscribed to the Google Groups &

Re: Debugging Django using Pycharm

2015-09-15 Thread Nick Sarbicki
her debug tool that too ok for me. > > Thanks and Regards, > > Prabhu Have you installed the community (free) version or the professional? The community version doesn't support Django, although it is still worth using. - Nick. - Nick On Tue, Sep 15, 2015 at 8:03 AM, Prabhu wr

Re: how to create a project in django in windows 7

2015-09-15 Thread Nick Sarbicki
work send any error messages you receive. Here are the formal instructions to install Django: https://docs.djangoproject.com/en/1.8/intro/install/ And here is the tutorial for getting started on a project: https://docs.djangoproject.com/en/1.8/intro/tutorial01/ They are both pretty good so give

Deploying a Django 1.9 project

2016-04-12 Thread Nick Jenkins
I've been developing a site with Django 1.9 with Python3 and I'm hitting a wall when trying to deploy it to a hosting service. I currently have a shared service plan through BlueHost and I'm having trouble getting everything to work right. In talking with BlueHost they stated they only support

Possible bug with UploadedFile and form validation?

2016-06-13 Thread Nick Sarbicki
I've got an odd bug in my system, and while I'm not 100% convinced it is a Django bug, I don't think it is due to me either so thought I'd ask here for some clarification. Essentially if you upload a file to a form. If that forms clean() method reads that file (in my case it gathers data and ma

ANN: PyAMF 0.1 released

2008-02-11 Thread Nick Joyce
We released PyAMF 0.1, a lightweight library that allows Flash and Python applications to communicate via Adobe's ActionScript Message Format. AMF3 and RemoteObject are supported in all the implemented Remoting gateways, currently supported for Django, Twisted and WSGI. A summary of new features

Resolving dynamic dictionary parameters in templates

2008-02-21 Thread Nick Fishman
nts']['Jul'], and so on for each month in the months list. But instead, Django seems to be doing mapping['incidents']['month'] each time. Is there any way to resolve the dynamic "month" variable inside the mapping.incidents.month call? Something

Re: Resolving dynamic dictionary parameters in templates

2008-03-07 Thread Nick Fishman
nderstand how. Especially if the alternative is using numbered tuples or nesting more and more dictionaries inside of dictionaries. Thanks for the push in the right direction! Nick --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

Re: Resolving dynamic dictionary parameters in templates

2008-03-08 Thread Nick Fishman
rn resolve_variable(key,value) > > -Justin Thanks, Justin. This does an even better job. I think the frequency of this issue shouts louder than ever that this filter should be in Django by default :-) Nick --~--~-~--~~~---~--~~ You received this message because you

Re: Multiple apps on one template

2008-03-08 Thread Nick Fishman
_list': latest_events_list}) Then home.html would be exactly like your current template for events.html. The idea is to combine both lists into a single view. Add another line to your URLS, like (r'^home/', 'sakushi.events.views.home'), And you'll be set. Nick

Re: Db not being populated for foreignkey

2008-03-09 Thread Nick Fishman
'm doing wrong? > > Thanks, > Duncan > This might be off the mark, but I thought I'd check. The first thing that comes to mind is database syncing. Did you remember to run ./manage.py syncdb after making those changes in the code? Nick --~--~-~--~~~

Using primary key ID in file upload location?

2008-03-09 Thread Nick Day
es to a folder using the ID of the record. For example - I'm adding a record with an autogenerated primary key ID of "12" - so I would like my photos to be uploaded to "/media/12/" when I click the Save button for that record. Hope somebody here can sug

Re: Using primary key ID in file upload location?

2008-03-10 Thread Nick Day
arly important other than me being a perfectionist :) Cheers, Nick --~--~-~--~~~---~--~~ 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 T

Gradually porting an established site to Django

2008-05-08 Thread Nick Mellor
attern it can't handle. Is this true? How can I get Django to handle some URL patterns, and leave others to the "old" site code? Many thanks for any hints to get me going. Nick --~--~-~--~~~---~--~~ You received this message because you are subscribed

Better Image Uploads: Fake Model Fields?

2008-05-13 Thread Nick Retallack
Currently it seems like it could be pretty disastrous to let users upload their own files, as you can see from this ticket: http://code.djangoproject.com/ticket/2983 Of course, one solution is to name your files after the pk of the record they're associated with, so new uploads will overwrite old

Re: Row-level permissions, recommendations?

2008-05-14 Thread Nick Day
gh date when we think newforms-admin will be released, and/or a RLP patch? Cheers, Nick On May 6, 3:44 pm, "Jay Parlar" <[EMAIL PROTECTED]> wrote: > On 5/6/08, Rodrigo Culagovski <[EMAIL PROTECTED]> wrote: > > > > >  What's the state of the art forrow-l

Could you please share your django-based website source code with me?

2007-07-01 Thread nick feng
th me ? Thank you very much! I promise that your codes is only used for my studying django. Best wishes, Nick --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group

Re: newbie having difficulty with sqlite

2007-07-04 Thread nick feng
I think you should create the books file by yourself, the sqlite3 may not have the ability to create the file in your file system. - Original Message - From: "walterbyrd" <[EMAIL PROTECTED]> To: "Django users" Sent: Thursday, July 05, 2007 2:25 AM Subject: newbie having difficulty with

Re: An idea on DB migration

2007-07-04 Thread nick feng
The django has already provided the way to use SQL, I don't think this is needed. - Original Message - From: "Noam" <[EMAIL PROTECTED]> To: "Django users" Sent: Thursday, July 05, 2007 2:40 AM Subject: An idea on DB migration > > > Hello, > > I have an idea on how DB migration can

Re: No module named _md5

2007-07-05 Thread nick feng
It' seems that the md5 is not a middleware, but you have write it in the setting.py file's middleware setting part. - Original Message - From: "e-gor" <[EMAIL PROTECTED]> To: "Django users" Sent: Friday, July 06, 2007 2:59 AM Subject: No module named _md5 > > > I have python 2.5.1,

Which database is better for django, PostgreSQL or MYSQL?

2007-07-11 Thread nick feng
Which database is better for django, PostgreSQL or MYSQL? --~--~-~--~~~---~--~~ 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 thi

About create a database table dynamicly

2007-07-14 Thread nick feng
Hi, I had to create a table in the database according to the users' input imformation. Django seems has no topic about this, anyone has any idea on it?Thank you Best wishes, Nick --~--~-~--~~~---~--~~ You received this message because you are subscribed t

About create a database table dynamicly

2007-07-14 Thread nick feng
Hi, I had to create a table in the database according to the users' input imformation. Django seems has no topic about this, anyone has any idea on it?Thank you Best wishes, Nick --~--~-~--~~~---~--~~ You received this message because you are subscribed t

Re: About create a database table dynamicly

2007-07-14 Thread nick feng
Hi Carl, Thank you, I have resended the mail again, thanks . best wishes, nick - Original Message - From: "Carl Karsten" <[EMAIL PROTECTED]> To: Sent: Sunday, July 15, 2007 12:33 AM Subject: Re: About create a database table dynamicly > > > nick feng wrote

<    1   2   3   4   5   6   7   >