Multiple Django/Python developer Positions- Atlanta, GA

2010-10-29 Thread Jack
Location: Atlanta, GA Interview Process: Phone and Face to Face Compensation: 60k to 100k Please reply if you or someone you know if looking for a job as a expert Python or Django Developer. only US Citizens or Greencard holders need apply Thanks! Jack -- You received this message because you

Re: Problem creating a model instance with data captured from an URL in a View

2008-02-04 Thread jack
I thought that should work and I tried that too and got an error of a data mismatch when I uses p.save() In checking what data was being brought into play I discovered that the summary argument was being dropped. I am now suspecting a bug in the implementation... --~--~-~--~~

Database Migration Question

2008-05-05 Thread jack
create my own migrations as custom Views. I could invoke these via the web as well after having copied my latest code to my production server. If these methods do not exist, how difficult would it be to create them? Jack --~--~-~--~~~---~--~~ You received this

Re: Database Migration Question

2008-05-06 Thread jack
who was willing and capable of tackling this task. Jack On May 5, 9:34 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On Tue, May 6, 2008 at 11:57 AM, jack <[EMAIL PROTECTED]> wrote: > > >  Are there any Python/Django methods that represent generic datab

Check it out:Very good online resources,tons of cool men and beautiful women eager for lovers....:

2007-10-04 Thread jack
Check it out:Very good online resources,tons of cool men and beautiful women eager for lovers: 1.Buy tickets online: http://groups.google.com/group/all-good-things/web/want-to-buy-tickets-online-come-here 2.No 1 social network: http://groups.google.com/group/all-good-things/web/1-social-netw

More friends more money,get friends while get paid

2007-10-24 Thread jack
More friends more money,get friends while get paid http://groups.google.com/group/all-good-things/web/get-friends-while-get-paid Get 1 Million Guaranteed Real Visitors, FREE! http://www.t2000ultra.com/?rid=12740 --~--~-~--~~~---~--~~ You received this message beca

Does python(django) have an official database driver to access SQLFire?

2012-01-29 Thread Jack
Hello, I have a question on Python(django) Does python(django) have an official database driver to access SQLFire? Or is there any roadmap to deliver an official database driver? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Getting a count of a RawQuerySet object

2011-09-21 Thread Jack
Hello everyone, I'm quite new to django and python in general so I'm sure there's just something I missed in my searching to answer this. But... Is there a way to count the number of results returned in the RawQuerySet option? I've tried the len() function and I've search the django documentation

Return a CSV and a template in the same response.

2011-10-03 Thread Jack
Hey gang, I am trying to use a response object to serve a dynamically created CSV. I have that part working perfectly but I'd like to display a page afterwards with a summary of the data. Is there a good way to do this? I tired added the rendered template to the httpresponse object after I write

Transform all Django exceptions to JSON?

2015-04-16 Thread jack
Hello, I use django rest framework to make API server. DRF catches some Django exceptions and transforms them in JSON. However some exceptions, like 404, are still returned as Django pages (at least it works that way on my machine). How can I wrap all exceptions in JSON from any library? I'm

Re: Automatically assign model instance to the user who created it. And only that user can edit/delete the instance.

2017-10-25 Thread Jack
user=request.user) >>> if form.is_valid(): >>> data = form.save(commit=False) >>> data.user = request.user >>> data.save() >>> messages.add_message(request, messages.SUCCESS, >>> self.success_message) >

Passing 3 user inputs as argument in url, for a search form

2017-10-25 Thread Jack
I am building a search form where the user inputs 3 values on a form, and I search the database for all records that match the 3 inputs. Right now I am stuck on the user input part. If you look at my *urls.py*, you will see that I tried to put 3 keywords arguments in there. Then I tried to pa

MultipleChoiceField records down choices as a list, but CharField converts them to a list?

2017-10-26 Thread Jack
I have a model field for choosing multiple options. Here is the code for models and forms: *models.py:* CONDO_APARTMENT = 'Condo Apartment' DETACHED_HOUSE = 'Detached House' SEMI_DETACHED = 'Semi-detached' TOWNHOUSE = 'Townhouse' PROPERTY_TYPE = ( (CONDO_APARTMEN

Re: Passing 3 user inputs as argument in url, for a search form

2017-10-26 Thread Jack
October 25, 2017 at 7:50:58 PM UTC-4, James Schneider wrote: > > > > On Wed, Oct 25, 2017 at 11:29 AM, Jack > > wrote: > >> I am building a search form where the user inputs 3 values on a form, and >> I search the database for all records that match the 3 inputs. Righ

Re: Building a search form with 4 required choices, which will be inserted as arguments in an URL [warning: long question]

2017-10-29 Thread Jack
orking properly. Thanks Daniel! On Sunday, October 29, 2017 at 7:59:25 AM UTC-4, Daniel Roseman wrote: > > On Monday, 23 October 2017 16:59:36 UTC+1, Jack wrote: >> >> This is a semi-long question. Please let me know wherever I make a >> mistake. >> >> I'm

MultipleChoiceField is being displayed as a string instead of a list

2017-10-29 Thread Jack
I have a MultipleChoiceField forms field which shows up in the database like this . It seems to have been converted to a string in the database, because when I try to display it with a 'for property in property_type' statement in the HTML, it shows up like th

Seeking design guidance on a Team model where a user sends invitation to other users to join the team

2017-11-04 Thread Jack
I have a model called *Team*, which has a ForeignKey relationship with *User* (a team can have many users, but a user can only be part of one team). A user can create a team, and that user will automatically become a *Team Leader* (a group, not a model). The team leader can query the database

Re: Seeking design guidance on a Team model where a user sends invitation to other users to join the team

2017-11-05 Thread Jack
#x27;. On Saturday, November 4, 2017 at 11:49:19 PM UTC-4, Shree Kant Bohra wrote: > > Check out django-invitations app, which does exactly what you need - > https://github.com/bee-keeper/django-invitations > > > -- > Shree Kant Bohra > Co-founder > Geekybuddha Technologies

Django - Pass a model instance specified by template tags to the view

2017-11-08 Thread Jack
On my HTML page, I have a list of Agent's (Agent is my custom User model). Beside each agent is a 'Send Invite' button. To create a `TeamInvitation`, I need to specify which Agent is attached to its `receiver_agent` field (a OneToOneField with Agent) There are multiple Agents displayed on the

Re: Django - Pass a model instance specified by template tags to the view

2017-11-09 Thread Jack
get it working. On Wednesday, November 8, 2017 at 6:24:29 PM UTC-5, Adam wrote: > > > On Wed, Nov 8, 2017 at 1:38 PM Jack > > wrote: > >> On my HTML page, I have a list of Agent's (Agent is my custom User >> model). Beside each agent is a 'Send Invit

Re: Django - Pass a model instance specified by template tags to the view

2017-11-09 Thread Jack
Ok I'm very stuck. Thought very hard about it but can't see how I can add a hidden field into the HTML, and relay the specified instance of the hidden field back to the views... or am I completely off about something? Also in regards to the looped form's. If you look at my original code, I ac

Re: Seeking design guidance on a Team model where a user sends invitation to other users to join the team

2017-11-27 Thread Jack
(serverResponse_data) { > console.log('replyThread success: ' + serverResponse_data); > $('#message_box').html( > "Message sent!"); > setTimeout(function () { > getThreadComments(serverResponse_data.split(':')[1]); // this reloads > the messages; you

Django - Paginate with another GET request; not working with just pagination page number

2017-12-06 Thread Jack
I'm building a page with pagination and a filter form (2 GET requests). If the URL includes both pagination and filter results, something like `/questions/?page=2&all_questions=on`, it works fine. It also works if it just has filter results, something like `/questions/?all_questions=on`. Howe

Single-page app with dynamic filtering - 2 options to proceed

2017-12-18 Thread Jack
I am building a real estate listings map, which dynamically refreshes its filter whenever the user moves the map. The page never refreshes when a change is made. Think Zillow/Trulia

DJANGO NOT FOUND

2017-12-23 Thread Jack
Hi, i've installed on my ubuntu 16.04 LTS python3.6 and django but django i have installed with pip3 and usign virtualenv, but it is ok by console, the problem is in eclipse, i installed python, it is OK, but at the moment of creating a django project, it drops a message, django not found, i've

Converting GeometryField to MultiPolygon using GeoDjango?

2018-06-13 Thread Jack
I am trying to add a bunch of school boundary files into the database. The boundary files are inconsistent. They are processed by `DataSource` as either `Polygon`, `MultiPolygon`, or `GeometryCollection`. Converting `Polygon` into `MultiPolygon` is fairly simple using this solution

Re: Converting GeometryField to MultiPolygon using GeoDjango?

2018-06-13 Thread Jack
See original question on Stack Overflow for better formating. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this gro

Integrating raw SQL and model objects

2009-02-02 Thread Jack Orenstein
ke manual construction of model objects difficult. I must be doing something wrong -- forcing creation of the related objects seems wasteful, especially as it could propagate, (if the referenced object has its own FKs). Jack Orenstein --~--~-~--~~~---~--~~ You rece

Re: Integrating raw SQL and model objects

2009-02-03 Thread Jack Orenstein
field containing the related > value > (not the referred-to instance). For example, with a ForeignKey field > called "foo", you can create a model with foo_id=6 or whatever, to set > the appropriate element. Excellent, thanks. Jack --~--~-~--~~~-

Adding fields to model objects that don't correspond to database state

2009-02-08 Thread Jack Orenstein
und with subclassing, e.g. class FooBase (models.Model) ... class Foo(FooBase) but couldn't get that to work. How can I add a field to the Foo class that doesn't come from the database? Jack Orenstein --~--~-~--~~~---~--~~ You received this messa

Django database connections

2009-02-14 Thread Jack Orenstein
returned to a pool? Can the pool be configured, (e.g. to set the postgres search_path)? Sorry to ask such basic questions, but I've been unable to find this information documented. Jack Orenstein --~--~-~--~~~---~--~~ You received this message because

Customizing HTML

2009-02-26 Thread Jack Orenstein
after', and 'in_between'? These could default to what RadioFieldRendered does, but I could also substitute my own. Jack Orenstein --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users&qu

Re: Customizing HTML

2009-02-26 Thread Jack Orenstein
On Feb 26, 2009, at 9:44 PM, Alex Gaynor wrote: > On Thu, Feb 26, 2009 at 9:42 PM, Jack Orenstein > wrote: > > Suggestion: Instead of hardwiring formatting into Django, allow > attributes to specify formatting. E.g., here is the minimal HTML for > radio buttons fo

Re: Customizing HTML

2009-02-26 Thread Jack Orenstein
On Feb 26, 2009, at 10:04 PM, Alex Gaynor wrote: > > > On Thu, Feb 26, 2009 at 9:56 PM, Jack Orenstein > wrote: > > > value="m" name="gender" /> male > value="f" name="gender" /> female > > > I want to get rid

Location of files that are part of my application

2009-03-03 Thread Jack Orenstein
hould be somewhere under the application directory. Suppose I put them in APPLICATION_NAME/resources -- how would I then refer to these files? I obviously don't want to code an absolute path into my application. Jack --~--~-~--~~~---~--~~ You received th

Re: Location of files that are part of my application

2009-03-03 Thread Jack Orenstein
I can discover the context to specify an absolute path. Jack On Mar 3, 2009, at 4:58 PM, Briel wrote: > > Django makes python aware of your app folder when you install the app > so you can just do: > > from appname.resources.filename import function > > That should

Problem getting application to run with Apache2 and wsgi

2009-03-20 Thread Jack Orenstein
RL, , didn't match any of these. What am I doing wrong? Jack Orenstein --~--~-~--~~~---~--~~ 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@googleg

Problem with Field errors

2009-03-28 Thread Jack Orenstein
een set, right before the render_to_response call containing the form. I'm guessing that this has something to do with the fact that the form already passed the is_valid check. How can I force the form to become "invalid" again, once my own va

Re: Problem with Field errors

2009-03-28 Thread Jack Orenstein
On Mar 28, 2009, at 12:26 PM, Daniel Roseman wrote: > > On Mar 28, 4:14 pm, Jack Orenstein wrote: >> My application needs to validate data from a from beyond the >> validation of Fields done by django. So in my form handler, I check >> Form.is_valid, and if that return

Re: Problem with Field errors

2009-03-29 Thread Jack Orenstein
On Mar 29, 2009, at 9:35 AM, Matthew Somerville wrote: > > Jack Orenstein wrote: >> On Mar 28, 2009, at 12:26 PM, Daniel Roseman wrote: >> >>> On Mar 28, 4:14 pm, Jack Orenstein wrote: >>>> My application needs to validate data from a from beyond the >&

Serving static content

2009-03-30 Thread Jack Orenstein
, I'm using mod_wsgi. Is the procedure pretty close to that of mod_python? 3) Why exactly is the builtin django method insecure? Thanks for any help. Jack Orenstein --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: database schemas support for postgresql psycopg2

2009-05-29 Thread Jack Orenstein
... > Does anybody have a solution for using django with more than one > schema in postgresql? I don't use the django ORM, but running the postgres command 'set search_path = some_schema,public' works for me. This sets the schema search path onl

Re: unbound method get_profile()

2007-07-24 Thread Jack Woods
Works! New to Django/python, and you just solved an hour's worth of head trauma. Thanks Russ! On Jul 25, 2:33 am, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On 7/25/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > def profile(request): > > template_name = 'user_profile

User Registration Form

2007-07-25 Thread Jack Woods
Hey again, I don't want to abuse the group, but I'm stumped again. I'm trying to render a form, but the (supposedly) auto-generated form fields aren't showing up. Here's part of register.html: UserName: {{ form.username }} Email: {{ form.email }} Password: {{ form.password1 }} Password

Problem creating a model instance with data captured from an URL in a View

2008-02-02 Thread Jack Oswald
either. What did work was this: p= icalEvent() p.summary = summary p.location = location … Seems odd to me. Jack No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.19.18/1255 - Release Date: 2/1/2008 9:59 AM

i18n issues.

2008-05-29 Thread Jack M.
Hello, all. Forgive me as I'm still fairly new to django, but I'm having some issues getting i18n running, and I can't seem to find any help in the online docs. I've read chapter 18 (i18n) of djangobook.com, and chapter 10 relating to RequestContext. I've also read the docs on djangoproject.com

Re: i18n issues.

2008-05-30 Thread Jack M.
Holy crap I'm an idiot. Thanks, Ramiro, you hit the nail on the head. I've been using sp for spanish for so long I completely spaced that it is incorrect usage. Once I switched to es everything worked. Another one chalked up to PEBKAC. Thanks, -Jack On May 29, 3:54 pm, "

Re: Users getting logged out/cookie issues?

2008-05-30 Thread Jack M.
I'm fairly new to django, and I don't know it's intricacies very well, but common sense says: 1. Are they changing domains? Maybe logging in on mydomain.com and being redirected to www.mydomain.com ? 2. Are they hopping IP addresses in the middle of their session? Common for larger corporatio

Re: url help

2008-05-30 Thread Jack M.
Forgive me if this is a little off but, to have the argument passed into the view, you'd want to use some different regexp: (r'^shows/(\w+)','ubermicro.shows.views.show_page'), is what I would suggest. This will put the show requested as a string, into the view: def show_page(request, show): So t

Free cPanel web hosting for your Domain! 100 MB Web Space

2007-05-17 Thread jack nicole
Free cPanel web hosting for your Domain! 100 MB Web Space + Email + MySQL Database + FTP Access & More - http://offr.biz/HLHCM276377ZTPYJEK --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post

earn $10 atleast everyday!!!no hassles as easy as cliking ur mouse buttons

2007-05-17 Thread jack nicole
*THE NEXT BIG INTERNET WAVE ….. * * * *VERY HOT* Hi everyone! 100% FREE,Get Paid To Surf The Net Ride The Next Big Internet Wave This note is mainly to offer you a chance to help build AGLOCO – it is a Member-owned Internet community. If you haven't yet heard about AGLOCO, you need to listen up

Make $0.45 - $0.75 per Hour Just For Leaving your Computer On!

2007-05-17 Thread jack nicole
This is an awesome program. Monthly Payouts to e-gold, Stormpay, and PayPal between the 1st and 15th of each month. The autosurf program will go dead every 4 hours or so, but you can log back on right away. Don't wait, start surfing today, I made $50 in a week already. That is with not su

Call or Send SMS to any phone anywhere in the world Free!

2007-05-17 Thread jack nicole
Call or Send SMS to any phone anywhere in the world Free! - http://offr.biz/HLGB7276377ZTPYJEK --~--~-~--~~~---~--~~ 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@go

Win cash Rs.5,000.

2007-05-17 Thread jack nicole
Win cash Rs.5,000. SMS BLUFF to 7333 (India Only) Free registration! - http://offr.biz/HLDDT276377ZTPYJEK > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dj

How to make pydev suport django specific syntax?

2011-08-19 Thread smith jack
for example, django have some dynamic mechanism, the code can be processed wel by django, but pydev will just simply show some error message, how to make pydev deal with such dynamics? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to t

why i cannot load css from django lib?

2011-08-20 Thread smith jack
face a strange problem, now i am using django.contrib.admin module with its default page, but i cannot load css code now, so the web page is ugly what's wrong? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: why i cannot load css from django lib?

2011-08-21 Thread smith jack
Order allow,deny > > Allow from all > > > > #2 slashs > > SetHandler None > > > > > > SetHandler None > > > > 2011/8/21 smith jack >> >> face a strange problem, now i am using django.contrib.admin module >> with its

can django be used in destop application?

2011-08-23 Thread smith jack
i mean not use django for web site development, but for desktop application, it seems its orm can be used in destop application, isn't it? -- 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@googlegr

Re: Getting a count of a RawQuerySet object

2011-09-21 Thread Jack Morgan
del Utility, you can do > Utility.objects.all().count() > Hope that helps. > Regards. > Sent from my BlackBerry wireless device from MTN > > -Original Message- > From: Jack > Sender: django-users@googlegroups.com > Date: Wed, 21 Sep 2011 09:10:49 > To: Django user

Doing a relationship lookup from within a model.

2011-10-18 Thread Jack Morgan
I've got 2 tables that are related to each other. Orders and History. Inside the History table is the 'status' column. Like so.. class Orders(models.Model): 'order info' class History(models.Model): timestamp = models.DateTimeField(auto_add_now = True) order = models.ForeignKey(Orders)

Hiring Django developers

2013-05-16 Thread Jack Hanna
at j...@fintoo.com , attach your resume and put "Django developer & your location" in the subject line. If you have additional questions feel free to message me at jha...@fintoo.com. Regards, Jack Hanna -- You received this message because you are subscribed to the Google Gro

How to change the schma of database using python manage.py syncdb?

2011-08-18 Thread smith jack
for example at first i have a model named url, the code is as follows: class url(models.Model): link=models.URLField(unique=True) then i change this class as follows: class url(models.Model): link=models.URLField(unique=True) hits=models.IntegerField() at last, i use command pyt

django 1.7 migration generates wrong column name for foreign key to a one-to-one model

2015-02-10 Thread Jack Peng
rofile" ("id") DEFERRABLE INITIALLY DEFERRED Traceback (most recent call last): File "/home/jack/Envs/envp1/lib/python3.4/site-packages/django/db/backends/utils.py", line 66, in execute return self.cursor.execute(sql, params) psycopg2.ProgrammingError: column "id&

"Authenticating Users" where should I put the code?

2014-03-06 Thread Jack Yan
in the tutorial and section "Authenticating Users": https://docs.djangoproject.com/en/1.6/topics/auth/default/ where can I put code: from django.contrib.auth import authenticateuser = authenticate(username='john', password='secret')if user is not None: # the password verified for the user

Re: "Authenticating Users" where should I put the code?

2014-03-06 Thread Jack Yan
Thank you :) On Friday, March 7, 2014 12:13:26 AM UTC+8, Felipe Coelho wrote: > > 2014-03-06 11:45 GMT-03:00 Jack Yan >: > >> in the tutorial and section "Authenticating Users": >> https://docs.djangoproject.com/en/1.6/topics/auth/default/ >

Django 1.11 - Best Datepicker to use?

2017-10-21 Thread Jack Zhang
I'm looking for a datepicker widget to use for a DateTime form field. I searched around and most of the answers were old Stack Overflow posts from 2011 about hacking the calendar datepicker widget from Django's Admin. The information about that was inconclusive and I couldn't get mine to work.

Generating a unique 10 digit ID for each model instance

2017-10-22 Thread Jack Zhang
Let's say I have a model called 'Dogs'. Users can create instances of Dogs. For every Dogs instance that is created, I want to assign a globally unique ID to it. The ID will be 3 capitalized letters followed by 7 numbers. E.g. ABC1234567, POZ2930193 What is the easiest way to go about doing

Re: Generating a unique 10 digit ID for each model instance

2017-10-22 Thread Jack Zhang
es the unique ID field. See > https://docs.djangoproject.com/en/1.11/topics/signals/ > > Best regards, > > Andréas > > 2017-10-22 17:52 GMT+02:00 Jack Zhang >: > >> Let's say I have a model called 'Dogs'. Users can create instances of >&

Re: Generating a unique 10 digit ID for each model instance

2017-10-22 Thread Jack Zhang
tabase usually handles this and you don't need to worry, there are > many corner cases and DB systems are able to handle them > > But they won't look like whatever format you would like, usually it is > just a number > > Why do you need the IDs to look like that? > &

Building a search form with 4 required choices, which will be inserted as arguments in an URL [warning: long question]

2017-10-23 Thread Jack Zhang
This is a semi-long question. Please let me know wherever I make a mistake. I'm building a search form with 4 required choices, 1 of the choices is a CharField with a max_length of 3. The other 3 choices are ChoiceField's. Here is a picture of what the search form looks like:

Re: Generating a unique 10 digit ID for each model instance

2017-10-23 Thread Jack Zhang
= random_letter) On Monday, October 23, 2017 at 4:32:28 AM UTC-4, James Schneider wrote: > > > > On Oct 22, 2017 8:52 AM, "Jack Zhang" > > wrote: > > Let's say I have a model called 'Dogs'. Users can create instances of > Dogs. For every Dogs

Automatically assign model instance to the user who created it. And only that user can edit/delete the instance.

2017-10-24 Thread Jack Zhang
Let's say I have a model called 'Dogs'. Users can create instances of Dogs. Let's say we have a user called User1. I have 2 questions: 1. When User1 creates an instance of Dogs, how do I automatically assign that instance to User1? I tried using a model field like this but it doesn't pick t

Re: Automatically assign model instance to the user who created it. And only that user can edit/delete the instance.

2017-10-24 Thread Jack Zhang
ry that in your views > > form = Dog_Form(request.POST) > if form.is_valid(): > form_save = form.save(commit=False) > form_save.user = request.user # user is logged in > form.save() > > > On Tue, Oct 24, 2017 at 7:37 PM, Jack Zhang > wrote: > >>

Re: Django - Pass a model instance specified by template tags to the view

2017-11-09 Thread Jack Zhang
No I am not familiar with Ajax. I only know a bit of JavaScript. ᐧ On Thu, Nov 9, 2017 at 6:19 PM, Adam Simon wrote: > > Hi Jack. I will write some more details when I get home. Have you ever > used Ajax? > > On Thu, Nov 9, 2017 at 3:14 PM Jack wrote: > >> Ok I

I need adding records within another model

2019-03-13 Thread Jack Gonzales
Hi everyone, i have two classes in my model.py, this system is for registering the payments of an account, for instance, a client is lent 1000 dollars and that account has an ID, each loan has an ID and what i want is when the client makes the payment of his fees i can register each ammount and

python manage.py runserver error

2019-07-13 Thread Jack Bergemann
(venv) C:\Users\Chas\rp-portfolio\personal_portfolio>python manage.py runserver Watching for file changes with StatReloader Exception in thread django-main-thread: Traceback (most recent call last): File "C:\Python37\lib\threading.py", line 926, in _bootstrap_inner self.run() File "C:\Pyth

Need help modifying form on intermediate page of admin action

2017-07-29 Thread Jack Twilley
rt_description = "Move multiple jars to new crate" admin.site.register(Jar, JarAdmin) I don't know if it helps, but this is the content of admin/move_multiple_jars.djhtml: {% extends "admin/base_site.html" %} {% block content %} Moving multiple jars from crate {{ crate.

Re: Need help modifying form on intermediate page of admin action

2017-07-29 Thread Jack Twilley
jars, but that seems inelegant. Jack. On Saturday, July 29, 2017 at 10:24:02 PM UTC-7, mark wrote: > > You might find one of these helpful - > > https://github.com/digi604/django-smart-selects > > https://github.com/yourlabs/django-autocomplete-light > > Basically, you want

Getting my head around ForeignKey, One-To-Many and Many-To-Many.

2017-09-13 Thread Jack Razors
I am creating a mindmap visio-like editor website using d3js and a bunch of custom javascript. Rather than the schema/stencils being populated by static JSON files, I wanted to create an administration area to edit the schema without requiring JSON kung-fu skills and serve the dynamically gene

Re: Best Django Rest Framework Tutorial??????

2020-06-10 Thread Jack Lin
DOCUMENTATION 在 2020年6月11日 於 上午2:58:42, chaitanya orakala (chaitu.orak...@gmail.com) 寫下: can anyone please respond ?? On Wed, Jun 10, 2020 at 9:51 AM Sai wrote: > Hi djangoians, > I want to learn django rest framework, may i please know which is best > resource in online market or any

Re: Getting 500 error on ASO

2015-12-13 Thread Jack Maxwell
I've got the same problem to configure my Shared Host on QHoster, using fastCGI. I didn't find a valid tutorial so far. my config: /home/username/ | /public_html/.htaccess | /index.fcgi |-/mydjangoVirtualEnv |-/MyDjangoProject_SR

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

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

Re: django website hosting

2018-08-27 Thread victor jack
Check out the documentation on digital ocean On Sat, 25 Aug 2018 15:36 ERICK OMONDI AYARA, wrote: > I would like to host a django project onto a web domain but cant seem to > get around it. i cant also find the python setup on the SOFTWARE section of > my file manager. Is there a way to do this

Re: __init__.py Won't Upload To Github Respository

2018-09-02 Thread victor jack
Thanks for the link stephen , really much appreciated. On Sat, Sep 1, 2018 at 7:59 PM Stephen J. Butler wrote: > GitHub has an excellent set of gitignore files. My first commit to a > project is always one of these: > > https://github.com/github/gitignore > > In particular: > https://raw.githubu

Re: creating virtualenv for django but i get import zlib module error what could be the problem

2018-09-02 Thread victor jack
from the error message , i think you need to install the package zlib and import it. On Sat, Sep 1, 2018 at 2:31 PM Lutalo Bbosa joseph wrote: > raceback (most recent call last): > File "/usr/local/bin/virtualenv", line 9, in > load_entry_point('virtualenv==15.0.1', 'console_scripts', >

Re: How can I get back my English pages (multi-lingual site updated from en to en-us)

2018-09-02 Thread victor jack
https://docs.djangoproject.com/en/2.0/topics/i18n/ check this out, but i don't think changing language_code from en to en-us is the problem. On Sat, Sep 1, 2018 at 2:31 PM Leo Treasure wrote: > Hello, > > I've needed to update the settings.py file LANGUAGE_CODE = 'en' to 'en-us' > which has res

Re: text editor

2018-09-02 Thread victor jack
More like vim and vs code are the best editors On Sun, 2 Sep 2018 06:51 RONAK JAIN, wrote: > Atom is best editor. > > On Sun, 2 Sep 2018, 11:11 a.m. sankar ardhas, > wrote: > >> >> Hi to all, >> Which is the best editor for django framework in Ubuntu os >> 18.04 >> >> Get Outlook f

Re: How can i modify the base_site.html Template?

2018-09-03 Thread victor jack
Do u want to customise the admin page to be different from the default one django provides? On Mon, 3 Sep 2018 8:04 AM , wrote: > Hello, i want to change de title and the default text in the header of the > Django-Admin site but i don´t know do that. > > -- > You received this message becau

Re: How can i modify the base_site.html Template?

2018-09-03 Thread victor jack
*Ok i see, you create an admin folder in your template folder then create a base_site.html and an index. html file , these file will contain your custom feature ,then when you runserver the new admin site will be rendered from there(admin ) folder. I hope this helps.* On Mon, Sep 3, 2018 at 7:58 PM

Re: NoReverseMatch at /catalog/author/1

2018-10-08 Thread victor jack
:06:08 AM UTC+5:30, victor jack wrote: >> >> Hello guys, i am in dire need of any django user's knowledge, i have this >> issue that has been bugging me literally in my codebase. I want to render a >> html page but the error keeps on coming, i have tried bu

Re: NoReverseMatch at /catalog/author/1

2018-10-08 Thread victor jack
> > > On Tuesday, October 9, 2018 at 12:52:28 AM UTC+5:30, victor jack wrote: >> >> >> Thanks Manjunath, i will post two screen shots of the templates >> On Saturday, October 6, 2018 at 7:25:50 AM UTC+1, Manjunath wrote: >>> >>> Seems like you are

Re: NoReverseMatch at /catalog/author/1

2018-10-08 Thread victor jack
pk has value? >>>> can you send the model definition of Book & Author to verify? >>>> Or you can verify yourself by using django Shell. >>>> >>>> >>>> On Tuesday, October 9, 2018 at 12:52:28 AM UTC+5:30, victor jack

Re: NoReverseMatch at /catalog/author/1

2018-10-08 Thread victor jack
Your application'software URL is not mapped correctly , from the error page it is only the admin that can be loaded . On Tue, 9 Oct 2018 6:40 AM Pradeep Singh, wrote: > > > On Mon, 8 Oct 2018 at 22:30, victor jack wrote: > >> screenshot of the error message Singh will

Re: NoReverseMatch at /catalog/author/1

2018-10-09 Thread victor jack
10:51:13 AM UTC+5:30, victor jack wrote: >> >> Will check it out . Thanks for your input very much appreciated >> >> On Tue, 9 Oct 2018 6:17 AM Manjunath, wrote: >> >>> Hi Victor, >>> Are you sure book.author.pk has value? >>> can you send t

Creating an app that generates static files

2019-10-17 Thread Jack Sundberg
ething simple I'm missing. -Jack -- 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 view

Re: Creating an app that generates static files

2019-10-17 Thread Jack Sundberg
tes a *.gltf and *.bin) - the app serves the html template with the generated static files embedded inside the Is this helpful? Also thank you for the quick response. I really appreciate the help. -Jack On Thursday, October 17, 2019 at 10:56:56 AM UTC-4, vineet daniel wrote: > > This problem

Re: Creating an app that generates static files

2019-10-17 Thread Jack Sundberg
> when sessions data hits a certain threshold, I can call django.contrib.sessions.clearsessions which will delete expired session entries in the database > pull out which entries were deleted and then delete the corresponding tmp/[session_id] directory Is that the best way to

Re: Creating an app that generates static files

2019-10-18 Thread Jack Sundberg
them as well. > > On Fri, 18 Oct 2019, 14:29 vineet daniel, > wrote: > >> Dont forget inode and files limit if you are creating too many files real >> quickly. >> >> On Fri, 18 Oct 2019, 13:15 James Gutu, > >> wrote: >> >>> Jack, >>>

Re: Complete book

2019-10-22 Thread victor jack
Thanks a lot for sharing > On 19 Oct 2019, at 15:09, ISAAC NELSON S.B. KARGBO > wrote: > >  > Try this one out > >> On Sat, Oct 19, 2019, 13:47 Md Nayem Tushar wrote: >> Have any easy and properly complete book in django? pls ans me >> -- >> You received this message because you are subscr

Serving non-referenced static files

2019-10-29 Thread Jack Sundberg
7;) STATIC_URL = /static/ This isn't working for me though, and I think I'm using the static() function incorrectly. Could someone offer some guidance on how to set this up for development testing? Thanks in advance, Jack -- You received this message because you are subscribed to th

  1   2   >