Scanning Uploaded Files

2020-04-13 Thread 'Aaron Wilson' via Django users
What is the recommended method to scan uploaded files for viruses? I see a lot of information about pyclamd which appears to be unmaintained. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving ema

New User Authentication Guide (:

2019-08-06 Thread Aaron Harris
Hi all, pretty excited about our new guide to Django User authentication on the Kite Blog . Nice to have a reference if authentication maybe isn't your *favorite* part of webdev. https://kite.com/blog/python/django-authentication/ -- You received this message because you are su

Why does SelectDateWidget ignore empty_label when field is required?

2019-06-28 Thread Aaron Scruggs
s: Why are placeholders ignored when the date field is required? My use case doesn't seem that unusual so I'm guessing there's a strong reason why it's not supported. I'd love to know what that reason is before I go making a mess of things. Any help is much appreciated. Th

Project Setup Checklist. Found this helpful...

2019-04-25 Thread Aaron Harris
Just curious how your project setup compares here and other resources you might suggest. Thanks!! *Easily Install Django: A Quick Guide* *Installation* Assuming you have Python setup with pip – installation is simple. This will install Django along with a useful command that will help you get a

Re: Intregration Of on form submit user recive a sms in his phone

2018-07-31 Thread Aaron Jack
I use this company: https://www.reach-interactive.com/ On Tuesday, 31 July 2018 14:32:02 UTC+1, im...@wsegames.com wrote: > > How to impement this feature Intregration Of on form submit user recive a > sms in his phone. > -- You received this message because you are subscribed to the Google Gr

Form disappears after click submit

2018-05-13 Thread aaron newberry
I have a form I am using for a drop down that I would like to stay on the page after submit is clicked. The problem is it disappears after submit. I would like the form drop down to still display after submit. I what it is after submit the form class isnt called again. How do I call the form cla

Hi, a little help here.

2017-12-14 Thread Aaron
I wasn't sure where to ask this question and then I found this place. I've got a MacBook running mac OS High Sierra. I've been trying to install Django for a while. Whenever I try, I get an error that says "Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/8y/

Re: DoesNotExist behavior in db.models query.py

2017-10-23 Thread 'Aaron C. de Bruyn' via Django users
The difference between .filter() and .get() is definitely 'by-design'. When you filter through a list of objects, you could end up with zero, one, or many objects returned. When you call .get(), you are basically saying "I want to get exactly *one* record". If the record is not found, it is cons

Heroku Git Error

2017-10-02 Thread Aaron Weisberg
either. I get: Permission denied (publickey) fatal could not read from repository Please make sure you have the correct access rights and the repository exists Please help! Thanks, Aaron -- You received this message because you are subscribed to the Google Groups "Django users" grou

Re: Migrations

2017-03-10 Thread 'Aaron C. de Bruyn' via Django users
Nope. -A On Fri, Mar 10, 2017 at 12:17 PM, Matthew Pava wrote: > Does anyone else get a migraine when working migrations? > > -- > 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,

Re: video tutorial dating site

2017-01-31 Thread 'Aaron C. de Bruyn' via Django users
One of the first results when Googling 'Django video tutorials' is this: https://www.quora.com/Are-there-any-good-Django-video-tutorials There are many links provided there. -A On Tue, Jan 31, 2017 at 5:28 PM, wrote: > am new using python(django) i built an app lately but i want to build a > d

Re: Django Security issue

2016-12-05 Thread 'Aaron C. de Bruyn' via Django users
It's a little un-clear how you are setting up your Django deployment, but the 'dev server' shouldn't be exposed directly to the internet. Have you read through the deployment guides? https://docs.djangoproject.com/en/1.10/howto/deployment/ -A On Sun, Dec 4, 2016 at 11:43 PM, deepak gupta wrote

Re: transferring data between Postgres databases

2016-10-23 Thread 'Aaron C. de Bruyn' via Django users
If you're talking about migrating data using tools outside of django, I've used SQLWorkbench[0] in the past. I currently use it to selectively sync a handful of tables out of a ~900 table database *in* to my Django app. [0] - http://www.sql-workbench.net/ -A On Sun, Oct 23, 2016 at 9:04 PM, Mike

Re: Django template iterating through two dictionaries/variables

2016-08-30 Thread Aaron Weisberg
This is why i ask this group. Everyone helped out, but Nate's link pushed me in the right direction. Sometimes I don't even know what to ask stack overflow, but the google group always helps out. Thanks On Tuesday, August 30, 2016 at 11:28:37 AM UTC-5, Nate Granatir wrote: > > You could also

Re: Django template iterating through two dictionaries/variables

2016-08-29 Thread Aaron Weisberg
I hate to be thick but could you explain to me how to load the filters and also how the template should look with the updated function? Solving this will unlock a ton of functionality for my app. Thanks, Aaron On Aug 29, 2016 12:34 PM, "Asad Jibran Ahmed" wrote: > No prob

Re: Django template iterating through two dictionaries/variables

2016-08-29 Thread Aaron Weisberg
turn the scores of the corresponding game number. Then the template is looking for the correct value in the scores dictionary that has the same Number identification as the existing person.Number? I think what is confusing me is the use of "player" in ludovics example Thanks Aaron

Re: Django template iterating through two dictionaries/variables

2016-08-29 Thread Aaron Weisberg
late-tags/ > > 2016-08-26 15:50 GMT+02:00 Aaron Weisberg : > > I didn't really know how to label this question, but I think it's an > > interesting concept and I haven't seen a resolution anywhere else. > > > > I currently have two dif

Re: How to set up a form from an existing view

2016-08-27 Thread Aaron Weisberg
ate a form class. This will simplify data > handling. > > That being said, you are on a good start :) > > 2016-08-26 16:00 GMT+02:00 Aaron Weisberg : > > Good morning, > > > > I have been working on an app displaying some analytics and I want to > > incorporate

How to set up a form from an existing view

2016-08-26 Thread Aaron Weisberg
Good morning, I have been working on an app displaying some analytics and I want to incorporate some user feedback and I am having trouble figuring out how: I have a detail view: Enter code here... #views.py def detail(request, game_id): games = Game.objects.get(pk=game_id) context = {

Django template iterating through two dictionaries/variables

2016-08-26 Thread Aaron Weisberg
I didn't really know how to label this question, but I think it's an interesting concept and I haven't seen a resolution anywhere else. I currently have two different dictionaries as context for a template: Enter code here...context ={ 'person':person,

Re: Python dictionaries saved to models

2016-08-18 Thread Aaron Weisberg
Nevermind- the good folks at Django didn't add: from django.apps import apps in order to pull off this data migration On Thursday, August 18, 2016 at 8:40:26 AM UTC-5, Aaron Weisberg wrote: > > Thanks. > > However, when I write the function and try to run the data migration I

Re: Python dictionaries saved to models

2016-08-18 Thread Aaron Weisberg
s-required-for-standalone-django-usage > > On Thursday, August 18, 2016 at 2:14:39 AM UTC-4, Todor Velichkov wrote: >> >> Maybe a data migration >> <https://docs.djangoproject.com/en/1.9/topics/migrations/#data-migrations> >> is what you are looking for. >>

Re: Python dictionaries saved to models

2016-08-17 Thread Aaron Weisberg
Great- thanks Tim. I understand the Python, but what I guess where I'm fuzzy is where to exactly put that code. Do I put it in the models.py? class.py? and how do I execute? That is the final piece of the puzzle for me. Thanks so much. Aaron On Wednesday, August 17, 2016 at 3:48:

Python dictionaries saved to models

2016-08-17 Thread Aaron Weisberg
ime. But I think once i get the first iteration of data into these models I can figure out how to update. But the only way I can figure out is to create them one by one in the shell or create a form and input them one by one. If you have a solution, please share and be as detailed as possible s

Re: Django-Dashing

2016-05-06 Thread Aaron C. de Bruyn
Can you provide us with a little more detail? What isn't working? What error messages are you getting? I haven't touched it in about a year. You might also consider getting support by going here: https://github.com/talpor/django-dashing/issues/new -A On Fri, May 6, 2016 at 12:51 PM, Foridur K

Re: Storing data before committing to data base, wait for approval of admin

2016-05-04 Thread Aaron Cannon
ptied, provided that there's a way for the user to make that distinction in the user interface. Not sure if this is what you were looking for or not. Aaron On 5/4/16, Mark wrote: > > > I'm building a mobile app using Ionic framework, so the front end is > essentially a

Re: Querying a model with a ForeignKey

2016-05-03 Thread Aaron Cannon
I fear doing this efficiently is beyond my limited abilities. Will look forward to other answers you might get. Good luck. Aaron On 5/3/16, ofeyofey wrote: > Aaron thanks for looking at this. > I understand what you did now, and that is great. > But I actually realised that the views

Re: Querying a model with a ForeignKey

2016-05-03 Thread Aaron Cannon
Does pModel = PostModel.objects.filter(topicid_id=pk).order_by('-pub_date')[0] work for you? Also, I believe it would be more conventional if you named your topicid field simply topic, your post field as body, and your topic field as name. Luck. Aaron On 5/3/16, ofeyofey wrote

Re: Complex content type

2016-05-02 Thread Aaron Cannon
To your Answer class, you could just add a field like: question = models.ForeignKey(Question, on_delete=models.CASCADE) It may be as simple as that. Does that help? Aaron On 5/2/16, ludovic coues wrote: > There is such example in the django girls tutorial I linked earlier. > > 2

Re: Is it good idea to transition from MS Access to a webapp? And if so, is Django a good tool to do it?

2016-05-01 Thread Aaron Cannon
ought that might be a better fit. Aws may have a bit better stability than DO in the long run, but for the apps I run there, uptime has not posed a problem so far. Good luck with your app, and have fun. I know I certainly have with this framework. Aaron On 4/29/16, Fred Stluka wrote: > Patri

Re: New to Django (stuck at the end of the tutorial)

2016-04-30 Thread Aaron Poncé
Just a related/unrelated sidenote.. I'm also new to Django and I found an amazing tutorial series on youtube... Just wanted to share it with you: https://youtu.be/FNQxxpM1yOs?list=PLQVvvaa0QuDeA05ZouE4OzDYLHY-XH-Nd It's a 12 part series and it really helped me get the ball rolling On Tuesday

Migration bug in 1.9.5?

2016-04-12 Thread Aaron C. de Bruyn
* My project has been around since the Django 1.2 days. * Some time around 1.8.x I ran squashmigrations and everything worked perfectly. * I've done lots of migrations since then. * I updated the app to Python 3. * Everything was working perfectly I just did my first makemigration under python 3.

Re: Fabric - Someone has a fabfile to build a Sentry server?

2016-04-05 Thread Aaron C. de Bruyn
Another fun way to deploy it is to a dokku (or Heroku) server. Create a git repo with a requirements.txt that includes: sentry[postgres] psycopg2 Create a Procfile: web: sentry --config=sentry.conf.py start workers: sentry --config=sentry.conf.py celery worker -B And finally a sentry.conf.py wit

Re: NAS using Django

2016-03-10 Thread Aaron C. de Bruyn
wanted to connect my Django web application with Samba File sharing > sever so that I can access it from an IP typed at a web-browser. > > On Wed, Mar 9, 2016 at 10:03 PM, Aaron C. de Bruyn > wrote: > >> That's still pretty vague. What 'file sharing protocols' are

Re: NAS using Django

2016-03-09 Thread Aaron C. de Bruyn
That's still pretty vague. What 'file sharing protocols' are you talking about specifically? And what do you mean by wanting to 'connect' the file sharing protocols to the application? There is a PySMB library that will allow your Django application to pretend to be a Windows client. If you're

[no subject]

2016-02-29 Thread Aaron C. de Bruyn
A simple annotation broke when I migrated by app from Django 1.8.x to 1.9.2, and I can't figure out why for the life of me. Calling Company.objects.all().annotate(ticketcount=Count('srservice')) throws an error "ProgrammingError: column "company.owner_id" must appear in the GROUP BY clause or be

Re: Concatenate complex views

2016-01-13 Thread Aaron C. de Bruyn
I may be missing something, but couldn't you use a generic ListView and something like: {% for car in car_list %} Car Make: ...etc {% endfor %} Don't include a tag or a submit button and you should get something that looks like a form, but is read-only. Maybe even disable the input box so i

Re: How to display a image which is generated in the backend with Django

2015-11-22 Thread Aaron C. de Bruyn
If I recall correctly, the 'wc' object would need to be a file object. You could assign it similar to this: from django.core.files import File wc = File(open('/path/to/image', 'r')) user.userprofile.tagcloud = wc user.userprofile.save() If the 'wc' variable returned by your program is already a

Re: Search capability on Django 3.1.3 (Haystack)

2015-11-09 Thread Aaron C. de Bruyn
Without any specific information on the problems you are having, here is a link to the Haystack search tool: http://haystacksearch.org/ If you can provide us with more detail, we would be happy to help. -A On Sun, Nov 8, 2015 at 11:06 PM, nAncy sharma wrote: > Hi there, > > I am building a webs

Re: Random auth_permission + content_type errors during test runs

2015-11-02 Thread Aaron Lelevier
Russel, Thank you for posting this great answer on why this error may be occurring. I was getting this error, and for the life of me (1-2 days), couldn't figure out the issue. Thank you!! -- You received this message because you are subscribed to the Google Groups "Django users" group. T

Re: Random auth_permission + content_type errors during test runs

2015-11-02 Thread Aaron Lelevier
Russell, Thank you for posting this great answer on why this error may be occurring. I was getting this error, and for the live of me (1-2 days), couldn't figure out the issue. Thank you!! On Wednesday, April 2, 2014 at 2:23:48 PM UTC-7, Russell Keith-Magee wrote: > > > On Wed, Apr 2, 2014 a

Re: Password protect content

2015-11-02 Thread Aaron C. de Bruyn
You might want to check out Apache .htaccess files for securing the files. Django sounds like it might be overkill for password protecting files. -A On Mon, Nov 2, 2015 at 8:37 AM, Andrew S wrote: > Hello, > > I have a folder full of HTML files that will reside on a subdomain. > > I would like t

Re: Team project via Git repo

2015-10-13 Thread Aaron C. de Bruyn
Oops--almost forgot. Create a .gitignore in your ~/code/carsite file before you commit your changes and push them to GitHub. https://www.gitignore.io -A On Tue, Oct 13, 2015 at 7:00 PM, Aaron C. de Bruyn wrote: > Without knowing too much about your environment, I figured I'd tell >

Re: Team project via Git repo

2015-10-13 Thread Aaron C. de Bruyn
Without knowing too much about your environment, I figured I'd tell you how I do it on my Debian-derivative systems. * Install python-virtualenv and virtualenvwrapper - These tools help you create isolated python environments under your home folder under '.virtualenv'. * Create a virtualenv for th

Re: Platform.sh alternative for Django?

2015-09-29 Thread Aaron C. de Bruyn
Heroku is another paid alternative. For myself, I purchase a $5/mo digital ocean server and install 'dokku' (https://github.com/progrium/dokku) so I can 'git push'. For automated builds I use Drone CI (https://github.com/drone/drone) which can also be installed on the same (or a separate) server.

Re: Security News?

2015-08-18 Thread Aaron C. de Bruyn
Er...I totally spaced another bullet point: * Security list for the application(s) you are using (i.e. django-security) -A On Tue, Aug 18, 2015 at 2:29 PM, Aaron C. de Bruyn wrote: > I personally follow a few: > * The security mailing list for the distos I use (mainly ubuntu-se

Re: Security News?

2015-08-18 Thread Aaron C. de Bruyn
I personally follow a few: * The security mailing list for the distos I use (mainly ubuntu-security) * FullDisclosure mailing list * Slashdot ;) * SoylentNews * Listen to TechSNAP on Fridays (http://www.jupiterbroadcasting.com/) If you're really hard-core you can get the CVE feeds: https://cve.mit

Re: please suggest me, related to technologies that I should use for facebook like chat

2015-08-10 Thread Aaron C. de Bruyn
On Mon, Aug 10, 2015 at 7:46 AM, JAI PRAKASH SINGH wrote: > Thank you for replay, so i just want to know, if i want to implement in > django will it work fine ? That's not really a question about the language. Developers can do all sorts of amazing stuff with Django. I was surprised to find

Re: What Did I Do Right? (url and domain name change)

2015-08-06 Thread Aaron C. de Bruyn
1. DNS doesn't really work that way in most situations. Your browser should cache it, your computer should cache it (especially Windows), and your upstream DNS (usually your router) should cache it. Your computer literally stores 'mysite.com' = '1.2.3.4'. It doesn't store it per-page, but for th

Re: Help me develop a Job Tracker (?)

2015-07-13 Thread Aaron C. de Bruyn
You might be looking for the FormWizard. In the latest version of Django, it has been moved to an external application (https://github.com/django/django-formtools/blob/master/docs/wizard.rst). In older version of Django, it is part of the corp app (https://docs.djangoproject.com/en/1.7/ref/contri

Re: Python & Django.

2015-07-06 Thread Aaron C. de Bruyn
Glad it's working. -A On Mon, Jul 6, 2015 at 10:02 AM, Steve Burrus wrote: > Well I want to sheeplishly say thwat I DID get Python 3.4.2 going with the > Django server! I kind of feel like the late Gilda Radner saying "Never > mind!" in her well-known Saturday Night Live sketch. But to answer yo

Re: Python & Django.

2015-07-05 Thread Aaron C. de Bruyn
or message?" lNo particular error message. But I > cannot even start to go thru the usual procedure to end up connecting to the > Django server! It's irrational that for as long as the version 3.4.* of > python has been out that I hAvE to still use the old version 2.7. > >

Re: Python & Django.

2015-07-05 Thread Aaron C. de Bruyn
Are you getting an error message? Can you describe what is happening (or not happening)? Thanks, -A On Sun, Jul 5, 2015 at 8:33 AM, Steve Burrus wrote: > Listen I am having/experiencing some degree of diffilculty in being able to > coordinaTE my Pytjhon version with Django. i can easily end up

Re: How To Activate Django Server.

2015-06-25 Thread Aaron C. de Bruyn
Steve, You don't appear to be in the same folder as manage.py. You need to change to the directory that holds your project files. -A On Thu, Jun 25, 2015 at 1:35 PM, Steve Burrus wrote: > No i am sorry but python manage.py runserver doesn't work! I first tried to > run it in a newly created vi

Re: Trying understand static files.

2015-04-22 Thread Aaron C. de Bruyn
Have you looked through the deployment documentation yet? (https://docs.djangoproject.com/en/1.8/howto/deployment/) -A On Wed, Apr 22, 2015 at 4:35 PM, john wrote: > Hi, > I have created a website that works well under "runserver". But when I use > nginx and uwsgi the basic website comes up but

Re: Migration on new project fails under 1.8, works under 1.7.7

2015-04-05 Thread Aaron C. de Bruyn
uot; > > I think what was happening is that in 1.7.x Django was not creating > the Foreign Key constraint and wasn't raising an error on that. In 1.8 > it does, which seems like a better situation to me. > > Way to fix it would be to add migrations to avatar. Even a basic > mi

Migration on new project fails under 1.8, works under 1.7.7

2015-04-05 Thread Aaron C. de Bruyn
This is output from the migrate command against an empty postgres DB. 16:05:39 [aaron@ender:~/code/busybodyweb] [busybody] master* ± python manage.py migrate Operations to perform: Synchronize unmigrated apps: stronghold, site_basics, gunicorn, djcelery_email, staticfiles, admindocs, messages

Re: "ResourceWarning: unclosed" error using mysql-connector-python

2015-03-01 Thread Aaron Abajian
I was also getting these errors, upgrading resolved them for me as well. On Friday, July 4, 2014 at 6:59:03 AM UTC-7, Zemian Deng wrote: > > No problem. Thanks for the reply. > > > On Fri, Jul 4, 2014 at 12:51 AM, cercatrova2 > wrote: > >> On 04/07/14 05:09, Zemian Deng wrote: >> >> Hum... I a

Re: Real time and Django - approaches

2015-02-21 Thread Aaron Reabow
ks really well. > > Best Regards > > On Fri, Feb 20, 2015 at 6:37 AM, Aaron Reabow > wrote: > >> Hi. >> >> I wanted to see what the Django community thought about realtime circa >> 2015. >> >> My impression (and I could be very wrong) is tha

Real time and Django - approaches

2015-02-20 Thread Aaron Reabow
was interested if people had alternate understandings. What I am building definitely does need pubsub at the least, and to be as near to realtime as possible would be an advantage. many thanks, Aaron -- You received this message because you are subscribed to the Google Groups "Django users&qu

Re: ajax philosophy

2015-02-12 Thread Aaron Reabow
ave an API with its own > routes and views. > > I suggest you take a look at tastypie or DRF > > On Thu, Feb 12, 2015 at 10:17 AM, Aaron Reabow > wrote: > >> I would like to separate out my ajax requests into their own views (one >> per page, is what I am thinki

ajax philosophy

2015-02-12 Thread Aaron Reabow
I would like to separate out my ajax requests into their own views (one per page, is what I am thinking) This allows me to keep a very generic base view that applies to multiple pages. This have a number of advantages for me, such as building a bullet proof view that never gives any trouble :)

Re: Django development running on 127.0.0.1:8000 not accessible from same machine

2015-01-16 Thread Aaron C. de Bruyn
If it still doesn't work after doing what James suggested, you can look to see if python is actually 'listening' on port 8000. >From an 'elevated' command prompt (start->type 'cmd', right-click 'cmd' and hit 'run as administrator') type 'netstat -abno > netstat.txt' and hit enter. Then type 'note

Re: Deploying Django on Docker

2015-01-12 Thread Aaron C. de Bruyn
My docker setup is pretty easy: wget -qO- https://raw.github.com/progrium/dokku/v0.3.13/bootstrap.sh | sudo DOKKU_TAG=v0.3.13 bash cat ~/.ssh/id_rsa.pub | ssh r...@mynewhost.mydomain.tld "sudo sshcommand acl-add dokku myproject" git remote add production do...@mynewhost.mydomain.tld:myproject g

Re: dashboard for user profile

2015-01-03 Thread Aaron Reabow
Did you ever find anything like this? On Friday, 13 July 2012 03:57:45 UTC+2, psychok7 wrote: > > i there, > i am trying to write a dashboard page to present after user login. i have > been searching google and only found *django-admin-tools . won*dering if > there is something like that for a u

Re: Swampdragon, the realtime framework for Django seems interesting. But will it scale ?

2014-12-16 Thread Aaron Reabow
Work on his site (yes) -- 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 this group, send email to django-use

Re: Swampdragon, the realtime framework for Django seems interesting. But will it scale ?

2014-12-15 Thread Aaron Reabow
the thing i am trying to figure out is how this works with my existing setup. I get that you need to install redis. but how does the rest of the stack change mine is through the good people at webfaction: apache tomcat nginx (static) postgres python2.7 django1,6 html/css/js how much of this c

Re: Obtaining content from Git

2014-11-21 Thread Aaron C. de Bruyn
I'm not aware of any such module, but there are a few python 'git' modules for reading/writing, etc... As for how much trouble it would be, that all depends on how familiar you are with git, python, Django, and the template system. One way you might be able to achieve what you want is to create y

Re: A better "manage.py shell" with syntax highlighting and multiline editing.

2014-10-13 Thread Aaron C. de Bruyn
That's awesome! Thanks. -A On Mon, Oct 13, 2014 at 8:35 AM, Jonathan S wrote: > Hi all, > > Two weeks ago I released the python-prompt-toolkit library with the > "ptpython" REPL. That is a nice python interactive shell with decent > multiline editing, syntax highlighting and autocompletion. >

Re: Views triggering twice

2014-10-04 Thread Aaron Lelevier
Malcom, Thank you for this writeup you did on debugging HTML code. I was also showing Django Views loading twice, and it was due to an empty "href". Only took a few minutes to fix after reading your writeup. Thanks On Friday, November 14, 2008 5:52:15 PM UTC-8, Malcolm Tredinnick wrote: > >

Re: Is there anything similar to phpmyadmin

2014-09-22 Thread Aaron C. de Bruyn
You might consider setting up your database connection string, then doing a 'python manage.py inspectdb'. This will spit out a bunch of model definitions. Paste them into your models.py, and add them in admin.py, and you have an interface for managing a database. -A On Sat, Sep 20, 2014 at 6:38

Re: Updating Django project from 1.4 (if not older) to 1.7

2014-09-06 Thread Aaron C. de Bruyn
It depends on a lot of things. 1. You can try running: python from django import get_version print get_version() 2. If you don't see manage.py in the root directory, you are probably using a very old version of django. I would start by creating a virtualenv running an early version of Django (m

Re: Comments in real time

2014-08-27 Thread Aaron Reabow
thank you for the responses, I will have a go at each. I wonder if the angular and websockets approaches could compliment each other... On Friday, 22 August 2014 20:52:26 UTC+2, Julo Waks wrote: > > If you need to save the comments, take a look to django-angular. > Its an integration of angularJ

Comments in real time

2014-08-20 Thread Aaron Reabow
will give me similar capabilities (or parts thereof). Would anyone have a suggestion on where to start looking. My alternative would be to then build the interactivity in javascript. many thanks in advance, Aaron -- You received this message because you are subscribed to the Google Groups

Re: Problems with "Hello World" Debian Wheezy Django 1.6.5

2014-08-18 Thread Aaron C. de Bruyn
After trying to load the page in Chrome, do you see any output in the 'runserver' window? On Mon, Aug 18, 2014 at 7:28 PM, Andrew Koller wrote: > I'm having issues getting the dev server to work. After I installed > Django, and > > $ python -c "import django; prindjango.get_version())" > >> ret

Should I use generic foreign key, and how?

2014-08-16 Thread Aaron Law
r "suppiler_id" in "comments" table. (That is, I should not create the 4th column when I want to link up the 4th parent table.) So, Should I use generic forgien key of Django? (so that, my "comment" table design is right.) And how to use/implement it? P.S I mainly d

Re: Simple History - Field Change

2014-07-04 Thread Aaron Reabow
thread. > > Let us know how you get on. > > Cal > > > On Fri, Jul 4, 2014 at 4:47 PM, Aaron Reabow > wrote: > >> Environment: >> >> >> Request Method: POST >> Request URL: upon request :) >> >> Django Version: 1.6.2 >> P

Re: Simple History - Field Change

2014-07-04 Thread Aaron Reabow
util.py" in execute 53. return self.cursor.execute(sql, params) File "/home/metadata/webapps/greenhouse/lib/python2.7/django/db/utils.py" in __exit__ 99. six.reraise(dj_exc_type, dj_exc_value, traceback) File "/home/metadata/webapps/greenh

Simple History - Field Change

2014-07-04 Thread Aaron Reabow
o fix? many thanks, Aaron -- 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 this group, send email

Re: Using session data to populate multiple forms

2014-06-25 Thread Aaron Reabow
June 2014 08:58:05 UTC+1, Aaron Reabow wrote: >> >> Perhaps I should be more specific. >> >> How do i populate some fields in a table from a form, and other fields >> from session variables in the view (or the template or the model if that >> was more appropr

Re: Using session data to populate multiple forms

2014-06-25 Thread Aaron Reabow
Perhaps I should be more specific. How do i populate some fields in a table from a form, and other fields from session variables in the view (or the template or the model if that was more appropriate) many thanks, aaron On Tuesday, 24 June 2014 18:21:02 UTC+2, Aaron Reabow wrote: > &

Re: Django Admin Login - Redirecting back to login page

2014-06-24 Thread Aaron Reabow
also try: LOGIN_REDIRECT_URL On Tuesday, 24 June 2014 16:55:21 UTC+2, Sergiy Khohlov wrote: > > Hello, > > Could you please paste your LOGIN_URL from your settings.py > > > > Many thanks, > > Serge > > > +380 636150445 > skype: skhohlov > > > On Tue, Jun 24, 2014 at 5:40 PM, Діма Ревуцький > w

Re: Using session data to populate multiple forms

2014-06-24 Thread Aaron Reabow
that makes some sense. warm regards, Aaron On Tuesday, 24 June 2014 18:04:16 UTC+2, Daniel Roseman wrote: > > On Tuesday, 24 June 2014 14:30:48 UTC+1, Aaron Reabow wrote: >> >> Hi All, >> >> I have been scratching around this for a bit now. >> >> Sometime

Using session data to populate multiple forms

2014-06-24 Thread Aaron Reabow
g jquery. This doesn't seem the most efficient way. I assume writing this information in the view would be optional, alternatively is there a way to foreignkey type of approach. Also I am pretty new to django so i might be way off the mark.. many thanks in advance, Aaron my view:

Re: Development SaaS with Django

2014-05-24 Thread Aaron C. de Bruyn
The best way to find out would be to download django-cms and django-shop and test them out for yourself to make sure they meet your requirements. Or hire a developer to research your requirements for you. My guess would be 'no', because their goal isn't to be multi-tenant apps. -A On Sat, May

Recruiting part time Django, python programmer for Bitcoin startup- remote work OK

2014-04-29 Thread Aaron Zirker
Hello Django users group, My name is Aaron Zirker and I am the CEO and Founder at The Cryptocurrency Analytics Company. We have created an automated Bitcoin trading platform and recently received funding to further our front end development. We're a NYC-based bitcoin startup looking

Re: How do I register to get access to the IRC Channel?

2014-04-02 Thread Aaron C. de Bruyn
Take a look at this: http://www.wikihow.com/Register-a-User-Name-on-Freenode If you still get stuck, let us know. -A On Wed, Apr 2, 2014 at 1:43 PM, John Draper wrote: > I go to Adium --> File --> irc.freenode.net > see screenshot > > I put in my nickname, hostname, and password. > > I get t

Re: Avoid Django s3-urls stripping

2014-03-28 Thread Aaron Cannon
end me that bit. Otherwise, if you'd like to create a small example project that demonstrates this issue, and upload it to github, that would work as well. Aaron On 3/28/14, Paolo Bertasi wrote: > > Hi and thanks for your help. > > I tried > * to print url in the console : OK &g

Re: Avoid Django s3-urls stripping

2014-03-27 Thread Aaron Cannon
Is the url a bytestring? A quick check of the code for HttpResponse shows that that class is expecting a byte string. Perhaps the URL contains unicode characters that aren't being escaped properly? Aaron On 3/27/14, Aaron Cannon wrote: > Other things I'd probably try to debug thi

Re: Avoid Django s3-urls stripping

2014-03-27 Thread Aaron Cannon
could completely take S3 out of the picture. From there, I would start narrowing it down, to see if it was a specific character that was causing the problem. Narrowing things down a bit more might make it easier for folks to help you figure out your issue. Luck. Aaron On 3/27/14, Paolo Bertasi

Re: Client side timestamp handling and timezone

2014-03-27 Thread Aaron Cannon
Have you seen this SO answer? This might help you to convert to UTC in JS. No idea why you're seeing different results inside and outside the shell. Luck. Aaron On 3/18/14, Yoanis Gil Delgado wrote: > Hello there, > > I've been struggling with this issue for the last fe

Re: Avoid Django s3-urls stripping

2014-03-27 Thread Aaron Cannon
Try clicking view source in your browser when you view it. Perhaps the URL needs to be HTML escaped? Just a guess. Aaron On 3/21/14, Paolo Bertasi wrote: > Hello, > I'm trying to setup a mini django app to allow users to download files from > > s3. I wrote a simple python fun

Re: Displaying HTML forms through AJAX

2013-12-27 Thread Aaron Decker
posed to. -Aaron On Thursday, December 26, 2013 1:10:42 PM UTC-5, Arun Kaushik wrote: > > I am a newbie. I am learning Django by developing a web application. There > is use-case where I got stuck. > there are 3 buttons on a html page > *Personal info* > *Education* >

Expected Behavior with Proxy Models

2013-12-18 Thread Aaron Spike
is registered, self.model points at the Proxy Model instead of the original Model. The second Proxy Model is not a subclass of the first. Is there a contradiction between the behavior I observe and the documentation? Or am I simply misunderstanding the documentation? Should it be possible for a mo

Re: URL generation in django

2013-09-07 Thread Aaron C. de Bruyn
I believe this is what you are looking for: https://docs.djangoproject.com/en/1.5/topics/http/urls/#reverse-resolution-of-urls -A On Sat, Sep 7, 2013 at 8:17 PM, Nafiul Islam wrote: > I've been busy exploring the different Python Web Frameworks, and it has > been a rewarding experience. I want

Re: I really about to give up Django

2013-08-30 Thread Aaron C. de Bruyn
Feel free to use whatever names you'd like in models. def Ikhouvanjou(models.Model): #whatever field names you want... -A On Fri, Aug 30, 2013 at 6:23 PM, Dan Gentry wrote: > > Just my opinion, but I see no reason to use English names in models. Use > whatever you wish. English speaking p

Re: Django Gunicorn with Two Django App

2013-08-13 Thread Aaron C. de Bruyn
Just a stab in the dark, but are both projects using the same port? Using gunicorn, you can set the IP and port the server runs on, then in Nginx you need to tell each app to use the correct port. Example from memory: /home/aaron/app1 $ python manage.py gunicorn 127.0.0.1:8000 /home/aaron/app2

Re: broken packages

2013-08-12 Thread Aaron C. de Bruyn
This isn't a django issue, but rather an issue with the package management system in your Linux distribution. This can happen if someone publishes a broken package, or you add on PPA's that have conflicting requirements. Basically it's saying that geonode depends on a version of Django greater th

Re: django windows user

2013-08-11 Thread Aaron C. de Bruyn
On Sun, Aug 11, 2013 at 1:35 PM, Robin Lery wrote: > have a linux server or hosting provider yet. I was just curious, as when > the time will come to deploy in production level, what other basic things > should I know. I will try the tutorials on ssh that you gave me. And thank > you for your gui

Re: django windows user

2013-08-10 Thread Aaron C. de Bruyn
Google is your friend. The first tutorial that came up when I searched for 'ssh for windows users' was this site: http://support.suso.com/supki/SSH_Tutorial_for_Windows Do you have an existing Linux server at your house or with a hosting provider? If managing a Linux server is too steep of a lea

  1   2   3   4   >