Need help to catch "cart_id" based on session.

2016-11-05 Thread Shazia Nusrat
Hi, I am using doorsale repo for building ecommerce site due to it's simplicity but I am stuck at the error while trying to catch cart session ID. The repo link is: https://github.com/mysteryjeans/doorsale Error traceback is below: Request Method: POST Request URL:

Re: Need help with a hostel management system project using django

2016-10-30 Thread mulianto
Hi, You can create 3 groups and put each user to specific group. Set the permission on the group an all te group member will have the specified permission for Create, Read, Update, Delete. Mulianto Sent from my iPhone On 30 Okt 2016, at 22:37, YOGITHA A N wrote: > I

Re: Need help with a hostel management system project using django

2016-10-30 Thread YOGITHA A N
I need to create 3 kinds of users with 3 different permissions. One being that of the student , mess contractor and hostel warden. How do I create 3 differnt kinds of login and user profiles. On Sunday, October 30, 2016 at 7:39:56 PM UTC+5:30, bob gailer wrote: > > On Oct 30, 2016 9:53 AM,

Re: Need help with a hostel management system project using django

2016-10-30 Thread Bob Gailer
On Oct 30, 2016 9:53 AM, "YOGITHA A N" wrote: > > I am beginner in django please help me out with my project To help us help you be more specific. What kind of help do you need? > > -- > You received this message because you are subscribed to the Google Groups "Django

Need help with a hostel management system project using django

2016-10-30 Thread YOGITHA A N
I am beginner in django please help me out with my 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+unsubscr...@googlegroups.com. To post to

Re: Hello - need help on accessing current user in django forms.

2016-09-27 Thread Ricardo Daniel Quiroga
HttpRequest.user¶ return the autenticated user in django def miview(request): login_user = request.user ... in case you have not logged in return None 2016-09-23 9:44 GMT-03:00 Tim Graham

Re: Hello - need help on accessing current user in django forms.

2016-09-23 Thread Tim Graham
Try a web search for "django passing request to a form". Here's the first result: http://stackoverflow.com/questions/6325681/passing-a-user-request-to-forms On Friday, September 23, 2016 at 7:17:32 AM UTC-4, Naresh Kumar wrote: > > Hello, > > I need filter a queryset based on current user in

Hello - need help on accessing current user in django forms.

2016-09-23 Thread Naresh Kumar
Hello, I need filter a queryset based on current user in Django forms. kindly help me if you find any. Thanks, Naresh -- 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

Re: Django API CSRF Issues - Need Help

2016-06-01 Thread Neeraj Gahlot
Hi Chris, You will have to pass csrf token in http request header while making request using AJAX This can be done by adding following prior to your ajax request. var csrftoken = $.cookie('csrftoken'); $.ajaxSetup({ headers: { "X-CSRFToken": csrftoken } }); On Saturday, May 21, 2016 at

Re: Django API CSRF Issues - Need Help

2016-05-21 Thread Chris Troutner
That's really interesting. Hmm... Thanks for the feedback. On Sat, May 21, 2016 at 9:03 AM, Michal Petrucha < michal.petru...@konk.org> wrote: > On Sat, May 21, 2016 at 08:55:04AM -0700, Chris Troutner wrote: > > Yep, no luck. I got the cookie plugin integrated, but it didn't make any > >

Re: Django API CSRF Issues - Need Help

2016-05-21 Thread Michal Petrucha
On Sat, May 21, 2016 at 08:55:04AM -0700, Chris Troutner wrote: > Yep, no luck. I got the cookie plugin integrated, but it didn't make any > difference. The problem isn't with the *retrieval* of the CSRF token, it's > with the *submission*. > > If you bring up this code: >

Re: Django API CSRF Issues - Need Help

2016-05-21 Thread Chris Troutner
Yep, no luck. I got the cookie plugin integrated, but it didn't make any difference. The problem isn't with the *retrieval* of the CSRF token, it's with the *submission*. If you bring up this code: https://github.com/christroutner/rpiovn/blob/unstable/public/js/app/views/NRPUsersView.js And

Re: Django API CSRF Issues - Need Help

2016-05-21 Thread Chris Troutner
I was logged in yes, but I also noticed that when I tried to get the cookie from the CMS side, it would retrieve a different CSRF token, as though I wasn't logged in. Hence the copy and paste I showed in the video. I'm trying to get this cookie plugin integrated into my code. Maybe it will have

Re: Django API CSRF Issues - Need Help

2016-05-21 Thread bobhaugen
Chris, I understood you were logged into the django system when you tried these posts. Correct? I thought that would cover authentication thru DRF. But I am also a noob to Javascript client post -> DRF server. -- You received this message because you are subscribed to the Google Groups

Re: Django API CSRF Issues - Need Help

2016-05-21 Thread Chris Troutner
I linked to that page in the original posting. That page describes what we're trying to do, but there seems to be a disconnect between what is specified and what is actually happening. As near as I can tell, I have satisfied the CSRF requirements documented on that page, but I still can't seem

Re: Django API CSRF Issues - Need Help

2016-05-21 Thread François Schiettecatte
Is this what you are looking for: https://docs.djangoproject.com/en/1.9/ref/csrf/ François > On May 21, 2016, at 10:09 AM, Chris Troutner wrote: > > Yes, you're right that there is something confusing going on. I confess I > don't know much about CSRF or

Re: Django API CSRF Issues - Need Help

2016-05-21 Thread Chris Troutner
Yes, you're right that there is something confusing going on. I confess I don't know much about CSRF or authentication or Django. Because of that, I'm sure I presented it in a confusing way. That's all Bob's side of the stuff. I'm just trying to get my front end JavaScript to interact with

Re: Django API CSRF Issues - Need Help

2016-05-21 Thread Daniel Roseman
On Saturday, 21 May 2016 02:36:15 UTC+1, Chris Troutner wrote: > > Hey all, > > This is my first time posting to the group. I'm working with Bob Hagan > on the Network Resource Planning (NRP) > project . The platform runs on >

Django API CSRF Issues - Need Help

2016-05-20 Thread Chris Troutner
Hey all, This is my first time posting to the group. I'm working with Bob Hagan on the Network Resource Planning (NRP) project . The platform runs on Django and he's been using the REST API app to open up ports to some of the

Re: Need help in Django Task

2015-08-18 Thread Jani Tiainen
Hi, How much you pay for this work? :) Sorry, you really have to do your homework... On Mon, 17 Aug 2015 12:06:51 -0700 (PDT) conticki wrote: > Task to be done in Django > > Table structure: > >- Movies > - id > - Title > - Description > -

Need help in Django Task

2015-08-17 Thread conticki
Task to be done in Django Table structure: - Movies - id - Title - Description - Featured image - Movie length (in minutes) - Movie release date Example: 1 | Jurassic World | A movie about dinosaurs | 90 minutes | June 14 2015 2 | Kick | Salman Khan

Re: Need help with auto_now_add and auto_now fields

2015-08-03 Thread rajan santhanam
No problem. Still you can provide an one off value by selecting option 1 and migrate. It won't have any impact. I think this warning will arise on every occasion we alter the table structure irrespective of entry being there or not. On 04-Aug-2015 11:05 am, "sarfaraz ahmed"

Re: Need help with auto_now_add and auto_now fields

2015-08-03 Thread sarfaraz ahmed
I have entries present in User Profile Table. But this field belongs to User_Address model which is new and does not have any entries present. Please advice. On Tue, Aug 4, 2015 at 12:51 AM, rajan santhanam wrote: > Hi Ahmed, > > This message is because you hav few

Re: Need help with auto_now_add and auto_now fields

2015-08-03 Thread rajan santhanam
Hi Ahmed, This message is because you hav few entries already present for that model in DB. If it is OK for you, you can add datetime.now as default value for the existing rows Many Thanks Rajan -- You received this message because you are subscribed to the Google Groups "Django users" group.

Re: Need help with auto_now_add and auto_now fields

2015-08-03 Thread sarfaraz ahmed
I missed the pastebin link in my last post. Sorry... Here is the model code http://pastebin.com/5EF1hV8U On Tuesday, 4 August 2015 00:48:18 UTC+5:30, sarfaraz ahmed wrote: > > Hello Team, > > I have a model and I have added two fields to User_Address model > creation_date and updation_date. I

Need help with auto_now_add and auto_now fields

2015-08-03 Thread sarfaraz ahmed
Hello Team, I have a model and I have added two fields to User_Address model creation_date and updation_date. I have pasted the model code at pastebin. Please take a look. I am getting following error while running makemigrations command You are trying to add a non-nullable field

Need help creating a form

2015-03-07 Thread Ben Gorman
Note: I've also posted this question StackOverflow but sadly, it hasn't been answered yet. My setup consists of a League which can contains multiple Teams. I'm trying to build a form for setting up a (single

Re: need help to configure new domain

2015-01-19 Thread zsandrusha .
gt; it's connected with django-cms. > > Collin > > On Tuesday, January 13, 2015 at 9:19:09 PM UTC-5, zsandrusha wrote: >> >> hello i need urgent help to configure django, >> i had site on django cms then i loose my old domaind now i need to add >> new domain name but i

Re: need help to configure new domain

2015-01-17 Thread Collin Anderson
maind now i need to add new > domain name but i see - http://joxi.ru/82QDVneI8o3amd > so i realy need help to configure my website with fee > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group an

Re: hello need help to configure django

2015-01-14 Thread Tobias Dacoir
I'm also new to Django but to me it seems that you have not registered any App in settings.py. -- 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

Re: hello need help to configure django

2015-01-14 Thread Ulisses Cruz
Hello, I'm new to Django but maybe this can help you: https://docs.djangoproject.com/en/1.7/intro/tutorial01/ -- 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

Re: hello need help to configure django

2015-01-14 Thread Ulisses Cruz
Hello, I'm new to django, but maybe this can help you: https://docs.djangoproject.com/en/1.7/intro/tutorial01/ quarta-feira, 14 de Janeiro de 2015 às 01:13:53 UTC-1, zsandrusha escreveu: > > I had worked site @ webfaction hosting but i loose old domain names and > trying to configure new domain

need help to configure new domain

2015-01-13 Thread zsandrusha
hello i need urgent help to configure django, i had site on django cms then i loose my old domaind now i need to add new domain name but i see - http://joxi.ru/82QDVneI8o3amd so i realy need help to configure my website with fee -- You received this message because you are subscribed

hello need help to configure django

2015-01-13 Thread zsandrusha
I had worked site @ webfaction hosting but i loose old domain names and trying to configure new domain name, here what i see on screenshot: http://joxi.ru/Y2LyjZecxPeOA6 realy need urgent help -- You received this message because you are subscribed to the Google Groups "Django users" group.

Re: Need help with unique_together - on ForeignKey and Boolean field

2014-11-17 Thread ThomasTheDjangoFan
Hi Javier, oh yes! You seem to be a really creative and experienced programmer! [image: smile.png] My solution will be way number 5: 5) Do not set unique_together - forget about it and give the model a function "get_default_image", which returns the first "default_image=True" in the list.

Re: Need help with unique_together - on ForeignKey and Boolean field

2014-11-17 Thread Javier Guerra Giraldez
On Mon, Nov 17, 2014 at 6:10 AM, ThomasTheDjangoFan wrote: > > How would you do this? Can you give me a hint? 4 different ways: - don't do it as a flag, add a 'defaultImage=ForeignKey(ProductImage)' to the Product class. - don't use False for

Re: Need help with unique_together - on ForeignKey and Boolean field

2014-11-17 Thread ThomasTheDjangoFan
Hi Jani, thanks for making it clear. [image: smile.png] Actually I would like to assign a lot of images to a product and only have one image as the default image. How would you do this? Can you give me a hint? Am Montag, 17. November 2014 11:25:37 UTC+1 schrieb Jani Tiainen: > > On Sun, 16

Re: Need help with unique_together - on ForeignKey and Boolean field

2014-11-17 Thread Jani Tiainen
On Sun, 16 Nov 2014 23:51:16 -0800 (PST) ThomasTheDjangoFan wrote: > Hi guys, > > I'd like to only be able to assign many ProcutImages to a Product, but only > ONE Image as a default image per product > (ProductImage.is_default_image=True). > > I can't

Need help with unique_together - on ForeignKey and Boolean field

2014-11-17 Thread ThomasTheDjangoFan
Hi guys, I'd like to only be able to assign many ProcutImages to a Product, but only ONE Image as a default image per product (ProductImage.is_default_image=True). I can't get this to work correnctly on Django 1.7 with a db.sqlite3: With the code below I can only assign ONE Image to a

Re: Using django-ratings; need help

2014-07-06 Thread Sapa S
> > Were you able to get it to work? I want to use a rating app and > django-ratings seems to be the most actively used. And similar to you, I > don't know how to write the template. If you were able to get it working, > could you share your experience? Thanks. > -- You received this

Re: Need help my first Django app

2014-05-31 Thread Kelvin Wong
https://docs.djangoproject.com/en/1.6/intro/tutorial01/ K On Saturday, May 31, 2014 12:06:20 AM UTC-7, Mamdou Attallah wrote: > > Since I have never delveoped any Django app before I need to find an easy > tutorial to kick start my first app > I am using free trial of py charm > thanks > --

Need help my first Django app

2014-05-31 Thread Mamdou Attallah
Since I have never delveoped any Django app before I need to find an easy tutorial to kick start my first app I am using free trial of py charm thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Need Help with modwsgi and Apache

2014-02-26 Thread Mark Phillips
I have a django 1.6 site running on my development machine under runserver, and another production machine with apache and modwsgi. When I access the production site within our LAN it works with no issues. When I try to access the site from outside our lan (ie from the wild and wolly Internet), I

Re: Need help on token-based authentication

2014-02-06 Thread Calvin Chen
Hi Rahul Gaur, Thanks for your answer. I will definitely take a look at the gist and repositories that you provided. Hopefully, it will gives me some ideas. :-) Thanks a lot. Kind Regards, Cheng On Thursday, February 6, 2014 6:03:03 PM UTC+8, Rahul Gaur wrote: > > Hi , > You can take a look

Re: Need help on token-based authentication

2014-02-06 Thread Rahul Gaur
Hi , You can take a look at the following GIST : https://gist.github.com/aregee/6310787 I have two projects , that implement the Token based authentication. I have used Django Tastypie for rolling out the RESTful apis and since tastypie offers ApiKeyAuthentication() method , on the client side I

Need help on token-based authentication

2014-02-06 Thread Calvin Chen
Hi, I couldn't find any real example about how to use token-based authentication in Django, and how to let it work with front-end MVC framework like AngularJS. Do you guys have any ideas? Kind Regards, Calvin -- You received this message because you are subscribed to the Google Groups

Re: Need Help Moving Database to production server

2014-01-29 Thread Babatunde Akinyanmi
Replies are inline On 28 Jan 2014 17:15, "Mark Phillips" wrote: > > On Mon, Jan 27, 2014 at 11:51 PM, Mike Dewhirst wrote: >> >> On 28/01/2014 4:51pm, Mark Phillips wrote: >>> >>> I have a django project running on my laptop. I have (finally)

Re: Need Help Moving Database to production server

2014-01-28 Thread Mark Phillips
On Tue, Jan 28, 2014 at 2:57 PM, Alex Mandel wrote: > On 01/28/2014 08:15 AM, Mark Phillips wrote: > > On Mon, Jan 27, 2014 at 11:51 PM, Mike Dewhirst >wrote: > > > >> On 28/01/2014 4:51pm, Mark Phillips wrote: > >> > >>> I have a django

Re: Need Help Moving Database to production server

2014-01-28 Thread Alex Mandel
On 01/28/2014 08:15 AM, Mark Phillips wrote: > On Mon, Jan 27, 2014 at 11:51 PM, Mike Dewhirst wrote: > >> On 28/01/2014 4:51pm, Mark Phillips wrote: >> >>> I have a django project running on my laptop. I have (finally) managed >>> to get it to work with apache on a

Re: Need Help Moving Database to production server

2014-01-28 Thread Mark Phillips
On Mon, Jan 27, 2014 at 11:51 PM, Mike Dewhirst wrote: > On 28/01/2014 4:51pm, Mark Phillips wrote: > >> I have a django project running on my laptop. I have (finally) managed >> to get it to work with apache on a production server. However, I still >> have a problem. When

Re: Need help with pushing technology ... and a bit more ...

2014-01-27 Thread Avraham Serour
> Isn't there a better way to push notifications? Better than what? > Do I forcibly have to use a service... no, but it will make your life easier > Would it be possible to build our own push service ... yes, why not I suggest not making your life too complicated, make the system as simple as

Re: Need Help Moving Database to production server

2014-01-27 Thread Mike Dewhirst
On 28/01/2014 4:51pm, Mark Phillips wrote: I have a django project running on my laptop. I have (finally) managed to get it to work with apache on a production server. However, I still have a problem. When I access the admin site and login as the superuser, I get "you don't have permission to do

Need Help Moving Database to production server

2014-01-27 Thread Mark Phillips
I have a django project running on my laptop. I have (finally) managed to get it to work with apache on a production server. However, I still have a problem. When I access the admin site and login as the superuser, I get "you don't have permission to do anything" message. To migrate the database,

Need help with pushing technology ... and a bit more ...

2014-01-27 Thread Mario R. Osorio
Background: === We are studying the possibility of creating a system that will have the following entities: Customer(s) (appCustomer) Service Provider(s) (appProviders) and Manager(s) Server(s) appCustomers will have all appServices available to them and appServices will have at least

Re: New to django,need help! just trying to retrieve values from a template to a view.py (ie user may input text, make choice selection, select a radio button value)

2013-11-01 Thread Jimmy Pants
Expanding on Daniel Roseman's suggestion, I recommend the Web Fundamentals course at www.codecademy.com - totally free, and pretty good, covers CSS stylesheets as well. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: New to django,need help! just trying to retrieve values from a template to a view.py (ie user may input text, make choice selection, select a radio button value)

2013-10-31 Thread mmrs151
So what is the problem, really? On Wednesday, 30 October 2013 20:17:17 UTC, pete wrote: > > Hi > New to django,need help! just trying to retrieve values from a template > to a view.py (ie user may input text, make choice selection, select a > radio button value) > like to

Re: New to django,need help! just trying to retrieve values from a template to a view.py (ie user may input text, make choice selection, select a radio button value)

2013-10-31 Thread Daniel Roseman
On Wednesday, 30 October 2013 20:17:17 UTC, pete wrote: > Hi > New to django,need help! just trying to retrieve values from a template > to a view.py (ie user may input text, make choice selection, select a > radio button value) > like to know the poll list section, market se

New to django,need help! just trying to retrieve values from a template to a view.py (ie user may input text, make choice selection, select a radio button value)

2013-10-30 Thread pete
Hi New to django,need help! just trying to retrieve values from a template to a view.py (ie user may input text, make choice selection, select a radio button value) like to know the poll list section, market selection, coupon code, and discount text, and poll choice selection from radio

Re: Need help in my Django program

2013-09-23 Thread ghenessa sabaldan
How do I display the updated value from another model, example > > Model A > > C = user inputted value > > > > Model B > > A = initial value of 0 + C > > B = initial value of 50 – A > So every time a different user input a value in C the A & B will automatically be updated, when A = 50

Re: Need help in my Django program

2013-09-22 Thread Mark Phillips
I don't think you will get anyone to wade through your code and correct it for you. You need to be much more specific in your question. What behavior do you expect from your code, what is it doing that it shouldn't be doing, what doe the error logs say, where is the specific problem in your code,

Need help in my Django program

2013-09-22 Thread ghenessa sabaldan
I am really stuck in my code. I have this printing project I have created. I wanted that in my student profile class, it will automatically update the the total printout and the available printout after the user has inputted the corresponding value in the prinout class. and also the report

Re: Need help figuring out why my { key:value } doesn't seem to be passed to my view by my javascript file.

2013-09-19 Thread Leonardo Giordani
I see now that you are not passing the CSRF token, are you? https://docs.djangoproject.com/en/dev/ref/contrib/csrf/ Leonardo Giordani Author of The Digital Cat My profile on About.me - My GitHub page-

Re: Need help figuring out why my { key:value } doesn't seem to be passed to my view by my javascript file.

2013-09-19 Thread Leonardo Giordani
In Django key:value are sent the way you specify in your urls configuration. E.g., say that you want to show an object that you can extract from your DB with year=2013 and month=09 ('year' and 'month' are here a primary key for that model if used together). The URL schema is completely up to you,

Re: Need help figuring out why my { key:value } doesn't seem to be passed to my view by my javascript file.

2013-09-18 Thread C. Kirby
If you want to use key value pairs like that, and you are modifying data in your database, you should really be using a POST and not a GET On Wednesday, September 18, 2013 10:00:51 AM UTC-5, 7equiv...@gmail.com wrote: > > "So I think that the ajax() function is calling the URL >

Re: Need help figuring out why my { key:value } doesn't seem to be passed to my view by my javascript file.

2013-09-18 Thread 7equivalents
"So I think that the ajax() function is calling the URL "/pi/?pathID=somevalue," Is that different than how a key:value pair are normally sent? I don't know much about this. This is the output from the development server... "GET /pi/ HTTP/1.1" 200 2600 -- You received this message because you

Re: Need help in my Django code

2013-09-18 Thread Rafael E. Ferrero
hello ghenessa, first of all i'll recommend that use pastebin to share code since tabular spaces in python its relevand. now, you want to do something like triggers on database but do it in Django Admin? (something like automatic saving TimeStamp of a creation moment of the registry or update ?)

Need help in my Django code

2013-09-18 Thread ghenessa sabaldan
I am really stuck in my code. I have this printing project I have created. I wanted that in my student profile class, it will automatically update the the total printout and the available printout after the user has inputted the corresponding value in the printout class. and also the report

Re: Need help figuring out why my { key:value } doesn't seem to be passed to my view by my javascript file.

2013-09-18 Thread Leonardo Giordani
If I correctly understand you are using jQuery.ajax(). Documentation says "Data to be sent to the server. It is converted to a query string, if not already a string. It's appended to the url for GET-requests." So I think that the ajax() function is calling the URL "/pi/?pathID=somevalue". May you

Need help figuring out why my { key:value } doesn't seem to be passed to my view by my javascript file.

2013-09-17 Thread 7equivalents
I have a javascript file that successfully request a Django view. However it seems as if it is not passing the key:value pairs. I have created an if else statement that test for the key, and it never see's it. Not sure how to proceed. Here is my django View and Javascript click function, in the

Re: Need help on customizing my django admin page to my own new look

2013-07-17 Thread Rurangwa Moses
Thx a bunch guys it worked -- 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

Re: Need help on customizing my django admin page to my own new look

2013-07-17 Thread Mário Neto
A path to follow: https://docs.djangoproject.com/en/dev/ref/contrib/admin/#overriding-admin-templates 2013/7/17 Rurangwa Moses > Hey guys, > I need some help on how to customize a django admin page to whole new > different look rather than the default django admin page > >

Re: Need help on customizing my django admin page to my own new look

2013-07-17 Thread Rafael E. Ferrero
create a /statics/admin folder in your project and paste into admin folder all django admin folder... css, js, etc... then modify this with your own look... Django first try to execute this if not found go with Django Admin looks (original admin interface, dont remember quite well, but must to be

Need help on customizing my django admin page to my own new look

2013-07-17 Thread Rurangwa Moses
Hey guys, I need some help on how to customize a django admin page to whole new different look rather than the default django admin page Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

Re: I encountered a core exception and need help configuring for a database. My OS is Ubuntu 12.10 32 bit

2013-05-01 Thread hugh Manchu
make sure you have your settings.py configured properly... if you still need help I will check back later today and see what i can do. On Thu, Apr 25, 2013 at 7:01 AM, Iftikhar Ali <iftikhara...@gmail.com>wrote: > buddy i am also getting the same error... if you have so far got the

Re: I need help doing a linked lookup in admin

2013-04-29 Thread Richard E. Cooke
I'm getting closer! First I found this note in the Content Types docs that explains why what I was doing does NOT work: https://docs.djangoproject.com/en/1.4/ref/contrib/contenttypes/#django.contrib.contenttypes.generic.GenericForeignKey *Due to the way

I need help doing a linked lookup in admin

2013-04-26 Thread Richard E. Cooke
I used the *django-contacts *project as my starting point for a company contact database. Its really cool, it keeps "addresses", "phone numbers", etc in seperate db table so you can associate as many as you need to each company or person record. It uses *django.contrib.contenttype*s for its

Re: I encountered a core exception and need help configuring for a database. My OS is Ubuntu 12.10 32 bit

2013-04-25 Thread C. Kirby
ing else should be done with manage.py after >>> cd'ing to the directory that contains it (or from a wsgi script, which also >>> sets the DJANGO_SETTINGS_MODULE environment variable and adjusts sys.path >>> to be sure that the directory containing manage.py is there, but th

Re: I encountered a core exception and need help configuring for a database. My OS is Ubuntu 12.10 32 bit

2013-04-25 Thread Iftikhar Ali
> > buddy i am also getting the same error... if you have so far got the > answer please help me too... > -- 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

Re: need help with csv export

2013-04-13 Thread Mark Lybrand
Have you looked at this: http://docs.python.org/2/library/csv.html On Fri, Apr 12, 2013 at 2:53 PM, frocco wrote: > Hello, > > I have a php export file that I need to duplicate in django. > I am using django csv import > > Here is the PHP format I want. > >

need help with csv export

2013-04-12 Thread frocco
Hello, I have a php export file that I need to duplicate in django. I am using django csv import Here is the PHP format I want. 3128559,"GOODYEAR","4024064","","","","","","","","","","","16","","","","","" Here is the django output 3128559,'GENERAL','15480',,,'4' I want it to

Re: need help designing models

2013-04-07 Thread Mike Dewhirst
On 7/04/2013 4:36pm, surya wrote: actually, you are right, django models do provide id.. but this uid field is something else.. Eg: massachusetts institute of technology. uid = MIT..i will be using it as primary key. Doing so raises questions about investing primary keys with real meaning.

Re: need help designing models

2013-04-07 Thread surya
On Sunday, April 7, 2013 11:42:50 AM UTC+5:30, Mike Dewhirst wrote: > > On 7/04/2013 3:27pm, surya wrote: > > Consider a university college. > > 1. College has name, uid, website > > 2. Each college has a many departments - Each department has name, uid. > > 3. Each batch in a department has

Re: need help designing models

2013-04-07 Thread Mike Dewhirst
On 7/04/2013 3:27pm, surya wrote: Consider a university college. 1. College has name, uid, website 2. Each college has a many departments - Each department has name, uid. 3. Each batch in a department has name, and ratings. *from django.db import models* * * *class College(models.Model):* *name

Re: need help designing models

2013-04-07 Thread Pankaj Singh
College field in Batch model is redundant. You can get college of a batch using batch.department.college. On Sun, Apr 7, 2013 at 10:57 AM, surya wrote: > Consider a university college. > 1. College has name, uid, website > 2. Each college has a many departments - Each

need help designing models

2013-04-06 Thread surya
Consider a university college. 1. College has name, uid, website 2. Each college has a many departments - Each department has name, uid. 3. Each batch in a department has name, and ratings. *from django.db import models* * * *class College(models.Model):* * name =

Re: I encountered a core exception and need help configuring for a database. My OS is Ubuntu 12.10 32 bit

2013-03-21 Thread hugh Manchu
sys.path >> to be sure that the directory containing manage.py is there, but that will >> come much later for you, I think). >> >> Bill >> >> On Thu, Mar 21, 2013 at 1:13 PM, Lightning <hughmanch...@gmail.com>wrote: >> >>> >>> >>&g

Re: I encountered a core exception and need help configuring for a database. My OS is Ubuntu 12.10 32 bit

2013-03-21 Thread hugh Manchu
at 1:13 PM, Lightning <hughmanch...@gmail.com> wrote: > >> >> >> On Wednesday, March 20, 2013 11:50:49 PM UTC-7, Lightning wrote: >>> >>> >>> <http://stackoverflow.com/questions/15538277/i-encountered-a-core-exception-and-need-help-configuri

Re: I encountered a core exception and need help configuring for a database. My OS is Ubuntu 12.10 32 bit

2013-03-21 Thread hugh Manchu
t 1:13 PM, Lightning <hughmanch...@gmail.com> wrote: > >> >> >> On Wednesday, March 20, 2013 11:50:49 PM UTC-7, Lightning wrote: >>> >>> >>> <http://stackoverflow.com/questions/15538277/i-encountered-a-core-exception-and-need-help-configuring-fo

Re: I encountered a core exception and need help configuring for a database. My OS is Ubuntu 12.10 32 bit

2013-03-21 Thread Bill Freeman
ing wrote: >> >> >> <http://stackoverflow.com/questions/15538277/i-encountered-a-core-exception-and-need-help-configuring-for-a-database-my-os-i#> >> ** >> >> [image: enter image description here]I need help configuring for a >> database. Is there a paper I can read

Re: I encountered a core exception and need help configuring for a database. My OS is Ubuntu 12.10 32 bit

2013-03-21 Thread Lightning
On Wednesday, March 20, 2013 11:50:49 PM UTC-7, Lightning wrote: > > > <http://stackoverflow.com/questions/15538277/i-encountered-a-core-exception-and-need-help-configuring-for-a-database-my-os-i#> > > ** > > [image: enter image description here]I need help co

I encountered a core exception and need help configuring for a database. My OS is Ubuntu 12.10 32 bit

2013-03-21 Thread Lightning
<http://stackoverflow.com/questions/15538277/i-encountered-a-core-exception-and-need-help-configuring-for-a-database-my-os-i#> ** [image: enter image description here]I need help configuring for a database. Is there a paper I can read that will give me an overview on this proced

Re: i need help

2013-02-19 Thread wassim bchini
thx ryan :) > Please take a look at the Django tutorial[1] and then feel free to > ask specific questions. Also, when posting, try to put something more > meaningful[2] than "i need help" in the subject. > > - Ryan > > 1. https://docs.djangoproject.com/en/1

Re: I need help

2013-02-19 Thread Carlos Aguilar
I fix the error. Thank you for your time. The error was caused for a bad access to delete function. Thanks againg. Best Regards On Tue, Feb 19, 2013 at 5:55 PM, Russell Keith-Magee < russ...@keith-magee.com> wrote: > > On Wed, Feb 20, 2013 at 6:52 AM, Carlos Aguilar

Re: I need help

2013-02-19 Thread Russell Keith-Magee
On Wed, Feb 20, 2013 at 6:52 AM, Carlos Aguilar wrote: > I am trying to use the User model outside of django app, but without > successful. > > This is my imports section: > > from django.core.management import setup_environ > from htdjango import settings >

Re: i need help

2013-02-17 Thread Ryan Nowakowski
to > render the web application interface (pages,forms,...) to work with engine > , please excuse my poor English :) ,thx Wassim, Please take a look at the Django tutorial[1] and then feel free to ask specific questions. Also, when posting, try to put something more meaningful[2]

Re: Need help with GeoDjango distance query.

2013-02-16 Thread Sanjay Bhangar
On Fri, Feb 15, 2013 at 10:00 PM, mack the finger wrote: > http://stackoverflow.com/questions/14889780/distance-query-within-a-certain-distance-based-on-value-in-joined-table > > Basically I want all objects within a certain distance, AS WELL as within > each object's preferred

need help for my project

2013-02-15 Thread wassim bchini
hello i have a project with Django ; my project is to built a web application to administrate FTP server , i have the engine on python but i haven't information how to render the graphical part (pages,forms,...) ,so i want some information to create the GUI part and to linked with the engine

i need help

2013-02-15 Thread wassim bchini
hello ; i have a Project and i'm beginner on Django ; my project is to build web application to administrate FTP server , i have the program of administration on python (engine) and i need some information how to render the web application interface (pages,forms,...) to work with engine ,

Need help with GeoDjango distance query.

2013-02-15 Thread mack the finger
http://stackoverflow.com/questions/14889780/distance-query-within-a-certain-distance-based-on-value-in-joined-table Basically I want all objects within a certain distance, AS WELL as within each object's preferred distance. -- You received this message because you are subscribed to the Google

Re: need help

2013-02-05 Thread Russell Keith-Magee
On Wed, Feb 6, 2013 at 8:27 AM, Thiago Avelino wrote: > I believe that this list is not for this kind of topic. > > When you put this kind of topic as [Off topic] > I don't know where you got this idea. If something is off topic you don't invent some sort of special

<    1   2   3   4   5   6   7   8   9   10   >