An easy way to work with webservices and create template tags.

2009-03-04 Thread tristan
I'm a designer learning python and Django by example, and its a brilliant system. On my project I have a set of our own XML webservices to call using a variety of methods. The aim is to then get access to the data returned and expose the individual elements in the XML as Django template tags that

allowing a user to delete their own account and associated data.

2009-03-12 Thread tristan
ionality to the user on the main site. Can anyone point me to what views I might copy, and where from in order to achieve this, or give me any other tips? Thank you in advance. Tristan --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

Re: allowing a user to delete their own account and associated data.

2009-03-17 Thread tristan
rs so they can do it themselves... On Mar 12, 10:12 am, tristan wrote: > Hello there, > I'm currently learning Django by re-implementing a site based on > Pinax. > In the Django admin site, I candeleteanaccountand all its > associated data by going into auth >accountna

Re: allowing a user to delete their own account and associated data.

2009-03-18 Thread tristan
Guys, thank you, both of you, I have searched hi and low for examples of this and found none. A question, would the example code you have posted behave in the same way as the delete function does in the Auth admin application, in that it would not just delete the user, but also all the profile ob

How to Allow "-" character in usernames in the admin application

2009-07-31 Thread tristan
In our webapp we needed to allow dashes "-" in our usernames. I've enabled that for the consumer signup process just fine with this regex r'^[\w-]+$' How can I tell the admin app so that I can edit usernames in auth > users to allows the "-" character in usernames? --~--~-~--~~---

Show user page on first login.

2009-04-23 Thread tristan
Hi there, I'm build a Django web-app with some pinax components, and would like to show to take the user to a specific page on their first login, and afterwards not show them that page again. Has anyone implemented this, or seen any example code for it? Thanks, Tr

FileField upload directory

2007-12-12 Thread Tristan King
s not enforced. Any thoughts? Thanks, -Tristan --~--~-~--~~~---~--~~ 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 th

Export table created in Views to a CSV with a button

2023-01-09 Thread Tristan Tucker
Hello, I have built a view that takes in dataframes, runs them through a function and then ultimately pumps out a results dataframe that is transformed into a HTML object and displayed on the webapp homepage. Now, I am trying to add in an "Export as CSV" button that upon being clicked will down

ImportError : cannot import name include

2018-05-17 Thread Tristan Demot
Hello, I use docs.djangoproject.co/en/2.0 Python 2 7 13 Gjango 1.11.13 Creating the Polls app OK Write your first view OK But python manage runserver don't work With : python -Wall manage.py test ImportError : cannot import name include If you want to see something, ask me Many thanks --

First View

2018-05-21 Thread Tristan Demot
Hello, I use tutorial 1.11 beaumarche (startproject) from django.conf.urls import include, url from django.contrib import admin urlpatterns = [ url(r'^boutique/', include('boutique.urls')) , url(r'^admin/', admin.site.urls), ] boutique (app) urls.py from django.conf.urls import

Django Channels: Multiple 'send' calls in the same consumer

2017-05-13 Thread Tristan Barry
Hi - I'm working with Django Channels (1.1.3) on a Django project and I have some questions about how to send multiple messages from the same consumer. The idea is the consumer will receive a request to do some work, and will send incremental results back to user. I've attached a simplified exa

Re: Django Channels: Multiple 'send' calls in the same consumer

2017-05-16 Thread Tristan Barry
Thank you very much for clarifying - I wasn't exactly sure how to approach this, but your response makes sense. Cheers! On Saturday, May 13, 2017 at 6:09:14 PM UTC-7, Andrew Godwin wrote: > > Hi Tristan, > > All messages sent from a consumer are delayed for sending until the