Re: Project together

2023-11-26 Thread Jay Senkow
interested.Sent from my iPhoneOn Nov 26, 2023, at 2:46 PM, ekong, emmanuel wrote:I am interestedPhone ( WhatsApp): +234-8071-505-514On Thu, 23 Nov 2023 at 7:13 PM, Youssef Bachraoui wrote:Hi developer i search to make a group on WhatsApp to begin a project together a

Re: tech newbie

2022-09-26 Thread Jay Jay
Hello bro, I hope you’re doing well? I’m a Jerry, a newbie in software development, I have basic knowledge in HTML, CSS, JavaScript and python and I really need a mentor who can help me through, so I can be very skill at it. I’ll love if you can be my mentor, I would really appreciate it. Thank you

Sending emails to users

2022-05-17 Thread Dexterr Jay
Hello guys, hope you are doing well I'm building an online multivendor marketplaces and i want customers to be able to send email from a form to a vendor in a product details page, can anyone please help me with this? A link to a tutorial will be very helpful. Thanks in advance. -- You received t

Help please,

2022-05-06 Thread Dexterr Jay
How do I make my domain be like https://my domain.herokuapp.com/mainapp/ when I open my Django app hosted on heroku -- 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

Help please, please help

2022-05-04 Thread Dexterr Jay
my main project urls.py file has urlpatterns = [ path('mainapp/', include('mainapp.urls', namespace='mainap)), ] and my app urls.py has the following path path('', views.item_list, name='item_list'), my allowed hosts in settings is ALLOWED_HOSTS = ['.herokuapp.com'] i have already deployed the a

Re: runserver not working

2022-03-26 Thread Kevin Jay
Did you activate your virtual environment? Sent from my iPhone > On Mar 22, 2022, at 10:32 PM, 'Delvin Alexander' via Django users > wrote: > > i did that but the problem still remains :( > >> On Tuesday, March 22, 2022 at 2:09:33 AM UTC-7 sebasti...@gmail.com wrote: >> Hey, >> >> I think y

Re: Help : Embedding pdf in Django detailview

2022-03-18 Thread Dexterr Jay
Thanks, I'll check it out On Thu, Mar 17, 2022, 10:05 RANGA BHARATH JINKA wrote: > Hi, > > Please try this. > > > https://stackoverflow.com/questions/11779246/how-to-show-a-pdf-file-in-a-django-view > > On Thu, Mar 17, 2022 at 12:12 PM Dexterr Jay wrote: > >

Help : Embedding pdf in Django detailview

2022-03-16 Thread Dexterr Jay
Hello guys, I'm developing a job board, and I want to display uploaded files in job detailview without downloading the file. When job seakers open a posted job I want the uploaded file from employer to be rendered in web browser -- You received this message because you are subscribed to the Googl

Product comparison in Django e-commerce website

2022-01-20 Thread Dexterr Jay
Hello guys, can someone please help me to implement product comparison in Django e-commerce website, perhaps some guideline or link to a tutorial will be very helpful. Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from th

Image Outside Intro

2021-04-15 Thread Jay Grace
We're trying to place and image outside of the intro on the bottom left of the screen over the parallax image. We could make a flowing image that stays on the bottom left but we would prefer a one time image on the first page/image only. Any assistance would be greatly appreciated. -- You re

models design for student result system

2020-12-04 Thread Dexterr Jay
[image: image.png] i need help with design of the above models for my student result system project -- 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+

Re: Exception Type: TemplateSyntaxError at /login/ Exception Value: Invalid block tag on line 23: 'csrf_tocken', expected 'endblock'. Did you forget to register or load this tag?

2020-11-30 Thread jay goldymae lamsen
{% endblock %} On Friday, November 27, 2020 at 8:16:43 PM UTC+9 zica...@gmail.com wrote: > It is misspelled, the right is *csrf_token* > > Em quinta-feira, 26 de novembro de 2020 às 14:57:37 UTC-3, > dils...@gmail.com escreveu: > >> hi friends, >> >> please help me to resolve this issue.. >> >>

Help me with the view please

2020-09-08 Thread Dexterr Jay
My Models class Student(models.Model): name = models.CharField(max_length=200, null=True, blank=True) classroom = models.ForeignKey(‘Classroom’, on_delete=models.DO_NOTHING,blank=True, null=True) class Classroom(models.Model): name = models.CharField(max_length=40,blank=True, null=True) class Fe

Re: Static not working on unix while working on windows

2020-07-07 Thread Kevin Jay
You also need to close your quote. On Tue, Jul 7, 2020 at 11:54 AM Kevin Jay wrote: > I’ve had the same issue in the past. I fixed it by removing > *rel="stylesheet * > > > On Mon, Jul 6, 2020 at 1:20 PM ashish goyal > wrote: > >> Hi All, >> >> I h

Re: Static not working on unix while working on windows

2020-07-07 Thread Kevin Jay
I’ve had the same issue in the past. I fixed it by removing *rel="stylesheet * On Mon, Jul 6, 2020 at 1:20 PM ashish goyal wrote: > Hi All, > > I have created a django app on windows and have used bootstrap navbar n > other functions which are working good on windows. > > Same files I have impo

Need help in Django calculated field/queryset

2020-04-30 Thread Jay Prajapati
Hello everyone, Still stucked on this pointHas anyone tried it? -- 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. T

Need help in Django calculated field/queryset

2020-04-18 Thread Jay Prajapati
Hello Everyone, I need a help from you. I'm learning Django and working on my own project but got stuck on a point. Your inputs will be highly appreciated. Little background: I'm creating a web app like investment portfolio. I have created a model based form to input the stock transaction i.e.

Need help in Django calculated field/queryset

2020-04-18 Thread Jay Prajapati
Hello All, Hope you are doing well! I need a help. I'm learning Django and working on my own project but got stuck on a point. Your inputs will be highly appreciated. Little background: I'm creating a web app like investment portfolio. I have created a model based form to input the stock trans

Re: Populate script not working

2020-04-02 Thread jay sharma
Sir hi I am aman , look at following error message: django.contrib.auth.models.DoesNotExist: User matching query does not exist. So on this my suggestion is What you importing from django.contrib.auth.models first check that needed query is present at above or not... On Wed, Apr 1, 2020, 11:54

Best way to organize custom admin views?

2019-11-22 Thread Jay
What's the best way (or the standard way, or your preferred way) to organize custom admin views? Assuming we want to leave the built-in Django Admin in place and create entirely new admin views, would the optimal organization be: *A new app?* blogapp/ views.py viewsets.py models.py shoppi

Re: Fedora 30 server (Configuring Postgresql with Django)

2019-10-29 Thread Kevin Jay
I meant to type ‘harish.b’ On Tue, Oct 29, 2019 at 11:37 PM Kevin Jay wrote: > Does the user ‘garish.b’ have a system password? > > On Tue, Oct 29, 2019 at 10:38 PM hari49pf wrote: > >> Hi sir, >> I didn't understood, can u elaborate, I am new to django, Plz,

Re: Fedora 30 server (Configuring Postgresql with Django)

2019-10-29 Thread Kevin Jay
Does the user ‘garish.b’ have a system password? On Tue, Oct 29, 2019 at 10:38 PM hari49pf wrote: > Hi sir, > I didn't understood, can u elaborate, I am new to django, Plz, help me out. > > regards. > Harish.Bheemanpaly > > On Wednesday, October 30, 2019 at 1:21:50 AM UTC+5:30, sacrac wrote: >>

Re: Python +django

2019-09-13 Thread Kevin Jay
I also prefer text over video. However, Corey Schafer has an excellent video series that is really well done. He doesn’t waste time babbling or stumbling over words. He also provides a link to his github repo so you can let ok over the code. On Tue, Sep 10, 2019 at 8:19 PM 'Nicholas Hatch' via Dj

Re: ForeignKey value while querying the model object

2019-09-05 Thread Jay Vasant
Please reply with your models schema. On Thu, Sep 5, 2019 at 7:56 AM dev wrote: > Hi All, > > How to get the ForeignKey value while querying the model object. > > > > I was trying to query a model object "mla" to fetch a specific sets of > columns and its working fine but the field ForeignKey i

Re: How can i share one Database Sqlite between 2 app on pythonanywhere

2019-09-04 Thread Jay Vasant
It isn't possible to share a local db between two apps. Here are the alternatives you can use: - Create api's for all the operations you want to perform. - Use an hosted db service(e.g. Postgres on heroku). On Wed, Sep 4, 2019 at 10:39 AM Balaji Shetty wrote: > Hi Everyone > > Can anybo

Re: Write urls without regex in DRF

2019-05-22 Thread Kevin Jay
kevin@kjay,net On Wed, May 22, 2019 at 10:19 AM Rounak Jain wrote: > > I am using DRF Viewsets to auto-generate URLs for different views. Is it > possible to write the code below without using regex? > Thanks > > from .views import TaskViewSet > from rest_framework.routers import DefaultRouter >

Re: Django wsgi apache Deploy project

2019-05-07 Thread Kevin Jay
Remove the spaces in the paths: WSGIPythonPath / var / www / html / ecommerce / should be WSGIPythonPath /var/www/html/ecommerce/ Do the same for the other paths On Tue, May 7, 2019 at 8:57 AM N'BE SORO wrote: > > Hi I'm a beginner in python and I realized a project in Django. I have > problem

Re: ORM help with INNER JOIN and GROUP BY

2019-05-06 Thread Kevin Jay
You are correct. Django creates a primary key of 'id' for each table as an integer by default. So foreignkey will reference that primary key which by default is an integer. If the primary key is changed to some other type, Django can still handle it. Apparently using integers is the more efficient

Re: ORM help with INNER JOIN and GROUP BY

2019-05-06 Thread Kevin Jay
Maybe that was a typo? The foreignkey relationship would look like this: object = models.ForeignKey(FacePng'', max_length=128, blank=False, null=False, unique=True) On Mon, May 6, 2019 at 12:44 PM wrote: > Just want to make sure I understand. ForeighKeys need to be integers? > > Only integers?

Re: ORM help with INNER JOIN and GROUP BY

2019-05-06 Thread Kevin Jay
The field within your class should be set to ForeignKey. Try this: Object = models.ForeignKey(‘FacePng’, on_delete=SET_NULL, max_length= some_int) on_delete and max_length need to be set based on your requirements Sent from my iPhone > On May 6, 2019, at 11:28 AM, b...@tanners.org wrote: > >

Re: BaseModelFormSet > _construct_form

2019-04-02 Thread Kevin Jay
ke...@kjay.net On Tue, Apr 2, 2019 at 4:12 PM nikolaysm wrote: > Hello, > > In function _construct_form variable "pk_key" is generated as: > pk_key = "%s-%s" % (self.add_prefix (i), self.model._meta.pk.name) " > > So pk_key is not flexible. Because if I overwrite function "add_prefix" > from cl

Re: Using signals to populate another model based on new registered user

2019-03-10 Thread Kevin Jay
Disregard...Wrong thread. On Sun, Mar 10, 2019 at 2:47 PM Kevin Jay wrote: > > Here is the relevant template from the link provided > >> >>1. >>2. >>3. >>4. >>5. Employee Records >>6. {% load static

Re: Using signals to populate another model based on new registered user

2019-03-10 Thread Kevin Jay
Here is the relevant template from the link provided > >1. >2. >3. >4. >5. Employee Records >6. {% load staticfiles %} >7. >8. >9. >10. >11. >12. >13. Employee ID >14. Employee Name >15.

Re: Printing model fields organized by category

2018-08-27 Thread Jay
t.all > > > > model_set is the manager. You need to treat it like any other manager. > > > > *From:* django...@googlegroups.com [mailto: > django...@googlegroups.com ] *On Behalf Of *Jay > *Sent:* Monday, August 27, 2018 11:05 AM > *To:* Django users > *Sub

Re: Printing model fields organized by category

2018-08-27 Thread Jay
ike any other manager. > > > > *From:* django...@googlegroups.com [mailto: > django...@googlegroups.com ] *On Behalf Of *Jay > *Sent:* Monday, August 27, 2018 11:05 AM > *To:* Django users > *Subject:* Re: Printing model fields organized by category > > > &

Re: Printing model fields organized by category

2018-08-27 Thread Jay
filter(status__exact='o').order_by('due_back') On Monday, August 27, 2018 at 11:00:57 AM UTC-4, Matthew Pava wrote: > > We need to see your view code. I’m assuming now that you don’t have > category_list in your context variable that you submitted to the template. > >

Re: Printing model fields organized by category

2018-08-27 Thread Jay
ent in the database". Am I missing something? I will try to experiment a little more. On Monday, August 27, 2018 at 9:52:56 AM UTC-4, Matthew Pava wrote: > > Hi Jay, > > Firstly, I would avoid calling a model “Model.” Maybe “Product” would be > better? It’s only because of Djan

Pulling data from database

2017-11-02 Thread jay seattle
n), but if the table is already created, I can't find detail what to do. If I have a table called "customer" and want to pull the data into my template, what should I read up on to accomplish this? Thanks Jay -- You received this message because you are subscribed to the Goo

How to use django.contrib.postgres.forms widgets in the admin site

2016-08-16 Thread Jay Sheldon
that come with HStoreField is not appearing (reference: https://docs.djangoproject.com/en/1.8/ref/contrib/postgres/forms/ ) I cant see to figure out how to get the admin side to use the widget for HStoreField. Any ideas? Thank you very much, Jay -- You received this message because you are

Amazon.com API

2015-10-26 Thread jay . verstreater
First, I want to know if its possible to search for a product on Amazon.com and before returning the product cost, do a calculation and then spit out the result on my website. Can anyone explain in detail for an absolute beginner how this works? Thanks in advance! -- You received this message

Re: python / django demand

2015-04-22 Thread Jay
thank you, good info. On Wednesday, 22 April 2015 05:10:48 UTC-6, mlvora.2010 wrote: > > Hey Jay, > > I am Malhar Vora from India. I may not be a proper person to answer to > your question as I don't have much experience but since 5-6 years I am > observing that P

python / django demand

2015-04-21 Thread Jay
Just curious if any long time python / django developers have seen an increase in the demand/growth/popularity of these skills? I run a dev team of python/django/aws developers building an ecommerce website and was curious about what people think the future brings for this stack. Continued imp

Suggestion

2015-03-18 Thread Jay Prasad
Hi All, I'm started Pyhthon and django ,give me some suggestions and which sites was good .help me.thank you all -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

Re: Somethings the connection to the Postgress get lost. Why?

2014-07-12 Thread Jay Crossler
Who woulda thunk it, but switching the DATABASE_HOST to a "" blank string (then restarting nginx and postgresql) fixed the intermittent connection dropping for me! On Thursday, March 13, 2008 10:11:00 AM UTC-4, Rajesh Dhawan wrote: > > Hi, > > On Mar 12, 12:31 pm, mamcxyz wrote: > > I'm getti

Re: Analysis of csv data

2014-04-10 Thread Jay Parikh
, Jay On Thu, Apr 10, 2014 at 4:13 PM, Saransh Mehta wrote: > I need to analyze the incoming data from the csv file and present it to > the user in the best possible way? > What tools do i need to use for analyzing the csv and drawing graphs etc > out of the csv? > > -- > You

Re: if statement in django

2014-04-05 Thread Jay Lozier
l(self): amount = 0 if self.sale_head <= 0: amount = self.number * self.estimated_weight_hd return amount Both versions will return a value not matter whether the test condition evaluates to True or False. The second version assumes the default value is 0 -- Jay Lozier jsloz...@

Re: Newbie: ImportError during syncdb

2014-03-06 Thread Jay Parikh
ntrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'bookmarks', ) I am assuming over here as you have kept your app name as *'bookmarks'*. -Jay On T

Re: Newbie: ImportError during syncdb

2014-03-06 Thread Jay Parikh
Let say for example i am going to create new app say bookmarks then i will do something like *"python manage.py startapp bookmarks" *likewise whatever name you have passed in place of *bookmarks.* Just place it inside INSTALLED_APPS. On Thu, Mar 6, 2014 at 1:06 PM, Robin Lery wrote: > What the

Re: python manage.py runserver error

2013-07-23 Thread Jay Lozier
virtualenv works, this for the link. On Sunday, July 21, 2013 10:09:59 PM UTC-4, Jay Lozier wrote: > > I get the following error when run python manage.py runserver: > > OS openSUSE 12.3 > django 1.7 > > > boopers@linux-nss6:~/myfirstsite> python manage.py runserver &g

Re: django-admin.py startproject mysite error

2013-07-23 Thread Jay Lozier
virtualenv seems to work well and I can get django tamed. On Saturday, July 20, 2013 5:55:21 PM UTC-4, Jay Lozier wrote: > > Using openSUSE 12.3 > python 2.7.3 > django 1.5.1 installed manually and verified > > When I enter "django-admin.py startproject mysite" at the

python manage.py runserver error

2013-07-22 Thread Jay Lozier
I get the following error when run python manage.py runserver: OS openSUSE 12.3 django 1.7 boopers@linux-nss6:~/myfirstsite> python manage.py runserver Traceback (most recent call last): File "manage.py", line 10, in execute_from_command_line(sys.argv) File "/home/boopers/django-trunk/django/co

Re: django-admin.py startproject mysite error

2013-07-21 Thread Jay Lozier
-pad-1.0 /usr/lib/python2.7/site-packages /usr/lib64/python2.7/site-packages/wx-2.9.4-gtk2 On Saturday, July 20, 2013 5:55:21 PM UTC-4, Jay Lozier wrote: > > Using openSUSE 12.3 > python 2.7.3 > django 1.5.1 installed manually and verified > > When I enter "django-admin.py star

django-admin.py startproject mysite error

2013-07-20 Thread Jay Lozier
Using openSUSE 12.3 python 2.7.3 django 1.5.1 installed manually and verified When I enter "django-admin.py startproject mysite" at the command prompt I get the following traceback: Traceback (most recent call last): File "/usr/bin/django-admin.py", line 5, in management.execute_from_command_li

Misfiring signal handler

2011-12-30 Thread Jay Wineinger
Hey guys, I have an odd problem where a post_save signal handler is getting called from a class different than what I specified as the sender. The code is at http://dpaste.com/hold/679348/ and also below for when the pastebin is deleted. I'm connecting the rating_denormalizer() function to the po

Re: Constraints on a one-to-many relationship and related problems

2011-12-28 Thread Jay De Lanoy
I'd go for a separate table instead, with something like class BillingInfo(models.Model): customer = models.OneToOneField(Customer) billing_address = models.OneToOneField(Address) and then just have logic in the views and templates to account for existence/nonexistence of a gi

render only 1 radioselect field

2011-11-10 Thread jay K.
Hello, does anyone know how to render only 1 radioselect in a django template? for now I have {{ form.options }} but it renders the whole list. I'd like to have more control on which ones I want to render thanks in advance -- You received this message because you are subscribed to the Google

Re: render_to_response pointing to multiple templates

2011-11-08 Thread jay K.
template, such as name and url inside a view? I'd like to use it to differentiate between templates and use logic to pick the template I want to render again, Tom, thanks for your assistance On Mon, Nov 7, 2011 at 2:04 PM, Tom Evans wrote: > On Mon, Nov 7, 2011 at 3:59 PM, jay K. > wr

template information in django view

2011-11-08 Thread jay K.
Hello, Is there any way I could retrieve information about a template, such as template name, url, etc inside a view? is there built-in object that represents the template object? thanks regards -- You received this message because you are subscribed to the Google Groups "Django users" group

Re: render_to_response pointing to multiple templates

2011-11-07 Thread jay K.
Evans wrote: > On Mon, Nov 7, 2011 at 3:09 PM, jay K. > wrote: > > > > Hello > > > > I have a view with the following render_to_template function > > > > ... > > > > return render_to_response( 'template/template.html', {var'&#x

render_to_response pointing to multiple templates

2011-11-07 Thread jay K.
Hello I have a view with the following render_to_template function ... return render_to_response( 'template/template.html', {var'': var}, context_instance=RequestContext(request)) ... I want the render_to_response to point to more than 1 template. So far I've tried adding a dictionary of templ

one view for multiple templates

2011-11-07 Thread jay K.
t template)? thanks jay k -- 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...@googlegroups.com. For more

Re: Catching the autogenerated admin post

2011-09-29 Thread Jay Martin
Awesome, I think that's it. Much thanks. jay On Sep 29, 2011, at 6:31 PM, Andres Reyes wrote: > You could try doing your processing in the save_model method of ModelAdmin > > https://docs.djangoproject.com/en/1.3/ref/contrib/admin/#django.contrib.admin.ModelAdmin.save_model

Re: sending and receiving data using ajax/html

2011-09-15 Thread jay K.
; When in next page, you can create hidden form fields to store data you > passed from first page, and then you can post them again in any page you > want. > > 2011/9/15 jay K. > > >> Hello >> >> I have a page where a user makes a selection >> >> Wh

sending and receiving data using ajax/html

2011-09-15 Thread jay K.
Hello I have a page where a user makes a selection What I want to do is to take the user's selection to the "next page" so I can process the user's request in a new page How can I do that? I know I have to use ajax (but if there is a better method please let me know), so how can I use ajax to

Re: forms and form processing

2011-06-30 Thread jay K.
Hello, thanks for the reply I dont have email settings in my settings.py file? is that straightforward, like an import statement or something more complex? I am using django version (1, 1, 1, 'final', 0) - that's what i got after typing import django django.VERSION on the pyth

forms and form processing

2011-06-28 Thread jay K.
Hello, I need to add a form on my django website so far this is what i have: in my models.py: import statements not shown here CONTACT_OPTIONS = ( ('skype video anruf','Skype Video- Anruf'), ('skype anruf ','Skype Anruf'),

django page loads forever

2011-06-22 Thread jay K.
Hello, everyone I have a django page which loads indefinitely some of the javascript that is supposed to come up does not appear on the screen (while the page is still loading), but i checked with firebugs and there are no error messages at all any advice would be helpful thanks jay k

Re: storing django object into javascript variable/array

2011-06-15 Thread jay K.
doing it right On Wed, Jun 15, 2011 at 1:36 PM, John Finlay wrote: > On 6/15/11 8:59 AM, jay K. wrote: > > Hello, > > I apologize for seeming too impatient or rude, actually I'm a bit in a > hurry because I was given a project > and was told that it was urgent. I miscal

Re: storing django object into javascript variable/array

2011-06-15 Thread jay K.
would be welcomed Thanks, and again sorry for seeming rude/desperate, it was all my fault On Wed, Jun 15, 2011 at 10:45 AM, Ian Clelland wrote: > On Wed, Jun 15, 2011 at 7:27 AM, jay K. wrote: > >> Hello, >> >> I've posted my question before, but I believe I didn&#x

Re: storing django object into javascript array

2011-06-14 Thread jay K.
e the {{ school|escapejs }} into a javascript array, and use the data inside school as if it were an array element, like map_schools[1], map_schools[3] etc Thanks regards, JK On Fri, Jun 10, 2011 at 12:21 PM, Ian Clelland wrote: > > > On Fri, Jun 10, 2011 at 7:48 AM, jay K. wrote: &

storing django object into javascript array

2011-06-10 Thread jay K.
Hello, I am not a django developer, but I have a background on html, css, javascript, jquery and php. I was wondering if you can help me with a question regarding django, since I'm working on a website built on django (which was not started by me) I want to store a django object into a javascri

using a models fields

2011-04-04 Thread jay K.
Hello, I got a couple of fields from a model I want to use so the models.py looks like this * class XZY(): latitude = models.CharField() longitude = models.CharField(.) zoomlevel = models.CharField()* I want to retrieve the data inside latitude, longitude and zoomlevel to b

creating a URL from scratch

2011-04-04 Thread jay K.
Hello I have a website with www.xyz.com/subpage I want to change the name of the subpage how do you do it? thanks -- 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 unsubscr

multilingual django

2011-04-04 Thread jay K.
Hello, Currently I have 2 folders, one for german and english language translations, respectively The translations are inside a django.po file for each language. I want to add a new language How can I do it? thanks -- You received this message because you are subscribed to the Google Groups

Re: south for django

2011-03-31 Thread jay K.
nd of code This piece of code has been generating an error when executing the *python manage.py schemamigration myApp --initial* command in South If the above code has doesn't do anything, I will comment it out On Thu, Mar 31, 2011 at 5:04 PM, jay K. wrote: > > Hello, > > I&

south for django

2011-03-31 Thread jay K.
Hello, I've been using south to migrate a database I followed all the commands to make the migrations in south (--initial and --auto), all of this, after making my desired changes in modes.py but when I refresh my page I still get a "Error 505" messages I've checked spelling mistakes etc but fo

Re: south for django

2011-03-31 Thread jay K.
that's weird, because I keep getting the same error the field that I'm using is not custom (models.TextField) it may be located somewhere else On Thu, Mar 31, 2011 at 4:47 PM, Shawn Milochik wrote: > You don't need that inspection feature for fields known to Django. Just > custom types. >

Re: south for django

2011-03-31 Thread jay K.
All I did to change my models.py, was to add the following line *map_text = models.TextField( 'Map text', blank = True, null = False, help_text = 'text on the subpage "map"')* As you can see, I intend to add a new text area in my models.py At the bottom of the page, I type this code *from south

south for django

2011-03-31 Thread jay K.
hello, I've downloaded and installed south successfully to manage changes with my models.py file I type the following command *python manage.py schemamigration myApp --auto* then, get the following message *You cannot use --auto on an app with no migrations. Try --initial.* So I do as stated,

Re: new text area in django admin page

2011-03-31 Thread jay K.
thanks, it works fine!! I can't believe I spent 2 days trying to sort out my database issues greatly appreciate your advice :) On Thu, Mar 31, 2011 at 3:04 PM, Shawn Milochik wrote: > > On Mar 31, 2011 1:55 PM, "jay K." wrote: > > > > Thanks for the adv

Re: new text area in django admin page

2011-03-31 Thread jay K.
Thanks for the advice, But I am not exactly migrating databases, just modifying an existing one On Thu, Mar 31, 2011 at 2:50 PM, Shawn Milochik wrote: > On Thu, Mar 31, 2011 at 1:39 PM, jay K. > wrote: > > > > > > > > So what am I doing wrong? > > > &

Re: new text area in django admin page

2011-03-31 Thread jay K.
ge.py sql *my-application* However, when I refresh my website, I get an *Error 505. *This error appears only in the pages that use the models.py file I've modified, so the rest of the website works fine. So what am I doing wrong? Thanks On Thu, Mar 31, 2011 at 11:58 AM, Daniel Rosema

new text area in django admin page

2011-03-31 Thread jay K.
hello how can i add a new text field in the django admin area i want to create a new subpage thanks -- 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 g

Re: new subpage in django

2011-03-30 Thread jay K.
Xavier Ordoquy wrote: > > Le 30 mars 2011 à 21:16, jay K. a écrit : > > > Hello, > > > > How do you create a new subpage in django? > > > > thanks > > Hi, > > What do you mean or I'd rather ask, what are you trying to do ? > > Regards, >

new subpage in django

2011-03-30 Thread jay K.
Hello, How do you create a new subpage in django? thanks -- 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..

Re: manage.py command not found

2011-03-30 Thread jay K.
hi, Shawn I finally managed to get python manage.py shell to work, by commenting out those INSTALLED_APPS that had an issue with 'import x' it turns out that 'import x' was the problem. do you have any suggestions to fix 'import x'? thanks On Wed, M

Re: manage.py command not found

2011-03-30 Thread jay K.
Hello, Shawn I type python manage.py shell in my project directory and get the following error Error: No module named xx regards On Wed, Mar 30, 2011 at 11:52 AM, Shawn Milochik wrote: > Check the permissions on manage.py. I'm guessing it's not executable. > > Either use chmod +x on manag

manage.py command not found

2011-03-30 Thread jay K.
Hello, I am following the tutorial at http://south.aeracode.org/docs/installation.html#installation-configure in order to install South. I've installed it successfully and modified INSTALLED_APPS so it includes 'south', in the settings.py now I execute the command: ./manage.py shell inside my cu

need to change models

2011-03-30 Thread jay K.
Hello, I've been struggling for quite a white with this whenever i change my models.py file by adding a new text area I get a 'error 500 internal server error' besides i keep getting an error whenever i try to syncdb my database can anyone please explain what i'm doing wrong? thanks -- You

Re: how do you build an html website in python?

2010-04-17 Thread jay
concepts in Django. Happy coding! Jay On Sat, Apr 17, 2010 at 3:27 PM, codecub wrote: > that's really unhelpful dude, i read through that and it doesnt even > help at all thats for software/applications not websites > > -- > You received this message because you are subs

Re: Django Tutorial 1.1: Viewing SQLite3 tables

2010-01-09 Thread Jay Godse
, Jay On Jan 7, 6:50 pm, wormser17 wrote: > Hello. First, some quick context about my approach (I am not a > programmer): > > This is the directory where I installed Django: /Library/Python/2.6/ > site-packages/django > This is my project directory: /Users/mlooby/Sites/mysite &g

Fwd: InlineModelAdmin paging

2009-11-02 Thread Jay Coulter
27;, 'cc_expire_dt', 'cc_closed_dt', 'cc_frozen_dt', 'cc_card_printed'] Thanks! Jay --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to t

Re: Keeping request.GET keys

2009-09-30 Thread Jay
I do not quite follow your statement. Do you mean redirect (request.get_full_path())? On Sep 30, 10:47 pm, "bax...@gretschpages.com" wrote: > I'm passing through a testcookie function and would like to keep the > request.GET keys > > so if the original URL is /testcookie/?foo=1&bar=2 > > Whe

Re: Help on query

2009-09-30 Thread Jay
Use the aggregation way: user.report_set.annotate(count = Count('report_set')).filter(count = 1) On Sep 29, 10:39 pm, luismmontielg wrote: > yeah, something like that is what I want, but to me, that is not the > best way of doing it ... > Maybe there's a simpler way? > > thanks in advance > > On

Re: Passing parent with multiple childs from View to HTML

2009-09-27 Thread Jay
In Django template, you can make methed call. So you can pass the auther object to the template, then {% for book in auther.books.all %} {% for section in book.sections.all %} {% end for %} {% endfor %} The ordering is using the definition in the Model Meta class.

Re: How to customize field to get the correct python value?

2009-09-26 Thread Jay
fetch. (values(), only(), .etc.) I cannot find any material to make it smarter. So I wonder if I missed something or it is just a Django bug as to_python is not called? BRs/Jay On 9月25日, 上午10时39分, "jay.sh...@gmail.com" wrote: > Hi there, > > I have a question on customize the

Re: custom authentication backend not being used...

2009-08-19 Thread Jay
Sorry, nevermind. I finally figured this out right after I posted this. On Aug 19, 12:48 pm, Jay wrote: > First off, I'm using Django 1.1. > > I've been having problems getting my custom authentication backend to > work, specifically in the "admin" site. > &

custom authentication backend not being used...

2009-08-19 Thread Jay
sword.split('$') return (getPHash(raw_pass , salt , False) == hash) def __str__(self): return self.email class Meta: db_table = 'users' ordering = ['email' , 'username' , 'date_joined'] verbose_name_plural = 'users' .

Weird transaction issue in apache?

2009-06-25 Thread Jay Wineinger
I have an Order model and a Payment model (which FK's to Order as "payments"). I have a handler for post_delete on Payment which sends a custom signal which may do some updating on Order. The problem I'm seeing is that when I delete a Payment, the custom signal handler can still query for the de

nested dereferencing of values within value calls in templates

2009-03-17 Thread Jay Deiman
mplish the above with a highly inefficient nested loop: Template code: == {% for item in list1 %} {{ item }}: {% for item2 in list2 %} {% ifequal forloop.counter0 forloop.parentloop.counter0 %} {{ item2 }} {% endifequal %} {% endfor %} {% endfor %} =

  1   2   3   4   5   6   >