Re: Looking for a collaborator

2024-12-25 Thread johnny richard ANDRIAMANALINA
Me too, I'm interested in the collaboration but i'm not from the U.S Le mercredi 25 décembre 2024 à 09:51:09 UTC+3, Benjamini Athanas a écrit : > Yes am here > > On Wed, 25 Dec 2024, 09:48 Adisa Habeebulah, wrote: > >> I'm interested in the collaboration just that I'm not from the U.S >> >> >>

Re: How can I acess Multilinestring(dim=3)

2024-02-24 Thread Richard Mair
), (3, 3, 154)], srid="31287") mls = MultiLineString(ls1, ls2) assert mls.hasz # ACT - first_kmsys: Kmsys = Kmsys.objects.all().first() logger.info(f"first: {first_kmsys}") # ASSERT - assert first_kmsys.geom.hasz assert len(first_kmsys.geo

How can I acess Multilinestring(dim=3)

2024-02-24 Thread Richard Mair
Hi i am using geom = models.MultiLineStringField( dim=3, srid=EPSG_CODE, blank=True, null=True, spatial_index=True ) # EPSG:3128=AustriaLambert and my PostGIS-DB is using (MultilinestringM ALTER TABLE IF EXISTS public."KMSYS" ADD COLUMN geom geometry(MultiLineStringM,31287); but when I acc

Re: SMTP Not working In Cpanel Production server.

2023-06-11 Thread Dushime Mudahera Richard
can you provide a copy of the codes you are using ? i would advise also to check the path in your file *Best Regards * *Dushime Mudahera Richard* *Google Crowdsource Influencer | M L Facilitator | OLS P Lead | * *Visit me *: My Portfolio <https://richarddushime.netlify.app/> *W

Setting up private temperature sensor system?

2023-01-26 Thread Richard E. Cooke
Where I want to see my temperature sensor data does not have an internet connection. So I need to set up my own system using LHT65N sensors and LPS8N gateway(s). Reading some older user manuals, I noticed at one time they included The Things Network stack in firmware! Thats cool! Is that a pa

Re: DJANGO ADMIN SPECIFICATION

2022-09-10 Thread Dushime Mudahera Richard
yeah All u said can be done in short """CRUD"""" *Best Regards * *Dushime Mudahera Richard* *Google Crowdsource Influencer* *GDSC Lead 2021-2022 Bugema University* *Visit :* https://www.facebook.com/BSA256 *Visit me *: Community Learning MS <http://communit

HELP

2022-04-05 Thread Dushime Mudahera Richard
ame(os.path.abspath(__file__))) # Load the environment variables from .env file. dotenv = os.path.join(BASE_DIR, '.env') if os.path.exists(dotenv): read_dotenv(dotenv=dotenv) else: raise IOError('.env file not found!') .env file ## Database (mysql) ## SASKATOON_DB

Re: how to split in multiple file class models.py?

2022-03-20 Thread richard...@gmail.com
ile? Is there a risk of circular imports? Thanks, Richard Brockie On Monday, February 1, 2021 at 11:45:25 PM UTC-8 andrea...@hypercode.se wrote: > So, > > Boney M's assumption here is correct. > > You just need to import all of your models in the __init__.py file using >

Re: An error with my code

2022-02-27 Thread Dushime Mudahera Richard
https://pastebin.com/ or just in compose message Best Regards Dushime Mudahera Richard Visit me : https://richard.bluebirdsocceracademy.org/ Web dev and IT Manager @Bluebird Soccer Academy Kyangwali Refugee Settlement Office richdus...@gmail.com | richarddush...@bluebirdsocceracademy.org Visit

Need a Help Please

2022-02-17 Thread Dushime Mudahera Richard
Question i want to capture the enteredLoanAmount age enteredAge enteredTerm, and gender also from the form that i have in signup page then calculations will follow and print out the results in a table As per now when i run in the terminal i can enter all the values and get the results in t

Re: Potential bug: mysql-connector-python Django 3.2.11 and third-party packages that populate the Admin Site

2022-02-03 Thread Richard Mayebo
s tutorial also : https://youtu.be/SNyCV8vOr-g >> >> On Thu, Feb 3, 2022, 06:19 Richard Mayebo wrote: >> >>> Platform: Observed on Ubuntu 20.04 >>> >>> >>>1. Install MySQL (Observed on 5.7 and 8.0) >>>2. Create a Virtual environment

Potential bug: mysql-connector-python Django 3.2.11 and third-party packages that populate the Admin Site

2022-02-02 Thread Richard Mayebo
dit and django-axes, Django 3.2.11 and my-sql-connector 8.0.26 and 8.0.28. Has similar behaviour been observed by anyone else? In any case, how can this be brought to the attention of the development team? My apologies if this is the wrong forum for this post. I am new at this. Regards, Richard

Re: error email in django

2022-01-21 Thread Richard Myers
Get Outlook for iOS From: django-users@googlegroups.com on behalf of Aksh Desai Sent: Friday, January 21, 2022 2:06 PM To: django-users@googlegroups.com Subject: Re: error email in django ok My problem is solved in django email. Thank yo

Re: request.POST.getlist('xxx') only has one value in ajax request for many2many

2022-01-16 Thread Odigiri Richard
You might want to loop through the list Example: Lists = request.getlist('item') For list in Lists: . On Sun, Jan 16, 2022, 9:30 PM Campbell McKilligan wrote: > Hi, > > Using Django 3.2 and Py 3.9 > > I have an ajax request which submits multiple values for a field to an > UpdateView. >

Re: Re : Need help in django database related

2021-10-14 Thread Richard Dushime
i Think using Django u will create models then register them in admin, for saving data /registration u will create a form that will be posting data in database may be u can add in an email scripts if u want to always be aware of who has registered for an event On Wed, Oct 13, 2021 at 8:37 PM

Re: Greetings to Everyone

2021-09-18 Thread Richard Dushime
Thanks for the help it worked On Wed, Sep 15, 2021 at 4:58 PM MR INDIA wrote: > Jinja 2 is quite different from django templates and you need to use . > Jinja file extension. And configure it. And pls send GitHub link, and is > there any error log or Trace back then send it. > On Wednesday, 15 S

Greetings to Everyone

2021-09-15 Thread Richard Dushime
i kindly need a help i am making a static website into dynamic using Python Django and postgresql as my database i created models then i went in admin to register them then views to create the function after i went into html code to put the jijna format so that it can display at the end i made mi

Re: hello i need a help

2021-07-06 Thread Richard Dushime
x27;, 'f_message','f_email', > ['sec...@gmail.com']) > ) > > > send_mass_mail(datatuple) > > > refer to the documentations > <https://docs.djangoproject.com/en/3.2/topics/email/> > > > On Tue, Jul 6, 2021 at 3:14 AM Richard Dushime

hello i need a help

2021-07-05 Thread Richard Dushime
i am getting this error down when trying to submit my form data to email {{ ValueError at /contact too many values to unpack (expected 4) Request Method: POST Request URL: http://localhost:8000/contact Django Version: 3.2.4 Exception Type: ValueError Exception Value: too many values to unpack

Re: Hi django

2021-06-24 Thread Richard Dushime
gt; > You should check the docs of urls to understand how it works and get this > done. > > Regards > > El jue., 24 de junio de 2021 9:00 a. m., Richard Dushime < > mudaherar...@gmail.com> escribió: > >> i have a problem on my navigation bar on the index.htm

Hi django

2021-06-24 Thread Richard Dushime
i have a problem on my navigation bar on the index.html link when i click on it its showing me the error (see error.png) or everything apart that its working fine need ur help Home About About Us

kindly i need a help

2021-06-23 Thread Richard Dushime
i am making a website using django and postgresql the when i made a migration and i created the tables then i i went in the admin (django administration ) everything was okay the user and the data i can add and manipulate all the data and get effect into the database but on my webpages i am

Re:

2021-04-02 Thread Richard Dushime
af_sub2=Global_YGrowth&af_sub3=EmailSignature> > > On Fri, 2 Apr 2021 at 15:41, Richard Dushime > wrote: > dear developers i am requesting for help > i am new and i wanted to start contributing on a project but i have > failed on how to start i have seen one project i

[no subject]

2021-04-02 Thread Richard Dushime
dear developers i am requesting for help i am new and i wanted to start contributing on a project but i have failed on how to start i have seen one project ideas but i am not seeing a mentor contacts please i need a help thank you -- You received this message because you are subscribed to the

Django debug toolbar database query stats, but when generating pdf files?

2021-03-13 Thread richard...@gmail.com
m the runserver response time that the database calls are still being tabulated. Is there a way in which I can still view the SQL access details when generating a pdf? Or is there another method I should use? Thanks! Richard Brockie -- You received this message because you are subscribed t

Re: Conseil et Guide

2021-03-02 Thread Richard Dushime
Mahomy wrote: > Bonjour M. Richard, selon vous entre Django et les framework Php (Laravel, > Symfony, CodeIgniter et autres) quel est votre préférence ? > > Le dim. 28 févr. 2021 à 17:26, Richard Dushime a > écrit : > >> mr jean michel selon moi django est pour le web devel

Re: Conseil et Guide

2021-02-28 Thread Richard Dushime
mr jean michel selon moi django est pour le web devellopement en utilisant python pour rendre facile quelque task et d n est pas repeter les codes ecrit beaucoup des fois thank you On Sun, Feb 28, 2021 at 6:33 PM Michel Mahomy wrote: > Bonjour M./M.., je suis Michel MAHOMY développeur débutant

Re: need assistant

2020-10-19 Thread Richard Ilupeju
Hi I'll be willing to work with you On Thu, Oct 15, 2020, 16:01 ericki...@gmail.com wrote: > hello guys am new at Django , i have couple of projects for Django and > pyside2 if anyone is willing to assist me in this fields i be so great full > as we learn from each other and carry out more proje

Re: someone to help in this please

2020-06-17 Thread Richard Balwane
OJECT_DIR, r"env\\Lib\\site-packages\\osgeo\\gdal300.dll" ) 2. GDAL_DRIVER_PATH = os.path.join( PROJECT_DIR, r"env\\Lib\site-packages\\osgeo\\gdalplugins\\ogr_FileGDB.dll" ) And, you are good to go. Praise be to The Almighty God. *Richard Dick Balwane* *Mobiles:

Re: Project available

2020-05-11 Thread Adedotun Richard
I'm interested You can send a zoom invite and let's talk. On Mon, May 11, 2020, 11:05 AM maninder singh Kumar < maninder.s.ku...@gmail.com> wrote: > S.K thanks for the response. > Is there phone number I can get in touch with you? > > Regs > Willy > > Sent from my iPad > > On 11-May-2020, at 11:4

Re: I am building an open source School Management System

2020-05-09 Thread Adedotun Richard
@ola neat Can you share let us see what you have done so far? On Sat, May 9, 2020, 11:11 AM ola neat wrote: > I can contribute as I've built a sch mgt sys using django last yr > > On Fri, May 8, 2020, 21:57 Kasper Laudrup wrote: > >> An may Heiðrún provide a constant flow of mead >> >> On 08/05

Re:

2020-05-06 Thread Adedotun Richard
t): if request.user.is_authenticated: return redirect('home') else: #then you recall the function that call the inserinfo form. I hope this will be able to help you resolve the issue. Kind regards. Adedotun Richard On Wed, May 6, 2020 at 9:41 AM fahad rasool wrote: > I want to ask that

Re:

2020-05-04 Thread Adedotun Richard
Can you see that the Customer is not define that was the reason why it was underlined. Try and import your app model to your view.py: from .models import * On Mon, May 4, 2020, 10:35 PM fahad rasool wrote: > > On Tue, 5 May 2020, 1:30 am Adedotun Richard, > wrote: > >>

Re:

2020-05-04 Thread Adedotun Richard
For the form not saving can you show the error message received? Hope you did not forget to put csrf_token above ur form in the template? And your views.py for the register should be in quote return redirect ('login') On Sun, May 3, 2020, 3:04 PM fahad rasool wrote: > > I am unable to redire

Re:

2020-05-04 Thread Adedotun Richard
Can you show your views.py let me check where you get it wrong? You might be calling a wrong function to handle the output On Mon, May 4, 2020, 7:53 PM fahad rasool wrote: > In my django project ,when a user sign up, a form is redirected to fill > user information,further iam displaying this in

Re: A learner following a Mosh Tutorial on Django and having a problem saving a product to SQLite

2020-05-04 Thread Adedotun Richard
The only option now is to help you by connecting to your system remotely and see the error messages and try to help you remotely. If that will help On Mon, May 4, 2020, 8:52 PM Iain Stewart wrote: > that is still not working, thanks for all your help though, any other > ideas appreciated. Could

Re: A learner following a Mosh Tutorial on Django and having a problem saving a product to SQLite

2020-05-04 Thread Adedotun Richard
; code = models.CharField(max_length=10) > description = models.CharField(max_length=255) > discount = models.FloatField() > > > Thank you for any help! > > > Iain > > > On Sun, 3 May 2020 at 23:13, Adedotun Richard > wrote: > >> Can you paste your model.py c

Re: A learner following a Mosh Tutorial on Django and having a problem saving a product to SQLite

2020-05-03 Thread Adedotun Richard
Can you paste your model.py class for products? There is probability that you are getting the write-up wrong. On Sat, May 2, 2020, 3:43 PM Iain Stewart wrote: > Hi Folks, > > I am a learner and am enjoying learning Django so far (about a month in). > I am doing the Mosh Python Tutorial for Begn

Re: Saleor Full Stack

2020-02-03 Thread Richard Balwane
Yes Dasa, the old one, the one before mid last year. *Richard Dick Balwane* *Mobiles:+256 755 442248, * *+256 781 493558.* *Twiter: @RBalwane* *WhatsApp: **+256 755 442248* *Balwane Holding Inc.* On Mon, 3 Feb 2020 at 20:50, DASARATHY PONNAPPAN

Saleor Fullstack

2020-02-02 Thread Richard Balwane
, help me with the whole Saleor folder, otherwise am stuck. Thank you. *Richard Dick Balwane* *Mobiles:+256 755 442248, * *+256 781 493558.* *Twiter: @RBalwane* *WhatsApp: **+256 755 442248* *Balwane Holding Inc.* -- You received this message

Saleor Full Stack

2020-02-02 Thread Richard Balwane
, help me with the whole Saleor folder, otherwise am stuck. Thank you. *Richard Dick Balwane* *Mobiles:+256 755 442248, * *+256 781 493558.* *Twiter: @RBalwane* *WhatsApp: **+256 755 442248* *Balwane Holding Inc.* -- You received this message

How to get the name and extension of a filename using environ, not os

2019-11-13 Thread Richard Balwane
Hello, I am importing environ as opposed to os and want to split the filename to get its name and extension. Please help. *Richard Dick Balwane* *Mobiles:+256 755 442248, * *+256 781 493558.* *Twiter: @RBalwane* *WhatsApp: **+256 755 442248

Uploading at least 3 images per Post

2019-09-27 Thread Richard Balwane
return super().form_valid(form) def test_func(self): post = self.get_object() if self.request.user == post.author: return True return False class PostDeleteView(LoginRequiredMixin, UserPassesTestMixin, DeleteView): model = Post success_u

Join on Subquery with multiple columns

2019-06-27 Thread Richard
I have the following model (not actual, but enough for sample purposes): class TransactionLine(models.Model): txn_id = models.IntegerField() entity = models.CharField(max_length=10, null=True, default=None) order = models.PositiveIntegerField() what I'm trying to do is "find the first l

how to update choices of field in change_view

2019-04-18 Thread richard . wu . 03
hi There, I have a field named A which has default choices, but when some filed named B was changed, i need to update the choices of filed A. I have tried overried function get_form, formfield_for_choice_filed, none of them could update choice of A based on value of filed B. Any help would be ap

Attribute Error: 'None Type' object has no attribute 'split'

2018-12-17 Thread Richard Balwane
ct='asian') # fitler by user class RestaurantCreateView(LoginRequiredMixin, CreateView): form_class = RestaurantLocationCreateForm login_url = '/login/' template_name = 'restaurants/form.html' #success_url = '/restaurants/' Removed so we can do get_

Upload Image Field? ASAP PLS

2018-11-17 Thread Richard Vo
Need to upload an image, manipulate the image through Python Pillow, then display it. Whatever additional information I need to provide, please let me know. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and s

System check Framework error checking Admin Fieldsets in 2.1

2018-09-04 Thread Richard E. Cooke
This Field set definition: fieldsets = ( ('Job Work Sheet', { 'fields': ( ('number', 'job_history', 'hw_customer',), ('status', 'contracted_out',), ('adn_parts_required', 'atn_required', 'atn_tech', 'cancel_job',

System check Framework error checking Admin Fieldsets in 2.1

2018-08-31 Thread Richard E. Cooke
This Field set definition: fieldsets = ( ('Job Work Sheet', { 'fields': ( ('number', 'job_history', 'hw_customer',), ('status', 'contracted_out',), ('adn_parts_required', 'atn_required', 'atn_tech', 'cancel_job',)

Problems with AbstractUser

2018-08-20 Thread Richard Pacheco
Hello Goodnight. I need to create a custom user model to be used in my django application, this in order to be able to place the fields that I need and in addition to be able to use the basic authentication methods that django already incorporates. The problem is that I do not clearly understa

Re: DEBUG=False but still "Starting development server" ?!

2018-08-15 Thread Richard Belew
following https://docs.djangoproject.com/en/2.1/ref/settings/#debug i believe changing `settings.DEBUG` to `False` should make it a production server? On Wednesday, August 15, 2018 at 11:39:54 AM UTC-7, ireoluwa fakeye wrote: > > I'm confused on what the problem is .as long as it's a development

Re: DEBUG=False but still "Starting development server" ?!

2018-08-15 Thread Richard Belew
yup, restarted apache. still development(: On Wednesday, August 15, 2018 at 11:26:03 AM UTC-7, ireoluwa fakeye wrote: > > You have to restart the application or restart the server as the case > may be > > > -- You received this message because you are subscribed to the Google Groups "Django

DEBUG=False but still "Starting development server" ?!

2018-08-15 Thread Richard Belew
i've set DEBUG=False, and also echo its value at the end of my settings.py file to confirm it's been set correctly. Still I get: Django version 2.1, using settings 'showCrime.settings' > Starting development server at ... > why would that be?! -- You received this message because you are subs

Re: Sponsor subdomain pointing to part of our Django site?

2018-06-05 Thread Richard Brockie
quirement as subdomain.sponsor.url essentially duplicates the /year/slug/ part of the path. There are other parts of our site that we could in future want to associate with other sponsors in a similar manner, so the /year/slug/ must go! Thanks for helping me think this through, -- R. Richard B

Re: Sponsor subdomain pointing to part of our Django site?

2018-06-04 Thread Richard Brockie
visit > https://groups.google.com/d/msgid/django-users/1789736.NRtqCP1Ze9%40fritzbook > <https://groups.google.com/d/msgid/django-users/1789736.NRtqCP1Ze9%40fritzbook?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > --

Re: Sponsor subdomain pointing to part of our Django site?

2018-06-04 Thread Richard Brockie
quot; based on the http_host in the request. I'm wondering if this is a solved problem? Thanks, R. On Mon, Jun 4, 2018 at 6:02 AM Melvyn Sopacua wrote: > On zondag 3 juni 2018 22:45:31 CEST Richard Brockie wrote: > > > Any advice on how I can accomplish this? Any particular thin

Sponsor subdomain pointing to part of our Django site?

2018-06-03 Thread Richard Brockie
required. Any advice on how I can accomplish this? Any particular things I would need to do in the Django project to make this possible? Many thanks! Richard -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this grou

Re: Django server and client communications

2018-03-05 Thread Richard Maceček
DRF, It can autogenerate the schema which can be useful. > > It seems they also have a client to consume that, worth taking a look > > On 4 Mar 2018 21:58, "Richard Maceček" > > wrote: > >> Hello, I need help with client and server communications. Web Application

Django server and client communications

2018-03-04 Thread Richard Maceček
Hello, I need help with client and server communications. Web Application - Djang Server Side. The client is written in python, it's actually a KODI add-on. They need to deal with: 1. client authorization, 2. communications, 3. data transfer. I need to send the data I receive from the client

Re: Django 1.5 tutorial error: 'module' has no attribute 'StackedInLine'

2018-01-22 Thread Richard Roberts
Awesome Spot Karen. On Wednesday, 27 March 2013 15:48:18 UTC, Karen Tracey wrote: > > On Wed, Mar 27, 2013 at 11:32 AM, +Emmanuel > wrote: > >> Hello there, >> >> I am working through the django tutorial at djangoproject.com. So far >> everything works out fine until Section 2.4.6 (customizing

Re: Send email - user data for complete registration

2017-12-01 Thread Richard Maceček
> forgotten, then just send them a Reset link. > > A system admin should never have access to the passwords of any of the > system's users... in fact, that's the (US) law (Sarbanes-Oxley) in many > types of applications, e.g. financial transaction site of any publicly &

why is `WebsocketMultiplexer.group_send` a class method?

2017-11-30 Thread Richard Tier
why is `WebsocketMultiplexer.group_send` a class method? Currently it's the following: @classmethod def group_send(cls, name, stream, payload, close=False): message = cls.encode(stream, payload) if close: message["close"] = True Group(name).send(mes

Send email - user data for complete registration

2017-11-30 Thread Richard Maceček
Hello, after successful registration of the user, how to send personal information (password) to the user in emails? I personally use send_mass_mail. But I have a problem that the password is not in text, but it's in the "encrypted" form. I do not know how to send user's data but now they need

Installing Django

2017-06-05 Thread Richard Mungai
Hi.. I'm trying to install django using the pip command i.e (pip install django) but i keep getting the same error message i.e "Requirement already satisfied: django in c:\program files\python 35-32\lib\site-packages\django-1.10.6-py3.5.egg" How can I solve this?? -- You received this message

Re: Combining querysets while maintaining desired ordering?

2017-06-03 Thread Richard Brockie
y sometime soon). Thanks again, R. On Sat, Jun 3, 2017 at 6:31 PM, Simon Charette wrote: > Hello Richard, > > Since Django 1.11 you should be able to use the QuerySet.union() method[0] > for that. > > queryset = self.many_field1.order_by('some', 'fields

Combining querysets while maintaining desired ordering?

2017-06-03 Thread Richard Brockie
Hi, I am combining querysets of the same model in the following manner: class ExampleModel(models.Model): many_field1 = models.ManyToManyField('Model', related_name='name1') many_field2 = models.ManyToManyField('Model', related_name='name2') def combined_many_fields(self): qs

Re: Bootstrap Tabs not working with Forloop rendered content

2017-04-15 Thread Richard Jackson
I've actually found a workaround, but if anyone has any thoughts on this I'd be interested to hear them! Rich On 15 April 2017 at 21:14, Richard Jackson wrote: > Hi everyone, > > Having a Bootstrap/jQuery with Django issue so hope that someone might be > able to help. &g

Bootstrap Tabs not working with Forloop rendered content

2017-04-15 Thread Richard Jackson
Hi everyone, Having a Bootstrap/jQuery with Django issue so hope that someone might be able to help. I'm rendering a part of my page to make a Bootstrap 'tab' (docs: link here ) - however the content under the first heading isn't loa

django booking

2017-04-13 Thread RICHARD GARUBA
How, Please someone should help me with it, do I put something like a booking or reservation system like this: tuteria.com. it uses Django? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

Returning unique values from a foreign key in a ListView

2017-03-31 Thread Richard Jackson
Hi everyone, *Goal* - I have a ListView built around ModelA. - ModelA has a foreign key to ModelB. - I want to return a list with all unique entries of a required field (i.e. 'foo') from ModelB. *Context* I have a table of clients (ModelA) and a table of jobs I do (ModelB), connected via fore

Re: Benefit of 'return Foo.objects.all()' in a ListView

2017-02-27 Thread Richard Jackson
Brilliant, thanks both, I've got it working in both ways! Much appreciated, Rich On Saturday, February 25, 2017 at 2:14:10 PM UTC, Melvyn Sopacua wrote: > > Hi Richard, > > > > Don't be discouraged to ask questions. It's what the list is for. > > >

Re: template {% url } tag syntax

2017-02-26 Thread Richard Belew
i should also probably say that the url spec is in the djggApp's specific urls.py file, included in the project's urls.py my primary reference is the url tag reference doc but i must not be composing its arguments correctly?

template {% url } tag syntax

2017-02-26 Thread Richard Belew
i have a hardwired URL in my template: /djggApp/guest/{{ guest.guestId }}/update/ that successfully matches against this url pattern: url(r'^guest/(\d+)/update$', login_required(views.GuestUpdate.as_view()), name='updateGuest'), now i am trying to replace the template code with a more modern

Re: "TemplateDoesNotExist at /"

2017-02-25 Thread Richard Belew
uot;DIRS"]) > print(BASE_DIR) > > 2017-02-25 23:05 GMT+01:00 Richard Belew >: > > > another possibly relevant bit: the Template-loader postmortem shows: > > > >> Django tried loading these templates, in this order: > >> > >> Usi

Re: "TemplateDoesNotExist at /"

2017-02-25 Thread Richard Belew
another possibly relevant bit: the Template-loader postmortem shows: Django tried loading these templates, in this order: > > Using engine django: > >- django.template.loaders.filesystem.Loader: > > /Data/virtualenv/django/djggProj/('/Data/virtualenv/django/djggProj/templates',)/index.ht

"TemplateDoesNotExist at /"

2017-02-25 Thread Richard Belew
"TemplateDoesNotExist at /" (full trace log at http://dpaste.com/3XZ8H3C) this must be near the top of django newby issues, but i'm stumped on the simplest example i can generate: i've used the `settings.TEMPLATES.DIRS` variable to specify a shared templates directory (also to simplify things),

Re: Benefit of 'return Foo.objects.all()' in a ListView

2017-02-25 Thread Richard Jackson
urday, February 25, 2017 at 9:32:32 AM UTC, Melvyn Sopacua wrote: > > Hi Richard, > > On Friday 24 February 2017 15:51:15 Richard Jackson wrote: > > > What is the advantage of including the get_queryset(self) function in > > a ListView? When I've run it with a very b

Re: Benefit of 'return Foo.objects.all()' in a ListView

2017-02-25 Thread Richard Jackson
Grand, thank you for clarifying! On Saturday, February 25, 2017 at 9:32:32 AM UTC, Melvyn Sopacua wrote: > > Hi Richard, > > On Friday 24 February 2017 15:51:15 Richard Jackson wrote: > > > What is the advantage of including the get_queryset(self) function in > > a

Benefit of 'return Foo.objects.all()' in a ListView

2017-02-24 Thread Richard Jackson
Hi there, I'm starting to learn about Django views and wanted to ground my understanding. What is the advantage of including the get_queryset(self) function in a ListView? When I've run it with a very basic model ('Foo') there doesn't appear to be any difference with/without it - this could we

Re: Models/Foreign Keys best practice

2017-02-24 Thread Richard Jackson
s.DateTimeField('End Date', default=timezone.now) Thanks again! Rich On Wednesday, February 22, 2017 at 6:38:26 PM UTC, Richard Jackson wrote: > > Hi Melvyn - great reply, thank you so much for taking the time to help! > I've got to head out now but will reply tomorrow -

Re: Models/Foreign Keys best practice

2017-02-22 Thread Richard Jackson
Hi Melvyn - great reply, thank you so much for taking the time to help! I've got to head out now but will reply tomorrow - just wanted to leave an initial thank you note! Rich On Wednesday, February 22, 2017 at 5:01:36 PM UTC, Melvyn Sopacua wrote: > > Hi Richard, > > &

Models/Foreign Keys best practice

2017-02-22 Thread Richard Jackson
Hi all, I'm putting together my first app, closely modelled on the Django tutorial, and wanted some advice regarding when to split the various models into different foreign keys. The app lists performances, who's performing, what my role is with them (i.e. conductor, pianist etc.), the venue a

Re: Django Debug Toolbar installation

2017-01-29 Thread Richard Jackson
t; pip install django-debug-toolbar > > On 1/28/17, Richard Jackson > wrote: > > Hi everyone, > > > > I've recently installed the Django Debug Toolbar for local use; I've > just > > pushed the code online and am greeted with the bel

Django Debug Toolbar installation

2017-01-28 Thread Richard Jackson
Hi everyone, I've recently installed the Django Debug Toolbar for local use; I've just pushed the code online and am greeted with the below error: [81.95.157.172] out: Traceback (most recent call last): [81.95.157.172] out: File "", line 1, in [81.95.157.172] out: File "/home/rjackson87/.v

Re: Comparing two lists

2017-01-26 Thread Richard Hall
Melvyn, thanks for looking at this. Despite my inept attempt at explanation you've understood what I am trying to do - I need to revisit my relationships and fully explore my options at the model level. Thanks again, Richard P.S. I'll try to use clearer analogies in the future -

Re: Comparing two lists

2017-01-26 Thread Richard Hall
t all addresses associated with a building, it is just getting only the ones for a particular patient that I'm stuck with. Thanks, Richard -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop r

Re: Comparing two lists

2017-01-26 Thread Richard Hall
ut if that building has an address. On Thursday, 26 January 2017 19:21:18 UTC+11, ludovic coues wrote: > > You are assuming you can have address without building. > {% if x.building %} > > 2017-01-26 0:27 GMT+01:00 Richard Hall >: > > > Hello, I've only just

Comparing two lists

2017-01-25 Thread Richard Hall
}} {% if %} link to edit form {% elif %} link to create form {% endif %} {% endfor %} I'm not sure if I've explained myself clearly; if not I apologize. I&#

Migration issue on Webfaction

2017-01-04 Thread Richard Jackson
Hi there - I'm incredibly inexperienced and using a Mezzanine-powered site, but this should still be an issue with my lack of Django understanding: My site is currently down ("Internal Server Error") due to mishandled migrations. When I try to deploy the code

Deployment/NameError Problem

2017-01-04 Thread Richard Jackson
Hi there I've been having some issues with my Mezzanine-powered site and have solved all issues locally (including a fresh migration covering all additional models). However, when I try to deploy the site to the server (WebFaction) I'm given a NameError: [81.95.157.172] out: File "vital_them

Re: Filtering a many2many relationship while aggregating?

2016-12-30 Thread Richard Brockie
at 4:49:51 PM UTC-8, Richard Brockie wrote: > > Hi, > > I have the following many2many relationship between 2 models: > > class RaceDay(models.Model): > date = models.DateField() > published = models.BooleanField(default=False) > > class Series(models.Model): &

Filtering a many2many relationship while aggregating?

2016-12-30 Thread Richard Brockie
) \ .filter(year=this_year, published=True) \ .order_by('latest_raceday') The filter here applies to the fields in the Series model. How would I limit the aggregation to members of the many2many relation that have RaceDay.published=True? Thanks, Richard Brockie -- You receive

Re :Re: download file when debug=false

2016-10-01 Thread 'lateu richard' via Django users
Thk i will print it on monday  please  Envoyé depuis Yahoo Mail pour Android Le sam. j oct. PM à 8:05 PM, Constantine Covtushenko a écrit : Hi Richard, Ah, I missed your point last time. Sorry for that. Can you please print here code sniped with with your app returns excel file?It helps

Re :Re: download file when debug=false

2016-10-01 Thread 'lateu richard' via Django users
I juste want to know if there particular config to do when debug=false before make possible to download file from app. I van do it when debug=true Envoyé depuis Yahoo Mail pour Android Le ven. j sept. PM à 7:30 PM, Constantine Covtushenko a écrit : Hi Richard, There are a lot of options

download file when debug=false

2016-09-30 Thread Richard Auscard
hello, i have developp a django application where excel file are generate after some operation. when debug=true thes excel files can be download but when false it is not possible. my question is how to solve this issus. all think are ok when debug=true -- You received this message because you

Re: django.template.library.InvalidTemplateLibrary: Invalid template library specified. ImportError raised when trying to load 'treebeard.templatetags.admin_tree_list': cannot import name 'patterns'

2016-08-30 Thread Richard C
On second thoughts I just tried django 1.9.9 and it worked like a charm. Good luck with the 1.10 porting everyone! On Tuesday, 30 August 2016 21:22:19 UTC+1, Richard C wrote: > > Hi, > > I'm pretty new to this and (probably naively) trying to get django-shop > working with d

django.template.library.InvalidTemplateLibrary: Invalid template library specified. ImportError raised when trying to load 'treebeard.templatetags.admin_tree_list': cannot import name 'patterns'

2016-08-30 Thread Richard C
Hi, I'm pretty new to this and (probably naively) trying to get django-shop working with django 1.10. I have run into a few libraries that needed patterns() removing which I've done and raised issues with the appropriate owners, but now have run into this: django.template.library.InvalidTempla

Re: selectively remove forms from formset in view function

2016-05-22 Thread Richard Brockie
h the larger than I would like file size. On Thursday, May 19, 2016 at 8:18:17 AM UTC-7, Richard Brockie wrote: > > Hi, > > I'm working with pagination of a large formset in my view function. For > forms outside the range to be viewed, I'm currently doing this: &

selectively remove forms from formset in view function

2016-05-19 Thread Richard Brockie
test < range_min: hidden_before.append("%s:%s" % (place_to_test, race_number)) elif place_to_test > range_max: hidden_after.append("%s:%s" % (place_to_test, race_number)) I can't find how to remove the non-visible form from the formset

How to reference previous instance when looping in a template?

2016-03-31 Thread Richard Brockie
Hi, I'm doing a lot of this type of looping in my templates (from the docs: https://docs.djangoproject.com/en/1.9/ref/templates/builtins/#for): {% for athlete in athlete_list %} {{ athlete.name }} {% endfor %} In this context, I find myself occasionally wanting to refer to data of the pr

  1   2   3   4   5   >