text:
Q: Django form dispatch method : value error : view returned None instead of HttpResponse What I want to do :
I am checking if user is from "support" group before he can view the page. If not I want to show proper message in response page to user.
I have group_required decorator applied on dispatch() method of view that checks if user is from support group or not.
I have tried :
https://stackoverflow.com/a/29744943/2286762
but still getting the ValueError.
my code
view.py
class ScheduledTestView(FormView):
    '''
    Provides an admin panel interface for creating scheduled tests.
    Scheduled test will be created as active=False intially.
    '''
    serializer_class = TestShortSerializer
    template_name = 'admin/scheduled_test.html'
    form_class = ScheduledTestForm

    @method_decorator(group_required(['support']))
    def dispatch(self, request, *args, **kwargs):
        return super(ScheduledTestView, self).dispatch(request, *args, **kwargs)

group_required function
def group_required(group_names):
    """
     group_name will be the list of group name
    """
    def decorator(func):
        @wraps(func, assigned=available_attrs(func))
        def inner(request, *args, **kwargs):
            user = request.user
            if user.is_authenticated():
                if (user.groups.filter(name__in=group_names) and user.is_staff) or user.is_superuser:
                    return func(request, *args, **kwargs)
                return redirect_to_login('/admin/')
        return inner
    return decorator

Error

GET
  Request URL:    http://localhost:8000/admin/support/scheduled_test/
Django Version:   1.8.4
Exception Type:    ValueError
Exception Value:
  The view support.views.ScheduledTestView didn't return an HttpResponse object. It returned None instead.
Exception Location:    /home/kishan/.virtualenvs/kishan_pal/local/lib/python3.4/site-packages/django/core/handlers/base.py in get_response, line 151

A: As @Daniel Roseman mentioned in his comment below your question. If user is not authenticated then inner does not return any response whereas it should return redirect_to_login('/admin/') in that case.
So changing
def inner(request, *args, **kwargs):
    user = request.user
    if user.is_authenticated():
        if (user.groups.filter(name__in=group_names) and user.is_staff) or user.is_superuser:
            return func(request, *args, **kwargs)
        return redirect_to_login('/admin/')

to
def inner(request, *args, **kwargs):
    user = request.user
    if user.is_authenticated():
        if (user.groups.filter(name__in=group_names) and user.is_staff) or user.is_superuser:
            return func(request, *args, **kwargs)
    return redirect_to_login('/admin/')

should resolve the issue. See the difference return redirect_to_login('/admin/') is outside the if block.


text:
Global "Home of Project controls".
ProjectControlsOnline ("PCO") is the largest repository of Project Controls knowledge and information. We started in 2009 and have grown from strength to strength, achieving a presence in 7 continents and over 190 countries. We are the first point of call for Project Controls providers and consumers, as the go to place for the exchange of information on a cross-industry global scale.
PCO Premium Features
Paperback Literature
Jobzone
Please understand this site is continually expanding, with new pages being added or amended daily. For this reason, we encourage you to keep coming back to PCO, as content changes and grows at a remarkable rate! Another way to stay informed of updates at PCO is to monitor our Internal News section on regular basis.
Project Controls Online was formed in 2009 and is managed by a collective of experienced project controls professionals from around the world. There is a core team and board of advisors with their assistance, Project Controls Online boasts an impressive group of experts whos knowledge spans the entirety of the project controls sector. We pride ourselves on being independent and always follow an objective approach to all who we work with.
Please visit following links to know more about us.
To be the first choice of all Project Controls stakeholders -- providers and consumers
To promote a universal understanding of Project Controls value and processes
To develop a central repository of data on Project Controls
To generate awareness and offer expert guidance on Project Controls tools & practices.
To build the first exclusive network of genuine Project Controls practitioners and their customers.
Anil Godhawale
Director - ProjCon, UK
gm fb tw in
Anil Godhawale : Anil has over 16 years of international field and office experience in Project Planning & Scheduling, Cost Engineering, EVA, Risk and Delay Claims Analysis with project values ranging from $10M to $1.5B. Anil has a strong Project Controls background and has worked in all phases of projects in various sectors including Petroleum & Chemicals, LNG regasification & liquefaction facilities, Carbon Capture Units, Power Projects and Pipelines.
Anil has contributed to several books on planning and scheduling and is also very active with industry professional associations as a fellow of ACostE (UK), a member of AACEI (USA), a member of APM Special Interest Group (SIG) - PMC (Planning, Monitoring and Control) and a contributor to APM's "Planning Guide". Through AACEI Anil is certified as a Certified Cost Engineer (CCE) and a Planning and Scheduling Professional (PSP) and is a registered member (IEng) of the Engineering Council UK. Anil also assisted CIOB (Chartered Institute of Buildings), UK as member of TDWG (Training Development Working Group) to develop guidelines for accreditation in Time Management. He has various publications under his name and the most widely acknowledged was "Technical paper on Capital Cost Optimization of Power Project through standardization of engineering design" submitted to AACEI in Y2003. Anil holds a degree in Mechanical Engineering and an MBA in Finance Management.
Bruce Bradley
Director of Estimating - Shaw Group, USA
Bruce's professional career has entirely served the Engineering / Procurement / Construction / Maintenance industry, specifically in the Petroleum, Petrochemical and Chemical markets. Have accumulated over thirty years experience in Estimating for both domestic and international projects. Began career with Jacobs Engineering in 1980, started at Litwin Engineers & Constructors in 1987, moved to Fluor in 1996 and started at The Shaw Group in April 2010. Personal growth has been augmented through increasing responsibilities of specific assignments and department management. Estimating capabilities have ranged from conceptual/rough order of magnitude to detailed/lump sum turn key.
Director - South East Asia, Turner & Townsend, Singapore
John has over 20 years of experience in various Project Controls functions with specialisation in Delay Analysis, Project Controls Management, Project Planning & Genetic Algorithms applied to Project Schedule Optimisation. Before joining Hill, John was associated with Worley Parsons (Manager of Project Services, Western Australia), CB&I (Director of Project Controls, EAME region), SNC Lavalin (Engineering Manager and Project Manager, Johannesburg) to name a few.
John has done his MSc and Phd and currently pursuing his LLM in Construction Law and Arbitration at RGU. He is also a CEng (Chartered Engineer) with Engineering Council (EC) UK and holds a FACostE with ACostE (Association of Cost Engineering), UK .
Jhirad
Asst. Vice President, Engineering Division - Reliance P&TL, India
Johannan is in the Project Management / Project Controls Management profession since early 1980s. He has shouldered these responsibilities based from West Asia, Western Europe and Mumbai in India. He has so far completed over 50 projects in various roles with outlays of USD 10 Million to USD 10 Billion for EPC projects for Refineries, Petrochemicals, Chemical Plants, Infrastructure and Software and has a record number of on or ahead of schedule completions to his credit. He has been previously associated with well-known companies like BecRel (MOU JV of Bechtel and Reliance Industries Limited), Aker, Tecnimont, UHDE, Chemtex, Bateman and Dorr-Oliver. Specializations include Timely Project Completions, Development of Cutting-edge software for better Project Management / Controls, Change Management, Human Factors in Projects and effective Project Reporting to trigger actions.
Johannan has done his B.Tech. in Chemical Engineering from Indian Institute of Technology, Bombay and has Post-graduate education in Advanced Computer Software, Finance and Management. He is also a member of LinkedIN, AACEi and PMI
Pedram Danesh-mand
Head of Planning & Risk - UGL Infrastructure, Australia
With a successful record of executive positions with high profile companies, Pedram has considerably contributed to the planning and risk disciplines of a number of infrastructure and major projects across Australia and overseas. He is also an industry Innovation Award Winner from Road & Traffic Authority (RTA) and Leighton Contractors for his exceptional knowledge and practical applications of statistics and Primavera solutions for project time and risk management. Currently as the Head of Planning & Risk with UGL Limited, Pedram is leading project planning and risk management function to engineering line of business in the planning, estimation, management and delivery of UGL's wide range of projects across Water, Power Generation, Power Systems, Coal, Iron Ore, LNG/Oil & Gas and Nitrates from bid to close.
Project Controls Manager - Technip, France
Herve has total of 15 years experience in Project Management in Oil & Gas industry as Project Manager, Contract Manager, Engineering Manager, Field Engineering Manager, Project Engineer, Process Engineer and Project Controls Manager. His experience is in Onshore & Offshore O&G plants, Grassroot & Revamping for ExxonMobil, GAZPROM, SNAM, TOTAL. His specialties are Project Management, Engineering Management, EPC contract, Field Engineering, Onshore Projects, Offshore Projects, Oil and Gas, Oil and Gas Engineering, Contract Management.
Murray Woolf
President - ICS Global, USA
Murray with over 25 years of experience under his belt is globally respected Project Controls professional for his authority on Construction scheduling practices. He currently heads ICS-Global, International Center for Scheduling, Inc, providing a wide variety of products and services of importance to construction Scheduling Practitioners, and their customers. He is also a author of : "Faster Construction Projects with CPM Scheduling (McGraw-Hill, 2007), the #2 construction scheduling book according to Amazon.com. In past he was associated with PMI - College of scheduling as Director of Scheduling Excellence Initiative. Murray is also a frequent lecturer and author on various scheduling topics along with creator of Momentum Management & Dilemma Forecasting.
Mark Cundiff
President - Gray Construction Consulting & Associates, USA
Mark has over 30 years of office & field experience in estimating, bidding and managing large commercial, heavy civil, industrial, power, marine government construction projects along with construction dispute resolution. He has reviewed, analyzed & reported on a broad range of construction projects located in the U.S., Europe and the Middle East. His assignments include being chosen to lead a team of engineers and schedulers from the Storebaelt West Bridge JV partners located in Amsterdam & Nyborg Denmark performing a schedule impact analysis on a 13,000+ activity CPM network w/ narration that served as the foundation of the Joint Venture's successful claim. Mark has also participated in settlement negotiations, mediation and testified as an expert witness in AAA arbitration, ICC arbitration on separate cases in London and Paris, U.S. State and Federal Court and the Pennsylvania State Court of Claims.
Mark is considered as expert in Forensic Services covering review and analysis of the contract, estimate & budget; earned value; resourcing; CPM baseline schedule, updates and as-built; scope modification(s); productivity & inefficiency, CPM schedule analysis and case mgmt incldg discovery, document control, data bases and demonstrative exhibits
Dr. Paul D. Giammalvo
Senior Technical Advisor - PTMC, Jakarta Indonasia
Paul has over 35 years of experience and along with working with PTMC, is also an adjunct professor, Project and Program Management, at the SKEMA School of Business, Paris, France. www.skema.edu/en and develops and teaches graduate level curricula in Asset and Project Management for Western Australia University, Perth. www.blendedlearning.ecm.uwa.edu.au For 17+ years, he has been providing Project Management training and consulting throughout South and Eastern Asia, the Middle East and Europe. He is also active in the Global Project Management Community, serving as an Advocate for and on behalf of the global practitioner. He does so by playing an active professional role in the Association for the Advancement of Cost Engineering International, (AACE); Construction Specifications Institute (CSI) and the Construction Management Association of America, (CMAA). He also sits on the Board of Directors of the Global Alliance for Project Performance Standards (GAPPS), www.globalpmstandards.org, Sydney, Australia.
Dr. Benjamin Adesola
Director at Christ Royal Centre for Applied Cost Engineering, Nigeria
Benjamin has over 15 years of experience with MSc in Computer Integrated Manufacturing and Phd in Knowledge Engineering & Management from Cranfield University, UK. During his academic career, benjamin has worked on various theories such as Research Knowledge Elicitation Tools and Techniques, eXpert Process knowledge Analysis Technique (XPAT), Knowledge Model for Managing Schedule Disturbance in Steelmaking, Knowledge Model with a Decision Support Tool using Gensym G2 Expert System software and a paper based Tool to capture and reuse expert knowledge. He has also successfully validated XPAT techniques and tool with case studies. He has worked with Shell on various cost and schedule assignments and current heads a research center dedicated to Applied Cost Engineering and its training.
Paul E Harris
Director at Eastwood Harris Pty. Ltd, Australia.
Paul E Harris a director of Eastwood Harris since 1993 providing Programme and Project management consulting to companies in the areas of establishing and running programme and project controls systems. This has included assisting in the evaluation, selection and implementation of programme and project controls software, training and the running of programme and project controls systems with a strong emphasis on the integration of Oracle Primavera Inc and Microsoft Project software into corporate programme and project management systems.
Nader Samir
Contracts and Controls Manager at ASA, Egypt
Nader is an Egyptian Civil engineer with extensive experience in the field of Project Management including Claims Management, Construction Planning, Estimating and Value Engineering Studies. He is also registered as an expert in the Cairo Regional Center for International Commercial Arbitration (CRCICA).
Dhruva Sen
Sr. Program Expert & Consultant, India
Dhruva has over 23 years of experience covering railway projects (13 years) including 9 years in Metro rail projects, other infrastructure projects (4 years) and building projects (6 years) in India, across planning, design and construction functions. Key skills are planning, scheduling and monitoring; quantity and cost estimation, tendering and contract management. Can perform Project Controls for all system works, integrating civil, mechanical and electrical engineering activities. Also experienced in route alignment design; preparation of technical specifications and detailed Project reports. He has worked at feasibility, tendering, pre and detailed engineering and construction stages of projects. Since past 21 years he is associated with with a leading engineering consultancy firms of India.
Steve Wake
Director - Steve Wake Projects Limited, UK
Steve Wake is a management consultant, specialized in earned value project management. He provides advice, guidance, and training. He is the Chairman of the APM Earned Value Management Specific Interest Group and director of Steve Wake Projects, Ltd. He chairs, speaks, writes, and is an accomplished event organizer. He is seen as a UK expert and champion of the subject of earned value. He established reciprocity between the US ANSI EV Guideline and the UK APM Guideline.
Steve also chairs the APM SIG-Steering Group with oversight of all APM's SIG activity and strategy. He is a member of the APM Knowledge Directorate and participates on the APM Nominations committee. In 2009, he helped found the EVA-Europe initiative and chaired the first conference at CERN Geneva and he is a member of the core author group for the revision of the PMI Second Edition of the Practice Standard for Earned Value Management.
ProjectControlsOnline.com contributes a percentage of revenue each year to charity. This year the principal recipients of our donations are:
Great Ormond Street Hospital Children's Charity (www.gosh.org)
Great Ormond Street Hospital treats more than 90,000 patients each year - children suffering from the rarest, most complex and often life-threatening conditions. They receive the best medical care that money can buy, but the NHS funding cannot meet these ever-rising costs, and that's where the hospital's charity, GOSHCC, steps in. [Registered Charity no: 235825]
Aai Foundation (http://aaifoundation.org/)
Aai foundation is registered non-profit organisation in India whose mission is to catalyze socio-economic change in India through the education of underprivileged children. In addition to this, whenever possible, they also offer supprot to wider issues affecting their life such as health care, environment and socio-economic aspects. Anandvan (http://www.anandwan.in/)
Maharogi Sewa Samiti (MSS) is a nonprofit organisation in Central India helping socially retarded people to enhance their livelihood capabilities through self-discovery and empowering them to contribute back to the society.It was founded in 1949 by internationally known human rights activist Baba Amte, to better the plight of the marginalized leprosy patients and people with disabilities through treatment, training and active inducement in self managed communes. The unique approaches of individual development consists of helping the marginalized break free from the past and regain their lost sense of dignity by engaging in production oriented trades to let them live an economically productive life. MSS has a firm belief in giving a 'Chance' and not just charity to the socially outcasts who have lost sense of self-respect. It gives them opportunities to self discover the worth of their hidden ability and thus eliminate their dependence on others.
Vatsalyagram (http://vatsalyagram.org/)
Vatsalya Gram is an avantgarde alternative to women's shelters and orphanages simply because this is the only facility in the world where underprivileged children and women of every age live together as families and form enduring relationships as parents and siblings – thus eliminating the very need for orphanages and homes for women. Each Vatsalya family comprises seven children, a mother, an aunt, and a grandmother living in the security of their own home. The womenfolk are conscientiously trained for their most important role, of parenting upto seven children per home. This unique arrangement gives children and women a sense of community, thus encouraging an emotional connection of love and trust without any distinction of caste, creed or race. In addition, every Vatsalya child is provided with quality education equipping them with life skills for a fuller and better life. This in turn gives them a purpose for living – to celebrate life in all its beautiful hues!
The Institute for Indian Mother & Child (IIMC) (http://www.iimcmissioncal.org/)
The Institute for Indian Mother & Child (IIMC) is a non governmental voluntary organization, committed to promote child & maternal health, literacy and to accelerate International solidarity & Peace. IIMC was initiated by Dr. Sujit Kumar Brahmochary and was set up in 1989, with the mission to give support to the medical needs of the poorest and most backward people of West Bengal, India; people who have no access to basic healthcare and medicinal facilities. Today, IIMC has expanded its activities to include Medical Program, Health Education & Health Promotion Program, Network Program, Education & Sponsorhip Program, and integrated rural developmental projects including women economical empowerment though Micro Finance Banking Program and agricultural program.
SOS Children's Village (http://www.sos-childrensvillages.org/about-sos)
SOS Childern's Village take action for children as an independent non-governmental social development organisation.They respect varying religions and cultures, and we work in countries and communities where our mission can contribute to development. We work in the spirit of the United Nations Convention on the Rights of the Child and we promote these rights around the world.
Friends of the Childern of Orissa (http://www.orissa.org.uk/)
Friends of the Children of Orissa are a small charity which was set up in 1992 to assist Palli Unnayan Seva Samiti (PUSS) in Orissa, who are still our main partner. In July 2012 we started a new project, to rescue runaway children from the railways.
For twenty years we have been supporting the children at the PUSS residential school near Bhubaneswar, the capital of Orissa, India's poorest state. There are now some 400 girls at the school; they have come from a variety of disadvantaged backgrounds. Some are children of sex workers, or of beggars, some are from leprosy colonies, and some were abandoned as babies. They get a good education and loving care at the PUSS school, and when they leave school they go on to further education, to formal employment and to other worthwhile occupations. We raise the funds for this through this website, through 'word of mouth' publicity, through fund-raising events, an annual classical music recital, and a variety of other means.
Our supporters include friends from Cranfield School of Management, from Filgrave near Milton Keynes, and from many other places in the UK and abroad.
Unlike many other 'big name' charities, we have no administration, transport, office or fund raising costs, in the UK or in India. Committee members and other supporters visit Orissa regularly on other work, and other expenses are covered by in-kind donations.
We are in the process of expanding this section with many other tools so keep checking this page more often..

redpajama_set_name: RedPajamaCommonCrawl


We have embraced every aspect of technology at The Boutique Real Estate Group here in Orange County, California, and we feel we have successfully digitized the real estate experience for our clientele. Most of our clients are finding us online. Most of our clients are seeing our listings online. So, it only makes sense that we need technology for real estate to survive. If our clients have instant access to data on their mobile devices, so should our agents. Everyone is head(s) down and focused on their phones and tablets. Everyone is in the moment, and we are now able to step into that moment and grab his or her attention.
Furthermore, our in-transaction platform of choice is Cartavi, which seamlessly has integrated the DocuSign platform for electronic signatures. Our agents have their own personal Transaction Concierge (TC) who is trained on DocuSign and Cartavi. It only makes sense to be able to store our clients' documents digitally, have access to them on our mobile devices, and then share the documents with all parties involved in the transaction. Our agents and TCs not only communicate digitally via DocuSign and Cartavi, but we are able to manage the most complicated of transactions with these two platforms. No more emailing huge files between escrow, lenders, title, buyers, sellers, and agents. We share our files through Cartavi.